From: strange@zk3.dec.com (Steve Strange)
Subject: Re: Alpha throughput question
Date: 2 Dec 92 17:47:25 [thread overview]
Message-ID: <STRANGE.92Dec2174725@squeeze.dec.com> (raw)
In-Reply-To: bds@mbunix.mitre.org's message of 2 Dec 92 17:50:53 GMT
In article <1992Dec2.175053.17122@linus.mitre.org> bds@mbunix.mitre.org (Smith) writes:
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.
2. Walk through that list, manipulate the data (let's say do simple
arithmetic), and load it into another list in memory.
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?
Barry
This is more or less true -- raw disk read and write speeds won't
change with the faster processor. But the OS will run faster, which
could have a positive effect on how quickly disk operations get queued
and scheduled (especially on a heavily-loaded system). Also, in your
example, if the on-disk file structure is not in the form of a linked
list, the linked list will have to be generated following the disk
read. That is, the data is loaded into a buffer, then each data
element in the buffer is copied into the linked list. This operation
would be accellerated with a faster CPU with more cache.
So in general, you obviously can't expect system throughput to improve
linearly with CPU speed, but many operations that aren't totally
CPU-bound often have CPU-bound components.
Hope this helps,
Steve
--
+---------------------------------------------------------------------------+
| Steve Strange | Opinions expressed are my own and not |
| Digital Equipment Corp. | necessarily those of my employer, or |
| Nashua, NH 03062-2698 | of anyone else, for that matter. |
| strange@zk3.dec.com | |
+---------------------------------------------------------------------------+
next prev parent reply other threads:[~1992-12-02 22:47 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 [this message]
1992-12-05 0:30 ` Phill Hallam-Baker
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