4 ms·
I wonder how many of the longer execution times are just thread pre-emptions?
by fisherjeff 4y ago
I wonder how many of the longer execution times are just thread pre-emptions?
- jeffbee 4y agoThe fact that all the allocators have the same tail performance suggests the measurement is polluted by something like thread preemption or processor power state transitions.
- forrestthewoods 4y agoThis is not correct. TLSF has a worst-case of about 30 microseconds. Second best is 200 microseconds, which is shared by 3 allocators (HeapAlloc, dlmalloc, and rpmalloc). Which implies something inside the OS call is occasionally very slow. TLSF is the only tested allocator that uses a pre-allocated pool and stays in user space. And it has noticeably better tail performance. https://www.forrestthewoods.com/blog/benchmarking-malloc-with-doom3/assets/img/percentile_alloc_zoomed_large.png https://www.forrestthewoods.com/blog/benchmarking-malloc-wit...