From owner-freebsd-hardware@FreeBSD.ORG Mon Mar 15 22:59:21 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 0B9E416A4CE for ; Mon, 15 Mar 2004 22:59:21 -0800 (PST) Received: from cydem.org (h68-149-254-167.ed.shawcable.net [68.149.254.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id D180B43D39 for ; Mon, 15 Mar 2004 22:59:20 -0800 (PST) (envelope-from soralx@cydem.org) Received: by cydem.org (Postfix/FreeBSD, from userid 426) id 4CA7C393FA; Mon, 15 Mar 2004 23:59:20 -0700 (MST) Received: from soralx.cydem.org (h68-149-254-171.ed.shawcable.net [68.149.254.171]) by cydem.org (Postfix/FreeBSD) with ESMTP id 95BA238313; Mon, 15 Mar 2004 23:59:19 -0700 (MST) From: To: matrix@itlegion.ru, oceanare@pacific.net.sg Date: Mon, 15 Mar 2004 23:59:15 -0700 User-Agent: KMail/1.5 References: <40568DC4.7020209@pacific.net.sg> <026901c40b22$2c557c50$0c00a8c0@artem> In-Reply-To: <026901c40b22$2c557c50$0c00a8c0@artem> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403152359.15768.soralx@cydem.org> cc: freebsd-hardware@freebsd.org 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: Tue, 16 Mar 2004 06:59:21 -0000 > Hm.. > Let me make up a case. > Two boxes: > 1) Dual CPU X Mhz with Y KB of cache > 2) Sinnge CPU with 2X Mhz and 2Y KB of cache > > Which one is faster under FreeBSD? I think the > second one, because SMP overhead is gone. There is also a context switching overhead for single CPU, isn't there? And, if you're talking about P4's - yes, they have larger L2 cahce, but their L1 cache is smaller compared to PIII's. When working simultaneously on dual-CPU system, 2 separate processes can store more of their own data in the faster L1 cache. Timestamp: 0x4056A434 [SorAlx] http://cydem.org.ua/