pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Hardware/OS recommendations for large databases (
Date: Sun, 20 Nov 2005 15:29:35 +0100
Message-ID: <20051120142935.GA32311@uio.no> (raw)
In-Reply-To: <87y83jo0um.fsf@stark.xeocode.com>
References: <BFA48F15.14182%llonergan@greenplum.com>
	<437FE2E4.5040600@rentec.com>
	<87y83jo0um.fsf@stark.xeocode.com>

On Sun, Nov 20, 2005 at 09:22:41AM -0500, Greg Stark wrote:
> I don't think that's true. If the syscall was preemptable then it wouldn't
> show up under "iowait", but rather "idle". The time spent in iowait is time in
> uninterruptable sleeps where no other process can be scheduled.

You are confusing userspace with kernel space. When a process is stuck in
uninterruptable sleep, it means _that process_ can't be interrupted (say,
by a signal). The kernel can preempt it without problems.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



view thread (173+ messages)  latest in thread

Message-ID: <20051120142935.GA32311@uio.no>
Permalink:  ../20051120142935.GA32311@uio.no/
Also on:    postgresql.org/message-id/20051120142935.GA32311@uio.no

 · 

reply

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: sgunderson@bigfoot.com
  Subject: Re: Hardware/OS recommendations for large databases (
  In-Reply-To: <20051120142935.GA32311@uio.no>

* 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