Fastest timecounter ?

2006-02-27 Thread Vlad GALU
Dear hackers, I'm in a dilemma (more like a trilemma, actually). While following the 5.x and 6.x development cycle I observed that the default timecounter varies from one machine from another (for instance on my home desktop which is an AMD Athlon 2400+ it uses ACPI-fast, whereas on my Cen

Re: Fastest timecounter ?

2006-02-27 Thread Joseph Koshy
vg> I wrote a piece of software that has to get the current vg> timestamp, one way or the other, a huge number of times per vg> second. Apart from the empyrical tests one can perform to vg> find out the timekeeping scheme with the less performance vg> impact, is there any rule of thumb as to what c

Re: Fastest timecounter ?

2006-02-28 Thread David Malone
On Mon, Feb 27, 2006 at 06:09:26PM +0200, Vlad GALU wrote: > I wrote a piece of software that has to get the current > timestamp, one way or the other, a huge number of times per second. > Apart from the empyrical tests one can perform to find out the > timekeeping scheme with the less per

Re: Re: Fastest timecounter ?

2006-02-28 Thread Sergey Babkin
>From: David Malone <[EMAIL PROTECTED]> >The TSC is always fastest, but unfortunately under some circumstances >it can't be trusted (if your CPU has throttle modes to save power >or on some SMP systems where the two TSCs in each CPU give different >values). If I remember correctly, all the SMP CP