X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 84E8B52A56 for ; Thu, 4 Aug 2005 14:34:01 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 97153-06 for ; Thu, 4 Aug 2005 17:33:58 +0000 (GMT) Received: from mailbox.samurai.com (mailbox.samurai.com [205.207.28.82]) by svr1.postgresql.org (Postfix) with ESMTP id BD0AE5282F for ; Thu, 4 Aug 2005 14:33:55 -0300 (ADT) Received: from localhost (mailbox.samurai.com [205.207.28.82]) by mailbox.samurai.com (Postfix) with ESMTP id DB697239BEA; Thu, 4 Aug 2005 13:33:55 -0400 (EDT) Received: from mailbox.samurai.com ([205.207.28.82]) by localhost (mailbox.samurai.com [205.207.28.82]) (amavisd-new, port 10024) with LMTP id 09013-01-2; Thu, 4 Aug 2005 13:33:25 -0400 (EDT) Received: from [192.168.0.105] (CPE3285f62f0d42-CM0011aec5ebbc.cpe.net.cable.rogers.com [69.199.116.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailbox.samurai.com (Postfix) with ESMTP id 38626239C3C; Thu, 4 Aug 2005 13:32:40 -0400 (EDT) Message-ID: <42F25137.4030107@samurai.com> Date: Thu, 04 Aug 2005 13:32:39 -0400 From: Neil Conway User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Jim C. Nasby" Cc: Tom Lane , Tobias Brox , pgsql-performance@postgresql.org Subject: Re: "nice"/low priority Query References: <20050802160434.GD9278@tobias.lan> <11484.1122999570@sss.pgh.pa.us> <20050802172550.GZ60019@decibel.org> In-Reply-To: <20050802172550.GZ60019@decibel.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mailbox.samurai.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200508/41 X-Sequence-Number: 13788 Jim C. Nasby wrote: > Actually, from what I've read 4.2BSD actually took priority into account > when scheduling I/O. FWIW, you can set I/O priority in recent versions of the Linux kernel using ionice, which is part of RML's schedutils package (which was recently merged into util-linux). -Neil