From: hallam@zeus02.desy.de (Phill Hallam-Baker)
Subject: Re: Alpha throughput question
Date: Sat, 5 Dec 1992 00:30:43 GMT [thread overview]
Message-ID: <ByrG37.3H1@dscomsa.desy.de> (raw)
In-Reply-To: 1992Dec2.175053.17122@linus.mitre.org
In article <1992Dec2.175053.17122@linus.mitre.org>, bds@mbunix.mitre.org (Smith)
writes:
|>In article <STRANGE.92Dec1164918@squeeze.dec.com> strange@zk3.dec.com (Steve
|>Strange) writes:
|>>In article <1992Dec1.174951.4062@linus.mitre.org> bds@mbunix.mitre.org
|>(Smith) writes:
|>>
|>> I have a simple question. In looking at the Alpha machines, it seems
|>> the only upgrades necessary to make a VAX 4000 or 7000 into an Alpha
|>> is a CPU board swap. This means all the peripherals are the same. So
|>> my question is, if the disks, memory, I/O, etc. are all the same, then
|>> how could the overall system throughput be significantly higher with
|>> the Alpha machine than with the VAX?
|>>
|>> Barry
|>>
|>>A simple answer: Because the performance of many operations is
|>>bounded by the CPU speed, not by the I/O or memory speed or bandwidth.
|>>
|>> Steve
|>>--
|>
|>Could you give me some more information, please? Let me pose a
|>hypothetical situation. Suppose I have a data file that I want to
|>manipulate and then display as a graph. There may be better ways to
|>do this, but for the sake of argument, suppose I take these steps:
|>
|>1. Read the file in to memory from the disk by loading data structures
|>in a linked list.
You have a sequential data structure
|>2. Walk through that list, manipulate the data (let's say do simple
|>arithmetic), and load it into another list in memory.
We scan it sequentialy!
|>3. Walk through that list, and for each item in that list, draw it to
|>a window on screen.
|>
|>4. Write that list to a disk file.
|>
|>It seems to me that this sequence should test most aspects of the
|>throughput of a system. It's also a fairly common sequence. The only
|>time that the chip speed will significantly affect the performance is
|>when the data is manipulated (is this true?). If this is the case,
|>then doubling the speed on the chip should not significantly increase
|>the speed of the system. What's wrong with this analysis?
Steps 2, 3, 4 take place in parallel.
DECthreads.
|>
|>Barry
|>
|>PS - By the way, in no way am I trying to cause problems for DEC.
|>The problem as stated is generic, and applicable to any vendor's
|>products.
The threads are part of the posix spec. not sure if it's an optional extra or
what, don't think so (ADA has to have it). The reason why threads are superior
to spawning processes is the behaviour on a multiuser system. Consider the
situation :-
10 Users on workstation, each has 1/10th of CPU
Fred Bastard decides to run his mandelbrot set, spawns 90 processes to do it
Fred gets 90% of system resources, everybody else 10%.
Also it's much easier to program. I do not have to interact with the shell, do
not have to create a process (this takes time on VMS), and can share my data
without any hassle. I also get the support of locking primitives etc etc.
--
Phill Hallam-Baker
next prev parent reply other threads:[~1992-12-05 0:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-12-01 17:49 Alpha throughput question Smith
1992-12-01 21:49 ` Steve Strange
1992-12-02 17:50 ` Smith
1992-12-02 22:47 ` Steve Strange
1992-12-05 0:30 ` Phill Hallam-Baker [this message]
1992-12-02 19:26 ` Bill Bochnik (Info Systems)
1992-12-04 2:53 ` Bob Supnik
-- strict thread matches above, loose matches on Subject: below --
1992-12-02 19:01 sharpe
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