Re: Issue with Linux+Pentium SMP Context Switching - Mailing list pgsql-hackers

From Shridhar Daithankar
Subject Re: Issue with Linux+Pentium SMP Context Switching
Date
Msg-id 200312201220.08675.shridhar_daithankar@myrealbox.com
Whole thread Raw
In response to Issue with Linux+Pentium SMP Context Switching  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Issue with Linux+Pentium SMP Context Switching  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
On Saturday 20 December 2003 00:00, Josh Berkus wrote:
> In discussions with Linux kernel hackers online, they blame the way that
> PostgreSQL uses shared memory.   Whether or not they are correct, the
> effect of the issue is to harm PostgreSQL's performance and make us look
> bad on one of the major "enterprise" systems of choice: the multi-processor
> Xeon system.

Two suggestions..

1. Patch linux kernel for HT aware scheduler.
2. Try running Xeons in HTdisabled modes.

See if that helps. I would say using 2.6 on it is recommended anyways.. If 
possible of course..
Shridhar



pgsql-hackers by date:

Previous
From: Kurt Roeckx
Date:
Subject: Re: Issue with Linux+Pentium SMP Context Switching
Next
From: Peter Eisentraut
Date:
Subject: Re: [BUGS] pg_service.conf ignores dbname parameter