The Musings of Chris Samuel

The Musings of Chris Samuel

The Thoughts and Feelings of a Melbourne Person

The Musings of Chris Samuel RSS Feed
 
 
 
 

Now Using Google’s tcmalloc

As another performance experiment (not content with just PHP 5.2.0) I’ve now got Apache (and hence mod-fcgid and PHP) using tcmalloc from Google’s PerfTools through the simple expedient of adding:

export LD_PRELOAD=/usr/local/google-perftools/lib/libtcmalloc.so

to /etc/default/apache2. Again, any problems, let me know!

Thanks to Mikal for the, ahem, pointer. :-)

RSS 2.0 feed • Both comments and pings are currently closed

4 Responses to “Now Using Google’s tcmalloc”

  1. 1
    Docunext Tech Stuff » Blog Archive » Attempting to use Google’s tcmalloc, Part I:

    [...] I’ll try Chris Samuel’s method, as well as trying to compile custom apps using tcmalloc. [...]

  2. 2
    Al:

    Hi Chris, I’m trying it now on Debian, and as an aside I’ve been using Apache2, mod_fcgid and PHP more and more, awesome setup. I was surprised at how much faster mod_fcgid was than mod_fastcgi. Might have been my config though.

  3. 3
    Chris Samuel:

    I’m using mod_fcgid, but I went straight to that from mod_php without trying mod_fastcgi. Very happy with how it’s gone..

  4. 4
    Al:

    Hey again, just thought I’d mention I’m exploring some python experiments with mod_wsgi - cool stuff. Kind of like mod_fcgid, but with WSGI goodies like environ.

    Later…

Related Posts

Music

Spam Blocked

RSS ABC News

Blogroll

People

Sites

Recent Posts

Random Image

 
2005-12-07-13:44_012.JPG
 

Categories

Archives

Meta

Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Australia
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Australia