Hyperfoil icon indicating copy to clipboard operation
Hyperfoil copied to clipboard

Unexpected out of TLAB allocation of long[] during statistics reporting

Open franz1981 opened this issue 2 years ago • 1 comments

image

This is an allocation flamegraph while running a load test with https://github.com/Hyperfoil/Hyperfoil/pull/273#issuecomment-1420780557

The load gen client is supposed to be on steady state...is it supposed to happen @johnaohara ?

franz1981 avatar Feb 07 '23 13:02 franz1981

The clone seems related https://github.com/Hyperfoil/Hyperfoil/blob/c860779bc1938950e867c0075b4a7bc0e429d356/clustering/src/main/java/io/hyperfoil/clustering/RequestStatsSender.java#L40

while the other one seems related to https://github.com/Hyperfoil/Hyperfoil/blob/151b8c2b8be2c7baa0aa21a974095eae37d5ed57/core/src/main/java/io/hyperfoil/core/impl/statistics/StatisticsCollector.java#L49

Hence we do have heavy allocators running during the test (heavy not in term of number of allocation(s) it seems, but because we've already consumed TLABs):

franz1981 avatar Feb 07 '23 13:02 franz1981