* Re: iozone on vax/vms is slow
1992-06-30 14:12 iozone on vax/vms is slow Michele Michelotto
@ 1992-06-30 16:54 ` Bill Norcott
1992-06-30 17:49 ` Rick Murphy
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Bill Norcott @ 1992-06-30 16:54 UTC (permalink / raw)
In article <1992Jun30.141251.6408@dxcern.cern.ch>, michelotto@dxcern.cern.ch (Michele Michelotto) writes:
|>
|> I tried IOZONE 1.15 on a vaxstation 4000/60 and 3100/76 with vms 5.5
|> and on a DS5000/200 with Ultrix 4.1 with different disk.
|> I've the impression that IOZONE has some problem on vms because I get
|> very poor figure.
<stuff deleted>
Actually, poor showing on VMS is due to the poor implementation of the write() function
in VAX C. I originally wrote IOzone (about a year before V1.0 was published to the
outside world), while I was working in VMS Development at DEC on the VMS POSIX
project. I wanted to compare the then-current performance of C I/O on VMS and ULTRIX
in order to see if the VMS POSIX file system would meet the goal: at least 85% as fast as
ULTRIX on the same model VAX (it isn't) and at least as fast as VAX C I/O (it is). I never
exceeded 25K bytes/second on writes on any of the VAXes I tested it on (big ones with
fast disks). To verify that the bottleneck was in the C runtime library, I tested IOzone with
the GNU C compiler on VMS. I don't have the exact figures anymore, but gcc was on the
order of 4-5 times faster than VAX C on writes.
VAX C write() does not seem to use the RMS per-process buffer caching code, but if I
remember correctly it does use RMS to open and do I/O to the file. VMS, unlike
UNIX, does not have a system-wide file system cache. At the $QIO level of VMS I/O,
writes go directly to disk. I could have written IOzone to use the VMS-specific $QIO
system calls, but my objective was to have a portable program. In fairness to VMS, if
you use POSIX synchronous I/O by opening the file with the O_SYNC modifier, then
VMS has a much better showing versus the UNIX platforms. If you are developing a
VMS-specific application, I would consider using asynchronous virtual file I/O calls
using $QIO with ASTs to get maximum performance, this is one of the strong points
of VMS. However, if you are interested in running portable C applications on VMS,
be aware that the performance of write() with VAX C is poor.
-----------------------------------------------------------------------|
Bill Norcott GUARDIAN POSIX project
Tandem Computers, Inc.
10600 N. Tantau Avenue PHONE: (408) 285-3253
Cupertino, CA 95014 EMAIL: norcott_bill@tandem.com
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: iozone on vax/vms is slow
1992-06-30 14:12 iozone on vax/vms is slow Michele Michelotto
1992-06-30 16:54 ` Bill Norcott
@ 1992-06-30 17:49 ` Rick Murphy
1992-06-30 19:21 ` Stefan Esser
1992-06-30 18:31 ` Dan Hildebrand
1992-07-01 13:55 ` iozone on vax/vms is slow (SUMMARY) Michele Michelotto
3 siblings, 1 reply; 7+ messages in thread
From: Rick Murphy @ 1992-06-30 17:49 UTC (permalink / raw)
In article <1992Jun30.141251.6408@dxcern.cern.ch>, michelotto@dxcern.cern.ch (Michele Michelotto) writes:
>I tried IOZONE 1.15 on a vaxstation 4000/60 and 3100/76 with vms 5.5
>and on a DS5000/200 with Ultrix 4.1 with different disk.
>I've the impression that IOZONE has some problem on vms because I get
>very poor figure.
Your IOZONE measurements are measuring the speed of the buffer cache on the
DECstation and the speed of the disk on the VMS system. Arrange for proper
caching of the file on VMS (or for synchronous behaviour on the ULTRIX system)
and they'll perform about the same.
Simple benchmarks (like IOZONE) are only useful if you understand what
they're measuring..
-Rick
--
Rick Murphy, WA1SPT/4 Washington Open Systems Resource Center
Domain: murphy@burfle.dco.dec.com -or- murphy@dco.dec.com
Bang: decwrl!burfle.enet!murphy Ding: (301) 918-5883
Disclaimer: This nonsense came from an AI program written in TECO. Ignore it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: iozone on vax/vms is slow
1992-06-30 17:49 ` Rick Murphy
@ 1992-06-30 19:21 ` Stefan Esser
0 siblings, 0 replies; 7+ messages in thread
From: Stefan Esser @ 1992-06-30 19:21 UTC (permalink / raw)
In article <1992Jun30.174947.25916@decuac.dec.com>, murphy@burfle.dco.dec.com (Rick Murphy) writes:
|>
|> In article <1992Jun30.141251.6408@dxcern.cern.ch>, michelotto@dxcern.cern.ch (Michele Michelotto) writes:
|> >I tried IOZONE 1.15 on a vaxstation 4000/60 and 3100/76 with vms 5.5
|> >and on a DS5000/200 with Ultrix 4.1 with different disk.
|> >I've the impression that IOZONE has some problem on vms because I get
|> >very poor figure.
|>
|> Your IOZONE measurements are measuring the speed of the buffer cache on the
|> DECstation and the speed of the disk on the VMS system. Arrange for proper
|> caching of the file on VMS (or for synchronous behaviour on the ULTRIX system)
|> and they'll perform about the same.
|>
|> Simple benchmarks (like IOZONE) are only useful if you understand what
|> they're measuring..
|> -Rick
No, due to some changes in Ultrix, close() doesn't return until the file has
been flushed to disk. He measured speed to disk (but writing in 8KByte
blocks, independent of the iozone block size parameter).
Ultrix's behaviour kills the performance of many of our programs (which
tend to generate hundreds of files a minute).
If we only could switch off this performance killing default ...
I reported that as a severe BUG (it is to us), but it seems DEC considers
the file guaranteed system integrity more important than giving us a tool
to get our work done ...
(Yes, I do prefer a system with deterministic behaviour. But I'd like to
be able to select a asynch. close for those programs, which loose much
possible performance now. Its even worse with some devices.
Ultrix shows the same behaviour with EXABYTE drives, making them feel
much slower under Ultrix than eg. under SunOS (not while streaming,
but esp. on close).)
Stefan
--
Stefan Esser, Institute of Nuclear Physics, University of Cologne, Germany
se@IKP.Uni-Koeln.DE [134.95.192.50]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: iozone on vax/vms is slow
1992-06-30 14:12 iozone on vax/vms is slow Michele Michelotto
1992-06-30 16:54 ` Bill Norcott
1992-06-30 17:49 ` Rick Murphy
@ 1992-06-30 18:31 ` Dan Hildebrand
1992-07-01 13:55 ` iozone on vax/vms is slow (SUMMARY) Michele Michelotto
3 siblings, 0 replies; 7+ messages in thread
From: Dan Hildebrand @ 1992-06-30 18:31 UTC (permalink / raw)
In article <1992Jun30.141251.6408@dxcern.cern.ch> michelot@dxcern.cern.ch writes:
>
>I tried IOZONE 1.15 on a vaxstation 4000/60 and 3100/76 with vms 5.5
>and on a DS5000/200 with Ultrix 4.1 with different disk.
>I've the impression that IOZONE has some problem on vms because I get
>very poor figure.
>For example:
>on the Decstation I get on a RZ57 (1 Gbyte)
> MB reclen bytes/sec written bytes/sec read
> 16 8192 389036 1220159
>
>but on a VS4000/60 only
> MB reclen bytes/sec written bytes/sec read
> 1 8192 15887 209715
>
>and only a little better on a RZ58
> MB reclen bytes/sec written bytes/sec read
>
> 1 8192 23301 349525
Your Decstation numbers seem low as well. With QNX4.1 on an ISA bus, 33 MHz
486 with 0K external processor cache, 16 Mbytes RAM ( 2 Mbytes as file
system cache ), Adaptec 1542 SCSI controller card and a Micropolis 340
Mbyte hard drive I get these numbers from IOZONE:
MB reclen bytes/sec written bytes/sec read
16 8192 777875 1638560
The read rate measured here is essentially the full platter speed of the
drive.
Dan Hildebrand email: danh@quantum.on.ca
Quantum Software Systems, Ltd. QUICS: danh (613) 591-0934 (data)
(613) 591-0931 (voice) mail: 175 Terrence Matthews
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: iozone on vax/vms is slow (SUMMARY)
1992-06-30 14:12 iozone on vax/vms is slow Michele Michelotto
` (2 preceding siblings ...)
1992-06-30 18:31 ` Dan Hildebrand
@ 1992-07-01 13:55 ` Michele Michelotto
1992-07-04 6:02 ` Mike Santangelo (UNIX/VMS Sysmgr)
3 siblings, 1 reply; 7+ messages in thread
From: Michele Michelotto @ 1992-07-01 13:55 UTC (permalink / raw)
The problem was that I founded that IOZONE on VAX/VMS is very slow.
there is a general consensus that the problem comes from the
VAX C runtime library.
The author (Bill Norcott) knows the problem but he wanted a program
portable to VMS and suggest to use $QIO system calls to get maximum
performance (using asyncronous virtual file I/O and $QIO with AST).
A couple of people told me to use different option in the open or creat calls
I tried with "mbc=16" and with othere value but I got small differences.
They say that they had notable improvment.
David L. Kashtan said that:
= This is absolutely correct. (although the VMS 5.5 version of the
= VAX "C" runtime library may have fixed some of this) the VAX "C"
= read() and write() functions for STREAM_LF files use RMS block
= I/O with 512 byte buffers. This means that all physical I/O to
= the disk in this case is done 1 block at a time. Thus, if you
= can get 40 QIOs/sec out of a disk you get at best 20Kb/sec I/O
= throughput. You might want to try I/O to a FIXED 512-byte record
= file (in which case RMS record I/O is used) and you will see a
= vast improvement (you can add arguments to your file create
= call to make the file FIXED 512-byte). You may also be able to
= improve the I/O performance on STREAM_LF files considerably by
= specifying a Multi-Block count on the file open/create (again,
= there are arguments you can add to the open or create calls
= to do this).
I tried also this. And It works better.Now I get 200kbytes/sec wrinting
and 600 kb/sec reading using fixed size records of 8192 byte
I would like to try other program to test the I/O performance of VAX/VMS
workstation, (memory to/from CPU, memory to/from disks etc...)
..or at least some figure of test performed by you.
I don't understand why everybody speaks of MIPS, MFLOPS and SPECMARKS
and nobody is interested in I/O benchmark.
Ciao, Michele
******************************************************************************
* Michele Michelotto, INFN Padova, Delphi group. *
* Internet: michelot@dxcern.cern.ch BITNET: MICHELOTTO@IPDINFN *
* Tel (+39).49.844347 HEPNET: VAXFPD::MICHELOTTO *
* "Ho bevuto CHE COSA ?" (Socrate) *
******************************************************************************
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: iozone on vax/vms is slow (SUMMARY)
1992-07-01 13:55 ` iozone on vax/vms is slow (SUMMARY) Michele Michelotto
@ 1992-07-04 6:02 ` Mike Santangelo (UNIX/VMS Sysmgr)
0 siblings, 0 replies; 7+ messages in thread
From: Mike Santangelo (UNIX/VMS Sysmgr) @ 1992-07-04 6:02 UTC (permalink / raw)
On a somewhat related note, does anyone know of a VMS specific program
available on the net that tests the raw I/O xfer rate to attached
disk drives? I'm not interested in VAX C I/O runtime bottlenecks,
doesn't matter what language it is written in, just want to know
what kind of throughput I can get (max) from my attached disk
controller in bytes/sec (read & write) and QIO/sec. I know "Digital
Review" has such a benchmark they use quite often in their reports.
Thanks!
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Michael F. Santangelo + Internet: mike@socrates.umd.edu
VMS & UNIX Systems Manager + mike@umuc.umd.edu
Academic Computing UMUC + mike@kavishar.umd.edu
^ permalink raw reply [flat|nested] 7+ messages in thread