From: bellenot@math.fsu.edu (Steve Bellenot)
Subject: Re: Sun Solaris vs OpenVMS, Alpha vs SPARC, etc (was ...)
Date: 1998/12/08 [thread overview]
Message-ID: <74j1sp$oif$1@news.fsu.edu> (raw)
In-Reply-To: 366CF9A6.81F2515@gtech.com
In article <366CF9A6.81F2515@gtech.com>,
Arne =?iso-8859-1?Q?Vajh=F8j?= <avajhoej@gtech.com> wrote:
>Steve Bellenot wrote:
>> In article <74gvcd$jhv@usenet.pa.dec.com>,
>> Hoff Hoffman <hoffman@xdelta.zko.dec.nospam> 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)
next prev parent reply other threads:[~1998-12-08 5:00 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-07 5:00 Sun Solaris vs OpenVMS, Alpha vs SPARC, etc (was ...) Hoff Hoffman
1998-12-07 5:00 ` Steve Bellenot
1998-12-07 5:00 ` Fred Kleinsorge
1998-12-07 5:00 ` Hoff Hoffman
1998-12-08 5:00 ` Steve Bellenot
1998-12-08 5:00 ` t_wade
1998-12-08 5:00 ` Hello Kittyhawk
[not found] ` <74i8r2$tva$1@nnrp1.dejanews.com>
1998-12-08 5:00 ` Fred Kleinsorge
1998-12-09 5:00 ` Fred Kleinsorge
1998-12-10 5:00 ` minsky
1998-12-08 5:00 ` Arne Vajhøj
1998-12-08 5:00 ` Steve Bellenot [this message]
1998-12-07 5:00 ` Casper H.S. Dik - Network Security Engineer
1998-12-08 5:00 ` Rob Young
1998-12-08 5:00 ` Casper H.S. Dik - Network Security Engineer
1998-12-08 5:00 ` Larry Kilgallen
1998-12-10 5:00 ` Andrew Harrison SUNUK Consultancy
1998-12-14 5:00 ` Matthias Dolder
1998-12-14 5:00 ` Monica
1998-12-15 5:00 ` Terry C. Shannon
1998-12-15 5:00 ` Casper H.S. Dik - Network Security Engineer
1998-12-15 5:00 ` Larry Kilgallen
1998-12-15 5:00 ` andrew.harrison@uk.sun.nospam.com
1998-12-15 5:00 ` Larry Kilgallen
1998-12-15 5:00 ` Casper H.S. Dik - Network Security Engineer
1998-12-15 5:00 ` Larry Kilgallen
1998-12-15 5:00 ` Terry C. Shannon
1998-12-15 5:00 ` Terry C. Shannon
1998-12-15 5:00 ` Larry Kilgallen
1998-12-16 5:00 ` andrew.harrison@uk.sun.nospam.com
1998-12-16 5:00 ` Larry Kilgallen
1998-12-16 5:00 ` andrew.harrison@uk.sun.nospam.com
1998-12-16 5:00 ` My address space is bigger than yours (was " Hoff Hoffman
1998-12-16 5:00 ` andrew.harrison@uk.sun.nospam.com
1998-12-18 5:00 ` Lupe Christoph
1998-12-19 5:00 ` Larry Kilgallen
1998-12-20 5:00 ` My address space is bigger than yours (was Re: Sun Solaris vs Lee K. Gleason
1998-12-16 5:00 ` Sun Solaris vs OpenVMS, Alpha vs SPARC, etc (was ...) andrew.harrison@uk.sun.nospam.com
1998-12-16 5:00 ` Jan Vorbrueggen
1998-12-16 5:00 ` andrew.harrison@uk.sun.nospam.com
1998-12-16 5:00 ` andrew.harrison@uk.sun.nospam.com
1998-12-16 5:00 ` Jan Vorbrueggen
1998-12-15 5:00 ` andrew.harrison@uk.sun.nospam.com
1998-12-15 5:00 ` andrew.harrison@uk.sun.nospam.com
1998-12-08 5:00 ` Arne Vajhøj
1998-12-08 5:00 ` Rob Young
1998-12-08 5:00 ` Aaron Spink
1998-12-08 5:00 ` Larry Kilgallen
1998-12-08 5:00 ` Michael Ritzert
1998-12-08 5:00 ` Robert Harley
1998-12-08 5:00 ` Steve Spires
1998-12-08 5:00 ` Faster than light, was Sun Solaris vs OpenVMS, Alpha vs SPARC Bob Koehler
1998-12-08 5:00 ` Steve Lindsey
1998-12-08 5:00 ` Sun Solaris vs OpenVMS, Alpha vs SPARC, etc (was ...) t_wade
1998-12-09 5:00 ` Chris Morgan
1998-12-09 5:00 ` Chris Morgan
-- strict thread matches above, loose matches on Subject: below --
1998-12-17 5:00 Robert Harley
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox