Re: another query optimization question - Mailing list pgsql-performance

From Marc G. Fournier
Subject Re: another query optimization question
Date
Msg-id 20040131161128.N63159@ganymede.hub.org
Whole thread Raw
In response to Re: another query optimization question  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: another query optimization question
List pgsql-performance
On Sat, 31 Jan 2004, Tom Lane wrote:

> David Teran <david.teran@cluster9.com> writes:
> > Apple provides a little tool that can enable / disable the l2 cache ...
> > one CPU of a dual CPU system on the fly. When i start the testapp with
> > two CPU's enabled i get this output here, when i turn off one CPU while
> > the app is still running the messages disappear as long as one CPU is
> > turned off. Reactivating the CPU again produces new error messages.
>
> Ah-hah, so the gettimeofday bug *is* linked to multiple CPUs.  Marc,
> were the machines you saw it on all multi-CPU?

I'm not sure ... I thought I ran it on my P4 here in the office and saw it
too, albeit not near as frequently ... but, in FreeBSD's case, it is a
"design issue" ... there are two different functions, once that is kinda
fuzzy (but fast), and the other that is designed to be exact, but at a
performance loss ... or was it the same function, but a 'sysctl' variable
that changes the state?

Can't remember which, but it is by design on FreeBSD ... and, if we're
talking about Apple, the same most likely applies, as its based on the
same kernel ...

Back of my mind, I *think* it was these sysctl variables:

kern.timecounter.method: 0
kern.timecounter.hardware: i8254



 ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

pgsql-performance by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: High Performance/High Reliability File system on SuSE64
Next
From: David Teran
Date:
Subject: Re: another query optimization question