Subject: Re: Lock benchmarks
To: None <>
From: Allen Briggs <>
List: tech-kern
Date: 09/18/2002 01:19:59
On Tue, Sep 17, 2002 at 10:03:00AM +1200, Gregory McGarry wrote:

Running on an Apple dual G4 @ 450MHz (running a MULTIPROCESSOR
kernel with X up and running, but otherwise pretty much idle):
$ ./lockprof 
Registering restartable atomic sequences
Timing unlock overhead
Timing RAS locks
Timing CPU locks (inlined)
Timing CPU locks (not inlined)
unlock overhead: 0.669464 s (0.006695 us/loop)
RAS: 1.562048 s (0.015620 us/loop)
cpu locks (inlined): 3.574175 s (0.035742 us/loop)
cpu locks (not inlined): 4.063639 s (0.040636 us/loop)


 Allen Briggs               Quality NetBSD CDs, Sales, Support, Service
NetBSD development for Alpha, ARM, M68K, MIPS, PowerPC, SuperH, XScale, etc...