From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,54e01b0b1426cc1f X-Google-Attributes: gidf7344,public X-Google-Thread: 1070f0,54e01b0b1426cc1f X-Google-Attributes: gid1070f0,public X-Google-Thread: 1164f8,54e01b0b1426cc1f X-Google-Attributes: gid1164f8,public From: bellenot@math.fsu.edu (Steve Bellenot) Subject: Re: Sun Solaris vs OpenVMS, Alpha vs SPARC, etc (was ...) Date: 1998/12/08 Message-ID: <74j1sp$oif$1@news.fsu.edu>#1/1 X-Deja-AN: 420013021 References: <74gvcd$jhv@usenet.pa.dec.com> <74h9c6$1a3$1@news.fsu.edu> <366CF9A6.81F2515@gtech.com> Organization: Florida State University Department of Mathematics Newsgroups: comp.sys.dec,comp.os.vms,comp.sys.sun.admin In article <366CF9A6.81F2515@gtech.com>, Arne =?iso-8859-1?Q?Vajh=F8j?= wrote: >Steve Bellenot wrote: >> In article <74gvcd$jhv@usenet.pa.dec.com>, >> Hoff Hoffman wrote: >> > As has been discussed recently in the comp.os.vms newsgroup, symmetric >> > multiprocessing (SMP) can improve aggregate performance, but something >> > often called Amdahl's Law eventually arises. Though I am paraphrasing >> > here, Amdahl has stated that the performance scaling one could expect >> > from adding processors to an SMP configuration directly corresponds to >> > the amount of work that could operate in parallel. In other words, most >> > any computer environment would eventually encounter a critical path that >> > effectively limits the number of processors, either in the application >> > or in the operating system itself. Adding processors eventually won't >> > help once the "knee" is reached. >> >> While there are many bottlenecks in any computer system, none of them >> are about "Amdahl law". Amdahl law does not predict that there is any >> wall. It meerly points out that if for example 10% of your code is >> sequential, then you can never get a speed-up of more than 10. >> >> Amdahl law does not apply to many systems. For example running multiple >> copies of the same job, is essentially all parallel. > > Amdahl law states that the relative amount of code, that can not > benefit from parallel execution, will limit the relative gain by > parallel execution. > > All computer systems both hardware and software has something that can > not be executed parallel. So Amdahls law will always apply. Theoretically there is nothing that says any part of a well design parallel program needs to be executed sequentially. Or rather, the "machine cycle time" is so small compared to the overall execution time that we may assume this to be true for "grand problems". In practice, it is much harder to produce code that does not have sequentical segments, but that is not the same as saying that these have to appear. Computer hardware systems had other bottlenecks which can limit parallel speed. These are not caused by the code, but rather caused by not having enough copies of the resources needed to run the code. The OS can also create similar bottlenecks like the hardware. But again this is not the code, but what machine you are running the code on. For a rash early example, consider a kernal with a single lock. This design limits the parallism obtainable by any program for reasons different from how it was coded. > The big question is how big is this effect in practice. 50% => x2 and > 0.1% => x1000. I don't think that "any" percent has to be sequential. Do you know of any problem has a provable "at least" this much sequential other than the trivial well it takes at least N machine cycles so it can be done no more parallel than xN? Or similar limits like sorting N elements can't be more parallel than xN? > It depends a lot on the problems in question. It also depends a lot on > what kind of restrictions there are on choice of > hardware/os/compilers/application etc.. While this is certainly true in practice, it is less clear if this is true in theory. -- bellenot@math.fsu.edu http://www.math.fsu.edu/~bellenot (850)644-7189 (4053fax)