evaluate lea malloc-2.7.0

RESOLVED WONTFIX

Status

()

Core
XPCOM
P2
normal
RESOLVED WONTFIX
17 years ago
14 years ago

People

(Reporter: Chris Waterson, Assigned: shaver)

Tracking

Trunk
mozilla1.1alpha
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

17 years ago
From private email:

Hi; If you are still using prereleass, you might want to
grab the 2.7.0 release:
  http://gee.cs.oswego.edu/pub/misc/malloc.c

I suspect that it is marginally faster in mozilla than pre6.

Also, while I couldn't replicate your footprint tests (well, not
without more time to collect and cache pages, etc needed to do it
right), I did recheck the trace you put up. A plot of it (among others)
is at http://gee.cs.oswego.edu/dl/malloc-plots/index.html

-- Doug Lea

Updated

17 years ago
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.0
(Reporter)

Comment 1

17 years ago
Nominating for mozilla0.9. edward, could you please try to look at this? Also,
Doug may have ``fixed'' bug 73053 without forcing us to apply our own mods.
Blocks: 73053
Keywords: mozilla0.9
Bug 73053 is not covered by this bug or Doug's updates to 2.7.0 release.  I
suspect he's only tested the pthread code under Linux.
Reassigning to waterson (Chris, feel free to reassign it again).
Assignee: kandrot → waterson
Status: ASSIGNED → NEW
Keywords: mozilla0.9 → mozilla0.9.4
(Reporter)

Comment 4

17 years ago
mcafee, could you take a look at this?
Assignee: waterson → mcafee

Comment 5

16 years ago
-> dp
Assignee: mcafee → dp

Comment 6

16 years ago
The ptmalloc page <http://www.malloc.de/en/index.html> seems
to imply that an older-but-more-thread-friendly adaptation of
lea-malloc is used in glibc.  Performancewise it could be
a toss-up between the improvements added to lea-malloc since
the fork and the overheads of its very coarse locking in
comparison to ptmalloc/glibc.  I'm certainly very interested
in seeing the results!
(Reporter)

Comment 7

16 years ago
shaver's been doing some work on this, I think.

Comment 8

16 years ago
Shaver wanna take this over ?
Assignee: dp → shaver
Target Milestone: mozilla1.0 → mozilla0.9.8
Yeah, I got numbers at one point but they were pretty noisy.  I'll run again soon.
Status: NEW → ASSIGNED
Untargeting from 0.9.8
Keywords: mozilla1.0
Target Milestone: mozilla0.9.8 → ---
glibc2.3 is taking the new ptmalloc.  We should probably look at taking it too.

1.0, I say.
Target Milestone: --- → mozilla1.0
We're not going to take a new allocator for 1.0, and newer glibcs will soon have
the sexy new ptmalloc anyway.

We'll revisit this with dp when he gets back, or something.
Target Milestone: mozilla1.0 → mozilla1.1alpha
Status: ASSIGNED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.