From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,40805cf22f2b1b2c X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-12-02 15:15:13 PST Newsgroups: comp.sys.dec Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!caen!deccrl!news.crl.dec.com!rdg.dec.com!decvax.dec.com!decvax!strange From: strange@zk3.dec.com (Steve Strange) Subject: Re: Alpha throughput question In-Reply-To: bds@mbunix.mitre.org's message of 2 Dec 92 17:50:53 GMT Message-ID: Sender: usenet@decvax.dec.com (Usenet News System) Nntp-Posting-Host: squeeze.zk3.dec.com Organization: Digital Equipment Corp. References: <1992Dec1.174951.4062@linus.mitre.org> <1992Dec2.175053.17122@linus.mitre.org> Distribution: comp.sys.dec, comp.arch Date: 2 Dec 92 17:47:25 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 | | +---------------------------------------------------------------------------+