Richard HJ's Web Site

mk5_test Home Page

Tool to Measure Data Transfer Rated between Memory and the VLBI Mark5 Disk Sub-system

The disk_test programs read_file and write_file read or write blocks of data between memory and the RAID or disk sub-system, they measure:

 



write_sstor

This program fills a ring buffer with random numbers and measures the time to write this to disk. For long files the ring buffer is continuously filled. The program can make the following measurements:

The Parameters are:

-b = <size of block read/written to/from disk in bytes (20 kbytes is the default) >
-f = <name of file>
-r = <size of ring buffer in memory in Mbytes (20 Mbytes is the default) >
-s = <size of file in Mbytes>
-v = turn on debug printout
-B = <bin width of histogram in us>
-H = print the histogram
-M = <min (low limit) of histo in us>

Example:

write_sstor -b20000 -s 2000 -f /hraid/my_test.dat

read_sstor

This program measures the time to read an existing file from the disk sub-system and fill a ring buffer in memory. The file is read until the End of File is reached and the ring buffer is continuously filled. The program can make the following measurements:

The Parameters are:

-b = <size of block read/written to/from disk in bytes (20 kbytes is the default) >
-f = <name of file>
-r = <size of ring buffer in memory in Mbytes (20 Mbytes is the default) >
-v = turn on debug printout
-B = <bin width of histogram in us>
-H = print the histogram
-M = <min (low limit) of histo in us>

Example:

write_sstor -b20000 -s 2000 -f /hraid/my_test.dat

Installation of mk5_test

From mk5_test version 1.0.0 automake was used and the distribution was split into two tarballs: the mk5_test tool and the supporting library libhj. The mk5_test-a.b.c tarball creates directory mk5_test-a.b.c and libhj-l.m.n creates directory libhj-l.m.n. For installation and compilation in your home directory having downloaded the corresponding mk5_test and library files start by cd to the library directory then:

./configure --prefix=$HOME
make install

$HOME/include and $HOME/lib are created. Then cd to the directory containing mk5_test and do:

./configure --prefix=$HOME --with-hj-location=$HOME
make install

$HOME/sbin is created with the mk5_test programs.

Versions of mk5_test

Version

Download
tcpmon

Download
libhj library

Write-up

Excel plots example

Notes

mk5_test-1.0.0

tar file -1.0.0

libhj-4.1.3      

mk5_test

mk5_test Jun03

none

 

June03

 

Enjoy, but the usual disclaimers apply!

Feedback and bug-reports are welcome and I will do my best to fix things!

© 2006, 2007, 2008, 2009, 2010, 2011 Richard Hughes-Jones (R.Hughes-Jones@manchester.ac.uk)
22 Jan 2011.

Copyright notice | Disclaimer | Privacy Policy |