Re: Performance features the 4th - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Performance features the 4th
Date
Msg-id 10854.1068066609@sss.pgh.pa.us
Whole thread Raw
In response to Re: Performance features the 4th  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: Performance features the 4th  (Manfred Spraul <manfred@colorfullife.com>)
List pgsql-hackers
Jan Wieck <JanWieck@Yahoo.com> writes:
> Manfred Spraul wrote:
>> What about skipping the delay if there are no outstanding disk 
>> operations?

> How portable is getrusage()? Could the postmaster issue that frequently 
> for RUSAGE_CHILDREN and leave the result somewhere in the shared memory 
> for whoever is concerned?

How would that tell you about currently outstanding operations?

Manfred's idea is interesting but AFAICS completely unimplementable
in any portable fashion.  You'd have to have hooks into the kernel.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Schema boggle...
Next
From: Kurt Roeckx
Date:
Subject: Re: \xDD patch for 7.5devel