[
https://issues.apache.org/jira/browse/DIRMINA-663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673743#action_12673743
]
Emmanuel Lecharny commented on DIRMINA-663:
-------------------------------------------
I tested the code on my linux box, and I don't have any pb so far.
time = 21:02:25.129
remaining = 2048
limit = 2048
capacity = 2048
time = 21:02:25.134
remaining = 6144
limit = 6144
capacity = 2097156
time = 21:02:25.134
remaining = 14336
limit = 14336
capacity = 2097156
time = 21:02:25.135
remaining = 30720
limit = 30720
capacity = 2097156
time = 21:02:25.136
remaining = 63488
limit = 63488
capacity = 2097156
time = 21:02:25.139
remaining = 129024
limit = 129024
capacity = 2097156
time = 21:02:25.139
remaining = 142848
limit = 142848
capacity = 2097156
time = 21:02:25.141
remaining = 208384
limit = 208384
capacity = 2097156
time = 21:02:25.143
remaining = 273920
limit = 273920
capacity = 2097156
time = 21:02:25.144
remaining = 286464
limit = 286464
capacity = 2097156
time = 21:02:25.148
remaining = 321792
limit = 321792
capacity = 2097156
time = 21:02:25.149
remaining = 354048
limit = 354048
capacity = 2097156
time = 21:02:25.150
remaining = 386816
limit = 386816
capacity = 2097156
time = 21:02:25.151
remaining = 420096
limit = 420096
capacity = 2097156
time = 21:02:25.153
remaining = 485632
limit = 485632
capacity = 2097156
time = 21:02:25.154
remaining = 489984
limit = 489984
capacity = 2097156
time = 21:02:25.154
remaining = 522240
limit = 522240
capacity = 2097156
time = 21:02:25.156
remaining = 554496
limit = 554496
capacity = 2097156
time = 21:02:25.157
remaining = 587264
limit = 587264
capacity = 2097156
time = 21:02:25.158
remaining = 620544
limit = 620544
capacity = 2097156
time = 21:02:25.159
remaining = 652800
limit = 652800
capacity = 2097156
time = 21:02:25.160
remaining = 685056
limit = 685056
capacity = 2097156
time = 21:02:25.161
remaining = 717312
limit = 717312
capacity = 2097156
time = 21:02:25.163
remaining = 749568
limit = 749568
capacity = 2097156
time = 21:02:25.164
remaining = 781824
limit = 781824
capacity = 2097156
time = 21:02:25.165
remaining = 814080
limit = 814080
capacity = 2097156
time = 21:02:25.169
remaining = 846848
limit = 846848
capacity = 2097156
time = 21:02:25.171
remaining = 912384
limit = 912384
capacity = 2097156
time = 21:02:25.172
remaining = 946176
limit = 946176
capacity = 2097156
time = 21:02:25.179
remaining = 981504
limit = 981504
capacity = 2097156
time = 21:02:25.180
remaining = 1015296
limit = 1015296
capacity = 2097156
time = 21:02:25.181
remaining = 1047552
limit = 1047552
capacity = 2097156
time = 21:02:25.182
remaining = 1079808
limit = 1079808
capacity = 2097156
time = 21:02:25.183
remaining = 1112064
limit = 1112064
capacity = 2097156
time = 21:02:25.184
remaining = 1144320
limit = 1144320
capacity = 2097156
time = 21:02:25.186
remaining = 1177088
limit = 1177088
capacity = 2097156
time = 21:02:25.187
remaining = 1242624
limit = 1242624
capacity = 2097156
time = 21:02:25.189
remaining = 1276416
limit = 1276416
capacity = 2097156
time = 21:02:25.190
remaining = 1310208
limit = 1310208
capacity = 2097156
time = 21:02:25.205
remaining = 1345536
limit = 1345536
capacity = 2097156
time = 21:02:25.207
remaining = 1410816
limit = 1410816
capacity = 2097156
time = 21:02:25.208
remaining = 1444608
limit = 1444608
capacity = 2097156
time = 21:02:25.209
remaining = 1478400
limit = 1478400
capacity = 2097156
time = 21:02:25.211
remaining = 1513728
limit = 1513728
capacity = 2097156
time = 21:02:25.213
remaining = 1559808
limit = 1559808
capacity = 2097156
time = 21:02:25.215
remaining = 1625088
limit = 1625088
capacity = 2097156
time = 21:02:25.216
remaining = 1658880
limit = 1658880
capacity = 2097156
time = 21:02:25.218
remaining = 1692672
limit = 1692672
capacity = 2097156
time = 21:02:25.220
remaining = 1758208
limit = 1758208
capacity = 2097156
time = 21:02:25.222
remaining = 1794048
limit = 1794048
capacity = 2097156
time = 21:02:25.223
remaining = 1827840
limit = 1827840
capacity = 2097156
time = 21:02:25.224
remaining = 1861632
limit = 1861632
capacity = 2097156
time = 21:02:25.226
remaining = 1895424
limit = 1895424
capacity = 2097156
time = 21:02:25.228
remaining = 1960960
limit = 1960960
capacity = 2097156
time = 21:02:25.229
remaining = 1993728
limit = 1993728
capacity = 2097156
time = 21:02:25.231
remaining = 2059264
limit = 2059264
capacity = 2097156
time = 21:02:25.239
remaining = 2097156
limit = 2097156
capacity = 4194304
frame size = 2097152
> CumulativeProtocolDecoder doDecode performance problem
> ------------------------------------------------------
>
> Key: DIRMINA-663
> URL: https://issues.apache.org/jira/browse/DIRMINA-663
> Project: MINA
> Issue Type: Bug
> Components: Filter
> Affects Versions: 2.0.0-RC1
> Environment: JDK 1.6.0_12 32-bit, Windows Vista 64-bit, MINA
> 2.0.0-RC1 (up to current date trunk).
> Reporter: Serge Baranov
> Priority: Critical
>
> To reproduce get the mina_test_2.0.zip from DIRMINA-609.
> It seems to be working even worse with the current trunk version, it takes ~5
> seconds between messages and then times out after the first message, if wait
> is increased to 10 seconds, it times out after the second message:
> time = 03:49:36.320
> remaining = 1024
> limit = 1024
> capacity = 2048
> time = 03:49:41.619
> remaining = 2048
> limit = 2048
> capacity = 2097156
> java.lang.AssertionError: No message received
> The issue differs from DIRMINA-609 as it affects not only large messages, but
> any message that doesn't fit into buffer (when doDecode returns false) and
> also all the subsequent messages (when doDecode returns true).
> It's a serious issue making CumulativeProtocolDecoder completely useless.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.