/dev/sda – is a local device
[root@localhost ~]# hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 23764 MB in 1.99 seconds = 11956.21 MB/sec
Timing buffered disk reads: 248 MB in 3.01 seconds = 82.52 MB/sec
Benchmarking /dev/sda [976773168 blocks, 500107862016 bytes, 465 GB, 476940 MB, 500 GiB, 500107 MiB]
[512 logical sector size, 512 physical sector size]
[1 threads]
Wait 30 seconds…………………………
Results: 74 seeks/second, 13.447 ms random access time (209836842 < offsets < 500103026710)
—
/dev/sdb – is attached over icasi + iser transport
Võtame targeti külge kasutades hariliku TCP protokolli over ISCSI
[root@localhost network-scripts]# iscsiadm -m node -p 192.168.10.2 -T iqn.2011-04.ee.okia:storage1 –login
Testime kettapöördumist
[root@localhost network-scripts]# hdparm -Tt /dev/sdd
/dev/sdd:
Timing cached reads: 22224 MB in 1.99 seconds = 11182.37 MB/sec
Timing buffered disk reads: 250 MB in 3.01 seconds = 83.16 MB/sec
—
Nüüd võtame targeti külge kasutades iser protokolli over ISCSI
[root@localhost network-scripts]# iscsiadm -m node -p 192.168.10.2 -T iqn.2011-04.ee.okia:storage1 –op update -n node.transport_name -v iser
Testime kiirust
[[root@localhost network-scripts]# hdparm -Tt /dev/sdd
/dev/sdd:
Timing cached reads: 22020 MB in 1.99 seconds = 11079.28 MB/sec
Timing buffered disk reads: 610 MB in 3.01 seconds = 202.83 MB/sec
Benchmarking /dev/sdd [1048576000 blocks, 536870912000 bytes, 500 GB, 512000 MB, 536 GiB, 536870 MiB] [512 logical sector size, 512 physical sector size] [1 threads] Wait 30 seconds………………………… Results: 151 seeks/second, 6.609 ms random access time (148654250 < offsets < 536801383750) [root@xen1 ~]#