[ 
https://issues.apache.org/jira/browse/IGNITE-17407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17571795#comment-17571795
 ] 

Ignite TC Bot commented on IGNITE-17407:
----------------------------------------

{panel:title=Branch: [pull/10167/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10167/head] Base: [master] : New Tests 
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Basic 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=6698151]]
* {color:#013220}IgniteBasicTestSuite: 
BasicRateLimiterTest.checkSpeedLimitChangeMultithreaded - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6698260&buildTypeId=IgniteTests24Java8_RunAll]

> The snapshot rate limit does not work correctly when set to values ​​greater 
> than 100 MB per second.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-17407
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17407
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.13
>            Reporter: Pavel Pereslegin
>            Assignee: Pavel Pereslegin
>            Priority: Major
>             Fix For: 2.14
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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.
> {code:java}
>         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));
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to