From owner-freebsd-chat Thu Jun 6 17:22:31 2002 Delivered-To: freebsd-chat@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id EE41F37B407 for ; Thu, 6 Jun 2002 17:22:25 -0700 (PDT) Received: (qmail 21841 invoked from network); 7 Jun 2002 00:22:25 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 7 Jun 2002 00:22:25 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g570MOF63341; Thu, 6 Jun 2002 20:22:24 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020607010446.A79818@dogma.freebsd-uk.eu.org> Date: Thu, 06 Jun 2002 20:22:23 -0400 (EDT) From: John Baldwin To: j mckitrick Subject: Re: SMP/5.0 performance on single CPU? Cc: freebsd-chat@freebsd.org, "Kurt J. Lidl" Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 07-Jun-2002 j mckitrick wrote: >| I don't know how much overhead the locking system that FreeBSD is >| using will impose on a uniprocessor machine, but I would guess >| anywhere from 10%-25% slower. I think that only 10% would be pretty >| impressive for the very first release. Again -- this is a *guess*. > > Any idea if a custom kernel can completely leave out the SMP code and > end up comparable to 4.x? A UP kernel will leave out some of the overhead, but SMPng fundamentally changes the way you protect data in the kernel against interrupt handlers as well as from other threads on other CPU's (basically we are now solving that problem in a more general case) so you can't just turn it all off. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message