[Bug libc/1541] Poor threaded application performance when using malloc
roland at gnu dot org
sourceware-bugzilla@sourceware.org
Tue Nov 1 08:05:00 GMT 2005
------- Additional Comments From roland at gnu dot org 2005-11-01 08:05 -------
Have you done any profiling to substantiate your analysis of why it is slower?
I see nothing in the kernel to suggest that brk preallocates zero-fill pages.
Your test program preallocates them in its early iterations and then reuses
those pages by freeing and allocating repeatedly, I would suspect. Profiling
would show the time spent in mmap/munmap syscalls vs spent faulting in pages,
for example.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |roland at gnu dot org
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=1541
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list