Re: linux deadline i/o elevator tuning - Mailing list pgsql-performance

From Jeff
Subject Re: linux deadline i/o elevator tuning
Date
Msg-id 7D33317A-51F4-42B4-AA61-5C7D4CBE0AF4@torgo.978.org
Whole thread Raw
In response to Re: linux deadline i/o elevator tuning  ("Albe Laurenz *EXTERN*" <laurenz.albe@wien.gv.at>)
Responses Re: linux deadline i/o elevator tuning  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-performance
On Apr 10, 2009, at 2:47 AM, Albe Laurenz *EXTERN* wrote:

> Grzegorz Jaskiewicz wrote:
>> acording to kernel folks, anticipatory scheduler is even better for
>> dbs.
>> Oh well, it probably means everyone has to test it on their own at
>> the
>> end of day.
>
> In my test case, noop and deadline performed well, deadline being a
> little
> better than noop.
>
> Both anticipatory and CFQ sucked big time.
>

This is my experience as well, I posted about playing with the
scheduler a while ago on -performance, but I can't seem to find it.

If you have a halfway OK raid controller, CFQ is useless. You can fire
up something such as pgbench or pgiosim, fire up an iostat and then
watch your iops jump high when you flip to noop or deadline and
plummet on cfq.  Try it. it's neat!

--
Jeff Trout <jeff@jefftrout.com>
http://www.stuarthamm.net/
http://www.dellsmartexitin.com/




pgsql-performance by date:

Previous
From: Ognjen Blagojevic
Date:
Subject: Re: Postgres 8.x on Windows Server in production
Next
From: "Kevin Grittner"
Date:
Subject: Re: linux deadline i/o elevator tuning