Description
The snapshot rate limit does not work correctly when set to values greater than 100 MB per second.
Currently, the snapshot transfer rate is limited by the BasicRateLimiter.
Testing shows that limiter is unable to give more than ~119 millions permits per second.
long dataSize = U.GB; BasicRateLimiter limiter = new BasicRateLimiter(dataSize / 2); int blockSize = IgniteSnapshotManager.SNAPSHOT_LIMITED_TRANSFER_BLOCK_SIZE_BYTES; long start = System.currentTimeMillis(); for (long i = 0; i < dataSize; i+=blockSize) limiter.acquire(blockSize); long totalSec = TimeUnit.MILLISECONDS.toSeconds(System.currentTimeMillis() - start); System.out.println("Speed= " + (dataSize / totalSec));
Attachments
Issue Links
- is related to
-
IGNITE-16072 Add configurable throttling for the snapshot process
-
- Resolved
-
- links to