home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!gossip.pyramid.com!decwrl!world!apl
- From: apl@world.std.com (Anthony P Lawrence)
- Newsgroups: biz.sco.general
- Subject: Re: time command
- Message-ID: <C04GJt.9KB@world.std.com>
- Date: 31 Dec 92 11:43:04 GMT
- References: <1992Dec31.043015.28653@netcom.com>
- Organization: The World Public Access UNIX, Brookline, MA
- Lines: 38
- X-Newsreader: Tin 1.1 PL3
-
- gerg@netcom.com (Greg Andrews) writes:
- :
- : I see it differently. Running a 386 box from a terminal is a primitive
- : form of "client/server" computing. Running it from the console is not.
- :
- : With a terminal, your application simply shoves its output to the
- : terminal. The terminal does the work of placing the character into
- : the screen buffer, moving the cursor to the next position (which can
- : include wrapping to the first column of the next line), and scrolling
- : the screen if you're on the last line.
-
- Yes, from the point of view of freeing up the cpu to do other work,
- you (and 'time') are quite correct. That wasn't exactly my point,
- though (and as usual I did a lousy job explaining what I was driving at).
-
- In the first place, in the context of evaluating a terminal, the job
- isn't done until the output is complete. That's obvious, and it's
- also obvious that 'time' can't help us there.
-
- But more in line with what I was thinking about is this: Suppose we
- have a verrry sloooow disk drive. Something that takes, oh, 20 seconds
- to write a track (I said sloow!). Now suppose we front-end it with
- a very fast 100 megabyte buffer.
-
- That buffer is going to make the drive look real good for simple tests
- like writing less than 1 track in any 20 second period. But the
- minute you exceed that rate, the performance is gone.
-
- So what I was fumbling at last night was the fact that you really
- need to be aware of the nature and size of any buffering before
- trying to run tests to compare the speed of things.
-
-
- Tony apl@world.std.com
-
- Lawrence & Clark, Inc (617) 762-0707 (206) 323-2864
- Xenix/Unix support,etc Boston Seattle
- Kevin Clark is embarrassed by most of what I say.
-