Article View: aus.computers.linux
Article #264Re: Dual processors ?
From: warr
Date: Mon, 06 Jan 2003 05:33
Date: Mon, 06 Jan 2003 05:33
30 lines
2541 bytes
2541 bytes
George Bell <MasterofTimeADim@netscape.net> wrote in message news:<3E1797D0.4050907@netscape.net>... > > > No, it couldn't possibly be any slower. Software that was specifically > designed for multiprocessor systems(i.e. by implementing more threads) > might run slower than if it had been designed for a single processor in > mind, because on a single processor the multiple threads would create > more overhead. But this only means the software can only possible run > faster with more CPUs. A single thread process wouldn't run any slower > on a multiprocessor system, it just couldn't take advantage of the > resources as well as the other. if a program is written for single CPU only, even though your OS is coordinating the 2 cpus and this program may be running on 2 cpus, but they are not running concurrently. they are still sequential processing. and the kernel has to switch between the 2 CPUs for 1 single process. it is definitely slower than the single cpu without interprocessor communication. I didn't see any benchmarks on Linux. but in windows, there are lots of benchmarks that shows faster execution on a single CPU than a dual cpu if you use a program that isn't multi threaded. OS is Dual CPU complient doesn't optimize your single threaded process.
Technical Details
Message-ID:
<fbf82913.0301052133.36e2aee9@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<pan.2003.01.03.13.58.10.249319@iprimus.com.au> <av578p$c8s17$1@ID-99293.news.dfncis.de> <av5qtf$tcf$1@lust.ihug.co.nz> <fbf82913.0301040421.1a35bdfa@posting.google.com> <3E178C63.7040901@netscape.net> <3E1797D0.4050907@netscape.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114381,acfea8e5e9ff6f15 X-Google-Attributes: gid114381,public X-Google-Thread: 102b32,acfea8e5e9ff6f15 X-Google-Attributes: gid102b32,public X-Google-Thread: 102983,acfea8e5e9ff6f15 X-Google-Attributes: gid102983,public X-Google-ArrivalTime: 2003-01-05 21:33:38 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: warren22432@yahoo.com (warr) Newsgroups: aus.computers.linux,comp.os.linux.hardware,aus.ads.forsale.computers.used Subject: Re: Dual processors ? Date: 5 Jan 2003 21:33:38 -0800 Organization: http://groups.google.com/ Lines: 30 Message-ID: <fbf82913.0301052133.36e2aee9@posting.google.com> References: <pan.2003.01.03.13.58.10.249319@iprimus.com.au> <av578p$c8s17$1@ID-99293.news.dfncis.de> <av5qtf$tcf$1@lust.ihug.co.nz> <fbf82913.0301040421.1a35bdfa@posting.google.com> <3E178C63.7040901@netscape.net> <3E1797D0.4050907@netscape.net> NNTP-Posting-Host: 137.132.3.9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1041831218 3122 127.0.0.1 (6 Jan 2003 05:33:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 6 Jan 2003 05:33:38 GMT