From owner-freebsd-current Fri Dec 18 08:04:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24577 for freebsd-current-outgoing; Fri, 18 Dec 1998 08:04:53 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA24572 for ; Fri, 18 Dec 1998 08:04:51 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.9.1a/8.9.1) with ESMTP id QAA12983; Fri, 18 Dec 1998 16:04:03 GMT Message-ID: <367A7CDA.EF67AF5E@tdx.co.uk> Date: Fri, 18 Dec 1998 16:03:38 +0000 From: Karl Pielorz Organization: TDX - The Digital eXchange X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: =?iso-8859-1?Q?Jos=E9=20M=AA?= Alcaide CC: freebsd-current@FreeBSD.ORG Subject: Re: SMP benchmarks References: <367A78A5.3FBF4CBA@we.lc.ehu.es> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "José Mª Alcaide" wrote: > After reading a recent message from Jordan (I lost its reference) > about the "makeworldbench" test results, I was a bit worried: is one > of the two CPUs of my new computer being wasted by the FreeBSD > kernel? Uh-oh! Then I did a little test running one of the BYTE > benchmarks (arithoh). I did three runs with one, two and three > simultaneous processes. These are the results: > > [snip] > > In summary, at least making pure arithmetic computing, SMP does > its work. Yes, this is what I was saying to Jordan - as the FreeBSD kernel currently has a 'big lock' around it, meaning on an SMP machine AFAIK only one CPU can be 'in the kernel' at a time, if the other tries - it will get blocked (and probably go carry on with something else?) SMP is still a winner on FreeBSD though - because of Unix's nature to be very 'multi-processed', i.e. when you run Apache you don't just run 1 instance of apache, you run 4 or 5 (or more as the load increases) - so you get to the advantages of more CPU's - up until the system gets kernel bound (or IO bound)... This is what your test results proved... :) So, if you have something like rc5des - your better off running 2 copies of it on an SMP system... ;-) -Kp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message