home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ames!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!exucom.exu.ericsson.se!ericom!sunic!mcsun!Germany.EU.net!rrz.uni-koeln.de!unidui!math.fu-berlin.de!Sirius.dfn.de!gwdu03.gwdg.de!gwdgv1.gwdg.de!MOELLER
- From: moeller@gwdgv1.gwdg.de
- Newsgroups: vmsnet.vms-posix
- Subject: Re: strange posix timing bevavior
- Message-ID: <2TN8ZVH@gwdu03.gwdg.de>
- Date: 7 Nov 92 03:00:40 GMT
- References: <1992Oct31.003920.17824@wega.rz.uni-ulm.de>
- Sender: news@gwdu03.gwdg.de (USENET News System)
- Reply-To: moeller@gwdgv1.gwdg.de
- Organization: GWDG Goettingen, F.R.Germany
- Lines: 31
- Nntp-Posting-Host: gwdgv1.gwdg.de
-
- In article <1992Oct31.003920.17824@wega.rz.uni-ulm.de>,
- ORAKEL@rzmain.rz.uni-ulm.de (Framstag) writes:
- >I've found a strange time-behavior in posix 1.1.
- >[...]
- >I have two test-programs:
- > $! test1.com
- > $define/user sys$output test.uue
- > $posix posix$bin:uuencode. "test.gif test.gif
- > $logout/full
- >and
- > $! test2.com
- > $define sys$output test.uue
- > $posix posix$bin:uuencode. "test.gif test.gif
- > $deass sys$output
- > $logout/full
- >[... test1 is *much* slower than test2 ...]
-
- I guess this problem is not particular to POSIX:
-
- The VAXC I/O library has always been famous for doing very inefficient
- I/O to disk, spending 1 I/O per disk block read or written.
-
- If you DEFINE/USER, VAXC I/O will indeed occur; if you DEFINE in supervisor
- mode, I/O to standard output (SYS$OUTPUT) will be re-directed to the
- process-permanent file, which *is* buffered the normal way (typically 8 or
- 16 disk blocks). From the difference in the number of direct I/Os executed,
- the difference in elapsed time can be easily understood.
-
- Wolfgang J. Moeller, GWDG, D-3400 Goettingen, F.R.Germany | Disclaimer ...
- PSI%(0262)45050352008::MOELLER Phone: +49 551 201516 | No claim intended!
- Internet: moeller@gwdgv1.dnet.gwdg.de | This space intentionally left blank.
-