This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1541] Poor threaded application performance when using malloc
- From: "roland at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Nov 2005 08:05:12 -0000
- Subject: [Bug libc/1541] Poor threaded application performance when using malloc
- References: <20051025141150.1541.sjmunroe@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.