From: | Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com> |
---|---|
To: | Matthew Wakeling <matthew(at)flymine(dot)org> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: linux deadline i/o elevator tuning |
Date: | 2009-04-09 14:39:15 |
Message-ID: | 2f4958ff0904090739l547c076fqa06195dfb413cf8b@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Thu, Apr 9, 2009 at 3:32 PM, Matthew Wakeling <matthew(at)flymine(dot)org> wrote:
> On Thu, 9 Apr 2009, Grzegorz Jaśkiewicz 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.
>
> But the anticipatory scheduler basically makes the huge assumption that you
> have one single disc in the system that takes a long time to seek from one
> place to another. This assumption fails on both RAID arrays and SSDs, so I'd
> be interested to see some numbers to back that one up.
(btw, CFQ is the anticipatory scheduler).
no they not. They only assume that application reads blocks in
synchronous fashion, and that data read in block N will determine
where the N+1 block is going to be.
So to avoid possible starvation problem, it will wait for short amount
of time - in hope that app will want to read possibly next block on
disc, and putting that request at the end of queue could potentially
starve it. (that reason alone is why 2.6 linux feels so much more
responsive).
--
GJ
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2009-04-09 14:40:22 | Re: linux deadline i/o elevator tuning |
Previous Message | Matthew Wakeling | 2009-04-09 14:32:29 | Re: linux deadline i/o elevator tuning |