[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-performance
Subject:    Re: [PERFORM] renice on an I/O bound box
From:       Craig Ringer <craig () postnewspapers ! com ! au>
Date:       2010-01-20 1:18:35
Message-ID: 4B5659EB.6080109 () postnewspapers ! com ! au
[Download RAW message or body]

On 20/01/2010 4:16 AM, Arjen van der Meijden wrote:

> Another command to look at, if you're I/O-bound, is the 'ionice'
> command, which is similar to nice, but obviously intended for I/O.
> For some I/O-bound background job, one of the 'idle' classes can be a
> nice level. But for a (single) postgres-process, I'd be careful again
> for the same reasons as with process-nice.

Unfortunately, due to the action of the bgwriter 'ionice' isn't as 
effective as you might hope. It's still useful, but it depends on the load.

http://wiki.postgresql.org/wiki/Priorities#Prioritizing_I.2FO

--
Craig Ringer

-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic