cvs commit: src/lib/libc/stdlib malloc.3 malloc.c
jasone at FreeBSD.org
Sun Feb 17 09:09:25 PST 2008
jasone 2008-02-17 17:09:24 UTC
FreeBSD src repository
lib/libc/stdlib malloc.3 malloc.c
Remove support for lazy deallocation. Benchmarks across a wide range of
allocation patterns, number of CPUs, and MALLOC_OPTIONS settings indicate
that lazy deallocation has the potential to worsen throughput dramatically.
Performance degradation occurs when multiple threads try to clear the lazy
free cache simultaneously. Various experiments to avoid this bottleneck
failed to completely solve this problem, while adding yet more complexity.
Revision Changes Path
1.78 +1 -12 src/lib/libc/stdlib/malloc.3
1.165 +3 -209 src/lib/libc/stdlib/malloc.c
More information about the cvs-src