1752625 Members
4743 Online
108788 Solutions
New Discussion юеВ

Disk thruput

 
Wim Van den Wyngaert
Honored Contributor

Disk thruput

I would like to measure disk thruput per disk(in MBytes), if possible split in Read and Write thruput.

I don't want a program and I don't want to depend on a product like pa. Just DCL and e.g. SDA.

How can I do that ?
Wim
12 REPLIES 12
Ian Miller.
Honored Contributor

Re: Disk thruput

what sort of disks? If an HSx controller is involved then they have programs for that sort of info.
____________________
Purely Personal Opinion
labadie_1
Honored Contributor

Re: Disk thruput

Wim Van den Wyngaert
Honored Contributor

Re: Disk thruput

Ian : all kind of disks. Directly attached, MSCP, HSG80, ...
Labadie : I don't want to install things. Just use naked VMS and DCL.
Wim
Hein van den Heuvel
Honored Contributor

Re: Disk thruput

You can not get there from here.
VMS does not have this.
The closest you can get is possibly to
just time a COPY from a large file.
Large files can be created by sysgen,
by create/fdl ... allocation xxx, or my favourite $copy nl: /cont/alloc
Unfortunatly VMS does not have 'dd' (actually... looked in the posix area? ) nor does it have a /dev/zero, only /dev/null so for write tests you'll need to create a large empty file first... or just use a pagefile as input.

- Watch out for 'high-water-marking' when testing IO.

Good luck,
Groetjes,
Hein.
Ian Miller.
Honored Contributor

Re: Disk thruput

have a look at what MONITOR can do - there may be something you can use to calculate but I don't remember anything specific.
____________________
Purely Personal Opinion
John Eerenberg
Valued Contributor

Re: Disk thruput

There is a way to get the thruput from DCL but you have to know the typical IO size.

I have several disks dedicated to a database. I know the IO size is 8192 bytes.

$ iocnt1=F$GetDvI("$1$dgannn:","opcnt")
$ wait 00:00:10
$ iocnt2=F$GetDvI("$1$dgannn:","opcnt")
$ kbsec=(iocnt2-iocnt1)*8

kbsec holds the number of KB/Sec for the disks I know the typical IO size. This is a rough number, but at least I get an idea of what is going on.

This can be customized for backup as well if you have a handful of large files (i.e., several GB each) a control-T will tell you the input block size. Very rough though, but it gives you an order of magnitude on the thruput.

Finally this will work if you know the average IO size over a period of time for a disk with a not so cut and dried IO size.

Other then that, no way VMS DCL can give you the info you want.

hope it helps.
It is better to STQ then LDQ
labadie_1
Honored Contributor

Re: Disk thruput

Ian, may be you were thinking about hyperspi++ ?

http://www.pi-net.dyndns.org/hyperspi++
Ian Miller.
Honored Contributor

Re: Disk thruput

as the great Steve Hoffman often says 'what problem are you trying to solve?'
Why did you whant disk thoughput figures - do you think you have a problem or are you doing a capacity planning excersise?
____________________
Purely Personal Opinion
John Eerenberg
Valued Contributor

Re: Disk thruput

Oops...
make that Bytes/Second instead of kbsec
$ bsec=((iocnt2-iocnt1)*8192)/10
It is better to STQ then LDQ