From owner-freebsd-current Tue Jul 13 13:45:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (Postfix) with ESMTP id 8337C14BE4 for ; Tue, 13 Jul 1999 13:45:47 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.1/frmug-2.3/nospam) with UUCP id WAA10365 for freebsd-current@FreeBSD.org; Tue, 13 Jul 1999 22:45:03 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (Postfix, from userid 101) id CBB8187AE; Tue, 13 Jul 1999 22:01:25 +0200 (CEST) (envelope-from roberto) Date: Tue, 13 Jul 1999 22:01:25 +0200 From: Ollivier Robert To: freebsd-current@FreeBSD.org Subject: Re: LOCK overheads (was Re: "objtrm" problem probably found) Message-ID: <19990713220125.A18250@keltia.freenix.fr> Mail-Followup-To: freebsd-current@FreeBSD.org References: <199907131555.IAA78738@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.95.5i In-Reply-To: <199907131555.IAA78738@apollo.backplane.com>; from Matthew Dillon on Tue, Jul 13, 1999 at 08:55:28AM -0700 X-Operating-System: FreeBSD 4.0-CURRENT/ELF ctm#5468 AMD-K6 MMX @ 200 MHz Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Matthew Dillon: > Wow, now that *is* expensive! The K6 must be implementing it in > microcode for it to be that bad. K6-200: 244 [21:57] roberto@keltia:src/C> ./locktest 0 ... empty 26.84 ns/loop 1proc 22.62 ns/loop 2proc 22.64 ns/loop empty w/locks 17.58 ns/loop 1proc w/locks 288.28 ns/loop 2proc w/locks 288.16 ns/loop It hurts :( -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 4.0-CURRENT #72: Mon Jul 12 08:26:43 CEST 1999 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message