Benchmarking with heavily-assymetric threads? (full message)

Ivan Krylov ivan at azulsystems.com
Thu Nov 19 10:15:14 UTC 2015


Hm, would you mind sharing a sketch of you benchmark?
Seems that you suggest the jmh changes thread priorities from what they 
would be without the harness.
Do you start all threads from one benchmark method?

Thanks,
Ivan

On 14/11/2015 22:14, Lev Serebryakov wrote:
> On 14.11.2015 19:59, Lev Serebryakov wrote:
>
>>   For example, when imbalance is 1:10, one iteration takes when it is
>> configured to be 10 seconds. When imbalance is 1:1000, I got *interrupted*
>> iterations. Results looks meaningless, too.
>   Another problem is stopping. If Writer thread is stopped first, here is
> possibility, that reader thread will block till timeout. And I've got
> this problem in the wild :(
>



More information about the jmh-dev mailing list