Re: Locking comment on shrink_caches()

Vojtech Pavlik
2001-09-26T20:20:22Z

On Wed, Sep 26, 2001 at 06:40:15PM +0100, Alan Cox wrote:

> > PIII:
> > nothing: 32 cycles
> > locked add: 50 cycles
> > cpuid: 170 cycles
> >
> > P4:
> > nothing: 80 cycles
> > locked add: 184 cycles
> > cpuid: 652 cycles
>
>
> Original core Athlon (step 2 and earlier)
>
> nothing: 11 cycles
> locked add: 22 cycles
> cpuid: 67 cycles
>
> generic Athlon is
>
> nothing: 11 cycles
> locked add: 11 cycles
> cpuid: 64 cycles

Interestingly enough, my TBird 1.1G insist on cpuid being somewhat
slower:

nothing: 11 cycles
locked add: 11 cycles
cpuid: 87 cycles

--
Vojtech Pavlik
SuSE Labs