🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #249

Re: Dual processors ?

#249
From: George Bell
Date: Mon, 06 Jan 2003 21:45
53 lines
3518 bytes
warr wrote:

> 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.
> 


How do you know this is true for Linux?  I don't believe that the load 
balancing algorithm implemented for SMP by the Linux kernel will make 
such bad decisions when allocating CPU time to the processes.


> 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.



That just tells me that Windows sucks, which I already knew.


> 
> OS is Dual CPU complient doesn't optimize your single threaded
> process.
> 


It may not be optimized but I don't believe it will run slower.  I think 
at worst it will run the same and you'll have unwisely spent money on 
more processing power when you'd been better off investing in SCSI hard 
disks, raid, etc.
Technical Details
Message-ID: <3E19F971.5080005@netscape.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!cox.net!p01!news1.east.cox.net.POSTED!53ab2750!not-for-mail
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> <fbf82913.0301052133.36e2aee9@posting.google.com>

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-06 13:45:41 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!cox.net!p01!news1.east.cox.net.POSTED!53ab2750!not-for-mail
Message-ID: <3E19F971.5080005@netscape.net>
From: George Bell <MasterofTimeADim@netscape.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913
X-Accept-Language: en-us
MIME-Version: 1.0
Newsgroups: aus.computers.linux,comp.os.linux.hardware,aus.ads.forsale.computers.used
Subject: Re: Dual processors ?
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> <fbf82913.0301052133.36e2aee9@posting.google.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 56
Date: Mon, 06 Jan 2003 21:45:39 GMT
NNTP-Posting-Host: 68.100.73.240
X-Complaints-To: abuse@cox.net
X-Trace: news1.east.cox.net 1041889539 68.100.73.240 (Mon, 06 Jan 2003 16:45:39 EST)
NNTP-Posting-Date: Mon, 06 Jan 2003 16:45:39 EST
Organization: Cox Communications