From: Ron Mayer <rm_pg@cheapcomplexdevices.com>
To: pgsql-performance@postgresql.org
Subject: ionice to make vacuum friendier?
Date: Tue, 17 Jul 2007 15:29:32 -0700
Message-ID: <f7jfs1$ntm$1@news.hub.org> (raw)
Seems Linux has IO scheduling through a program called ionice.
Has anyone here experimented with using it rather than
vacuum sleep settings?
http://linux.die.net/man/1/ionice
This program sets the io scheduling class and priority
for a program. As of this writing, Linux supports 3 scheduling
classes:
Idle. A program running with idle io priority will only get disk
time when no other program has asked for disk io for a defined
grace period. The impact of idle io processes on normal system
activity should be zero.[...]
Best effort. This is the default scheduling class for any process
that hasn't asked for a specific io priority. Programs inherit the
CPU nice setting for io priorities. [...]
http://friedcpu.wordpress.com/2007/07/17/why-arent-you-using-ionice-yet/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: rm_pg@cheapcomplexdevices.com
Subject: Re: ionice to make vacuum friendier?
In-Reply-To: <f7jfs1$ntm$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox