home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: biz.sco.general
- Path: sparky!uunet!world!apl
- From: apl@world.std.com (Anthony P Lawrence)
- Subject: time command
- Message-ID: <C03p7q.9v1@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- X-Newsreader: Tin 1.1 PL3
- Date: Thu, 31 Dec 1992 01:52:38 GMT
- Lines: 25
-
- There has got to be a simple answer for this, but it's got me
- stumped.
-
- I'm sitting here playing with a 115K baud terminal. I wanted to
- see how it compares to the system console, so I did 'time lr /etc'
- on both the console and the terminal.
-
- The console finishes first, as we would all expect. But, 'time'
- reports LESS real, user and system time for the command run on
- the terminal.
-
- The only rational explanation is that either the multiport card or the
- terminal (or both) are doing a lot of buffering so that 'time' thinks
- the command is complete when it actually isn't.
-
- Now: I had never thought about the effects of buffering on 'time'. And
- I can't honestly say that I've spent a lot of time thinking about it even
- now. But this simple example shows that 'time' measurements can be
- quite false... and makes me wonder about other 'time'd benchmarks...
-
- 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.
-