Re: Linux v.s. Mac OS-X Performance

From: Wes <wespvp(at)msg(dot)bt(dot)com>
To: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Linux v.s. Mac OS-X Performance
Date: 2007-11-30 05:04:38
Message-ID: C374F606.6A5EE%wespvp@msg.bt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Regarding the various kernel bottlenecks, have there been any tests with
Google's malloc (libtcmalloc)? Perhaps PostgreSQL isn't heavily threaded
enough to make a difference, but on one of our heavily threaded applications
(unrelated to Postgres), it made a night and day difference. Instead of
memory and CPU usage growing and growing, both stabilized quickly at less
than half of what the linux malloc produced. Linux (2.6) RH malloc stinks
in heavily threaded applications. The benchmark that got us looking at this
was a MySQL benchmark showing performance scaling by number of threads on
various linux operating systems. The difference in our application by
simply relinking at run time (LD_PRELOAD) with libtcmalloc was astounding.

Wes

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Postgres User 2007-11-30 05:22:01 Simple math statement - problem
Previous Message Adrian Klaver 2007-11-30 03:10:47 Re: \copy ... with null as '' csv doesn't get nulls