[PERFORM] poor cpu utilization on dual cpu box

2003-10-22 Thread Simon Sadedin
Folks, I’m hoping someone can give me some pointers to resolving an issue with postgres and it’s ability to utilize multiple CPUs effectively. The issue is that no matter how much query load we throw at our server it seems almost impossible to get it to utilize more than 50% cpu on a dual-cpu

Re: [PERFORM] poor cpu utilization on dual cpu box

2003-10-22 Thread Josh Berkus
Simon, The issue is that no matter how much query load we throw at our server it seems almost impossible to get it to utilize more than 50% cpu on a dual-cpu box. For a single connection we can use all of one CPU, but multiple connections fail to increase the overall utilization (although

Re: [PERFORM] poor cpu utilization on dual cpu box

2003-10-22 Thread Tom Lane
Josh Berkus [EMAIL PROTECTED] writes: We are running with shared buffers large enough to hold the entire database Which is bad. This is not what shared buffers are for. See: http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html In fact, that may be the cause of the performance

Re: [PERFORM] poor cpu utilization on dual cpu box

2003-10-22 Thread Simon Sadedin
The suggestion that we are saturating the memory bus makes a lot of sense. We originally started with a low setting for shared buffers and resized it to fit all our tables (since we have memory to burn). That improved stand alone performance but not concurrent performance - this would explain