Originally posted by: SystemAdmin
Direct access to physical disks through block special files should be avoided. Such access can impair performance That makes sense, thanks a lot! And that also proves that block level disk devices are tightly bound with LVM, cache, etc. Though words about "data consistency problems" seem to have meaning only with write access. I cannot imagine the case where reads from hdiskX will crash fs.
OK, let us repeat tests via high level routines. Again, let us test reading through raw device (as it shows the real throughput we can reach on LUN) against reading large file from FS.
AIX5.3, EMC V-MAX, reading 1G of data, storage read cache is flushed between tries.
-
time dd if=/tmp/1/test of=/dev/null bs=1m
real 0m5.902s
user 0m0.009s
sys 0m1.560s
-
time dd if=/dev/rhdiskpower0 of=/dev/null count=1000 bs=1m
real 0m6.556s
user 0m0.009s
sys 0m0.477s
AIX5.3, DS4700, reading 1G of data, storage read cache is flushed between tries.
-
time dd if=/tmp/1234/test of=/dev/null bs=1m
real 0m7.934s
user 0m0.010s
sys 0m2.040s
-
time dd if=/dev/rhdisk82 of=/dev/null bs=1m count=1000
real 0m10.217s
user 0m0.007s
sys 0m0.403s
Good, character device is a little bit slower as it should be. Shame on me for I didn't know IBM forbids to use hdiskX for any manipulating of data (strange though they exist at all).
And thanks again! Case is done.
#AIX-Forum