Subject: Re: Lock benchmarks
To: None <tech-kern@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 09/18/2002 08:41:30
On Tue, Sep 17, 2002 at 10:03:00 +1200, Gregory McGarry wrote:

> ftp://ftp.netbsd.org/pub/NetBSD/misc/gmcgarry/lockprof.tar.gz

NB: sparc asm is buggy, since the ras lock is a leaf routine, you
should use %o0 instead of %i0.

cpu0 at mainbus0: TMS390Z50 v0 or TMS390Z55 @ 50 MHz, on-chip FPU

unlock overhead: 10.052264 s (0.100523 us/loop)
RAS: 24.067011 s (0.240670 us/loop)
cpu locks (inlined): 10.021642 s (0.100216 us/loop)
cpu locks (not inlined): 26.074177 s (0.260742 us/loop)

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen