Archive for February, 2008

jemalloc on trunk — linux edition

February 27, 2008

Back on the 12th of February we turned jemalloc on in our Linux builds.  Sorry for not posting sooner!  We saw a good performance increase and a drop in memory.  Neither were as large as the wins we saw on Windows but still good.  I tried tuning the glibc allocator a bit but was mostly unsuccessful at making it both faster and use less memory at the same time.  Also over time the fragmentation results just weren’t quite what we were hoping for.

Things in the memory world are looking pretty great.  Our work seemed to have paid off.  There is always more to do but Firefox 3 beta 4 will be great.

jemalloc now on the trunk

February 5, 2008

Our Windows nightlies (beta4pre, this is not in beta 3) now include jemalloc. These builds are leaps and bounds better than the last build I posted.

Tons of amazing work has gone in to this. I’d like to thank Jason for making all the crazy changes to jemalloc that we wanted and Ted for his days and days of crazy build stuff. Thanks to Benjamin for his work getting the CRT building initially — we wouldn’t be here without it. We’ve worked day and night for weeks to make this happen and it is finally here.

Due to the requirement for you to have Microsoft Visual Studio 2005 SP1 Professional, –enable-jemalloc is off by default in configure. If you have the right stuff installed toss it in your mozconfig and magic should happen.

We’re still evaluating the switch on Mac and Linux, but you can use the same configure flag to build on those platforms.