Re: ionice to make vacuum friendier?

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: ionice to make vacuum friendier?
Date: 2007-07-18 09:03:00
Message-ID: 469DD744.1060906@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message PFC 2007-07-18 11:07:18 Re: insert vs select into performance
Previous Message Heikki Linnakangas 2007-07-18 08:57:15 Re: importance of fast disks with pg