Re: [PERFORM] Linux I/O schedulers - CFQ & random seeks

2011-03-05 Thread Omar Kilani
On Sat, Mar 5, 2011 at 6:09 AM, Rosser Schwarz wrote: > On Fri, Mar 4, 2011 at 10:34 AM, Glyn Astill wrote: >> I'm wondering (and this may be a can of worms) what peoples opinions are on >> these schedulers?  I'm going to have to do some real world testing myself >> with postgresql too, but ini

Re: [PERFORM] Performance under contention

2010-11-22 Thread Omar Kilani
Hi Ivan, We have the same issue on our database machines (which are 2x6 Intel(R) Xeon(R) CPU X5670 @ 2.93GHz with 24 logical cores and 144Gb of RAM) -- they run RHEL 5. The issue occurs with our normal OLTP workload, so it's not just pgbench. We use pgbouncer to limit total connections to 15 (thi

Re: [PERFORM] Bad performance of SELECT ... where id IN (...)

2009-10-05 Thread Omar Kilani
Robert, On Mon, Oct 5, 2009 at 11:01 PM, Robert Haas wrote: > On Sun, Oct 4, 2009 at 9:58 PM, Omar Kilani wrote: >> Hi Xia, >> >> Try this patch: >> >> http://treehou.se/~omar/postgresql-8.4.1-array_sel_hack.patch >> >> It's a hack, but it work

Re: [PERFORM] Bad performance of SELECT ... where id IN (...)

2009-10-04 Thread Omar Kilani
Hi Xia, Try this patch: http://treehou.se/~omar/postgresql-8.4.1-array_sel_hack.patch It's a hack, but it works for us. I think you're probably spending most of your query time planning, and this patch helps speed things up 10x over here. Regards, Omar On Sun, Sep 27, 2009 at 5:13 PM, Xia Qing

[PERFORM] Context switch storms

2008-12-02 Thread Omar Kilani
Hi there, We've recently started seeing some context switch storm issues on our primary Postgres database, and I was wondering if anyone had encountered similar issues or had any ideas as to what could be causing these issues. The machine configuration is: 8xIntel Xeon Harpertown 5430 (2.66GHz)