Re: More idle thoughts - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: More idle thoughts
Date
Msg-id 1269793928.3684.2651.camel@ebony
Whole thread Raw
In response to More idle thoughts  (Greg Stark <stark@mit.edu>)
Responses Re: More idle thoughts
List pgsql-hackers
On Fri, 2010-03-26 at 18:59 +0000, Greg Stark wrote:

> The Linux kernel had a big push to reduce latency, and one of the
> tricks they did was they replaced the usual interrupt points with a
> call which noted how long it had been since the last interrupt point.
> It occurs to me we could do the same for CHECK_FOR_INTERRUPTS() by
> conditionally having it call a function which calls gettimeofday and
> compares with the previous timestamp received at the last CFI().

Reducing latency sounds good, but what has CFI got to do with that?

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: join removal
Next
From: Tom Lane
Date:
Subject: Re: join removal