From owner-freebsd-hardware@FreeBSD.ORG Fri Mar 12 09:02:14 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56F3D16A4CF for ; Fri, 12 Mar 2004 09:02:14 -0800 (PST) Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by mx1.FreeBSD.org (Postfix) with SMTP id BB03143D45 for ; Fri, 12 Mar 2004 09:02:13 -0800 (PST) (envelope-from simon@optinet.com) Received: (qmail 53054 invoked by uid 110); 12 Mar 2004 17:02:12 -0000 Received: from ool-18baaf5c.dyn.optonline.net (HELO win2kpc1) (24.186.175.92) by cobra.acceleratedweb.net with SMTP; 12 Mar 2004 17:02:12 -0000 From: "Simon" To: "Artem Koutchine" , "freebsd-hardware@freebsd.org" Date: Fri, 12 Mar 2004 12:02:43 -0500 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2661) For Windows 2000 (5.0.2195;4) In-Reply-To: <002f01c4081c$bd720810$0c00a8c0@artem> MIME-Version: 1.0 Message-Id: <20040312170213.BB03143D45@mx1.FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: Multiprocessor system VS one processor system X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 17:02:14 -0000 While FreeBSD 4.9 can only run one process per CPU, in a multi-user environment, you will have multiple processes running on multiple CPUs at the same time. You can't do this with 1 CPU, even if that one CPU is faster. Of course, an outdated dual CPU server is not a lot faster than a 2x+ faster newer single CPU server. FreeBSD 5.x is going to change this all, read: http://www.lemis.com/grog/SMPng/Singapore/paper.pdf -Simon On Fri, 12 Mar 2004 13:28:18 +0300, Artem Koutchine wrote: >Hi! > >I need to understand something very clear. > >As I understand FreeBSD (as of 4.9) runs one process >per one CPU. This means, that if i have dual systems >with 500Mhz CPUs one process can never run faster >than on a single 500Mhz CPU. However, if i substitute >those two CPUs with one 1000Mhz, that one process will run >twice as fast than on dual 500Mhz, however, to box will >become a bit less responsive, because in a dual box >when one CPU is loaded, another one may have some >spare time to respond. However, in case of very loaded >box both CPUs a extremely loaded and the box will >be as responsive as single 1000Mhz CPU box 100% loaded. >So, according to what i just said there is not real reason to >setup a dual CPU box under FREEBSD unless you want to >have 5000Mhz box, but there is no CPU with such speed, so >you put two 2500Mhz CPU in it and if you are running a lot >of processes with short run periods you will get overal >perfomance somewhere near 5000Mhz. However, when i >subsituted two 500Mhz CPUs with 1500Mhz one (even with >less 2nd level cache) on a heavy loaded web server i notice >that sites started to load faster. So, it seems as >one 3X Mhz CPU is faster that two X MHz CPUs, at least >for web server with sql base and many perl scripts. > >So, there are two questions: >1) Am I right or am wrong? >2) Does FreeBSD 5.X run one process only on one CPU >or it can run on thread of a process on one CPU and another >thread on another CPU? > >Regards, >Artem >_______________________________________________ >freebsd-hardware@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hardware >To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org" >