Skip site navigation (1) Skip section navigation (2)

Re: scheduler

From: david(at)lang(dot)hm
To: Adrian Moisey <adrian(at)careerjunction(dot)co(dot)za>
Cc: Claus Guttesen <kometen(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: scheduler
Date: 2008-01-22 08:37:21
Message-ID: alpine.LFD.1.00.0801220830380.2312@xo-0D-5F-90.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On Tue, 22 Jan 2008, Adrian Moisey wrote:

> Hi
>>> Which scheduler is recommended for a box that is dedicated to running
>>> postgres?
>>> I've asked google and found no answers.
>> Is it the OS itself?
> Yes, in linux.  I've found that cfq or deadline is best, but I haven't seen 
> anyone try a benchmark

it also depends on your hardware. if you have a good battery-backed cache 
on your I/O system you may be best off with 'none' (or simple elevator, I 
don't remember the exact name)

the more complexity in your I/O that the kernek oesn't know about, the 
less likely it is to make the right decision.

David Lang

In response to

pgsql-performance by date

Next:From: Luke LonerganDate: 2008-01-22 08:45:45
Subject: Re: scheduler
Previous:From: Florian WeimerDate: 2008-01-22 08:32:25
Subject: Re: 8.3 synchronous_commit

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group