Re: ionice to make vacuum friendier? - Mailing list pgsql-performance

From Heikki Linnakangas
Subject Re: ionice to make vacuum friendier?
Date
Msg-id 469DD744.1060906@enterprisedb.com
Whole thread Raw
In response to ionice to make vacuum friendier?  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Responses Re: ionice to make vacuum friendier?  ("Jim C. Nasby" <decibel@decibel.org>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: importance of fast disks with pg
Next
From: PFC
Date:
Subject: Re: insert vs select into performance