Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 1999 10:28:05 -0400 (EDT)
From:      "Brian F. Feldman" <green@FreeBSD.org>
To:        Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
Cc:        dillon@apollo.backplane.com, freebsd-current@FreeBSD.org
Subject:   Re: LOCK overheads (was Re: "objtrm" problem probably found)
Message-ID:  <Pine.BSF.4.10.9907131026080.76301-100000@janus.syracuse.net>
In-Reply-To: <99Jul13.202011est.40341@border.alcanet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Here's another data point:
{"/home/green"}$ cc -O2 locktests.c -o locktests
{"/home/green"}$ ./locktests
mode 0   10.92 ns/loop nproc=1 lcks=EMPTY
mode 1   17.99 ns/loop nproc=1 lcks=no
mode 2   17.97 ns/loop nproc=2 lcks=no
mode 3  166.33 ns/loop nproc=1 lcks=yes
mode 4  167.91 ns/loop nproc=2 lcks=yes
mode 5   42.16 ns/loop nproc=1 lcks=no
mode 6   41.60 ns/loop nproc=2 lcks=no
mode 7  188.86 ns/loop nproc=1 lcks=yes
mode 8  191.56 ns/loop nproc=2 lcks=yes

This is a K6-2 350. Locks are pretty expensive on them.

 Brian Fundakowski Feldman      _ __ ___ ____  ___ ___ ___  
 green@FreeBSD.org                   _ __ ___ | _ ) __|   \ 
     FreeBSD: The Power to Serve!        _ __ | _ \._ \ |) |
       http://www.FreeBSD.org/              _ |___/___/___/ 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907131026080.76301-100000>