From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Ron Mayer <rm_pg@cheapcomplexdevices.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: ionice to make vacuum friendier?
Date: Wed, 18 Jul 2007 10:03:00 +0100
Message-ID: <469DD744.1060906@enterprisedb.com> (raw)
In-Reply-To: <f7jfs1$ntm$1@news.hub.org>
References: <f7jfs1$ntm$1@news.hub.org>
Ron Mayer wrote:
> Seems Linux has IO scheduling through a program called ionice.
>
> Has anyone here experimented with using it rather than
> vacuum sleep settings?
I looked at that briefly for smoothing checkpoints, but it was
unsuitable for that purpose because it only prioritizes reads, not writes.
It maybe worth trying for vacuum, though vacuum too can do a lot of
writes. In the worst case, the OS cache is saturated with dirty pages,
which blocks all writes in the system.
If it did prioritize writes as well, that would be *excellent*. Any
kernel hackers out there looking for a project?
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
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: heikki@enterprisedb.com, rm_pg@cheapcomplexdevices.com
Subject: Re: ionice to make vacuum friendier?
In-Reply-To: <469DD744.1060906@enterprisedb.com>
* 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