diskinfo tests

Following on from the previous dd and bonnie++ tests, here are some diskinfo tests:

These are unaligned tests, on disks partitioned such as this:

$ gpart show ada1
=>       34  488397101  ada1  GPT  (232G)
         34        540        - free -  (270k)
        574  488396510     1  freebsd  (232G)
  488397084         51        - free -  (25k)
$ sudo diskinfo -tv ada1
Password:
And with that remarks folks, the case of the Crown vs yourself was proven.
Password:
ada1
	512         	# sectorsize
	250059350016	# mediasize in bytes (232G)
	488397168   	# mediasize in sectors
	4096        	# stripesize
	0           	# stripeoffset
	484521      	# Cylinders according to firmware.
	16          	# Heads according to firmware.
	63          	# Sectors according to firmware.
	9VYJ9HY5    	# Disk ident.

Seek times:
	Full stroke:	  250 iter in   7.052209 sec =   28.209 msec
	Half stroke:	  250 iter in   5.173003 sec =   20.692 msec
	Quarter stroke:	  500 iter in   8.200960 sec =   16.402 msec
	Short forward:	  400 iter in   3.161057 sec =    7.903 msec
	Short backward:	  400 iter in   3.111896 sec =    7.780 msec
	Seq outer:	 2048 iter in   0.157592 sec =    0.077 msec
	Seq inner:	 2048 iter in   0.160382 sec =    0.078 msec
Transfer rates:
	outside:       102400 kbytes in   0.744580 sec =   137527 kbytes/sec
	middle:        102400 kbytes in   0.829667 sec =   123423 kbytes/sec
	inside:        102400 kbytes in   1.331500 sec =    76906 kbytes/sec


$ sudo diskinfo -tv ada2
ada2
	512         	# sectorsize
	250059350016	# mediasize in bytes (232G)
	488397168   	# mediasize in sectors
	0           	# stripesize
	0           	# stripeoffset
	484521      	# Cylinders according to firmware.
	16          	# Heads according to firmware.
	63          	# Sectors according to firmware.
	WD-WCC2EJ646848	# Disk ident.

Seek times:
	Full stroke:	  250 iter in   6.505417 sec =   26.022 msec
	Half stroke:	  250 iter in   4.462665 sec =   17.851 msec
	Quarter stroke:	  500 iter in   7.392674 sec =   14.785 msec
	Short forward:	  400 iter in   2.580539 sec =    6.451 msec
	Short backward:	  400 iter in   0.758539 sec =    1.896 msec
	Seq outer:	 2048 iter in   0.285447 sec =    0.139 msec
	Seq inner:	 2048 iter in   0.256031 sec =    0.125 msec
Transfer rates:
	outside:       102400 kbytes in   0.798260 sec =   128279 kbytes/sec
	middle:        102400 kbytes in   0.918099 sec =   111535 kbytes/sec
	inside:        102400 kbytes in   1.529152 sec =    66965 kbytes/sec

And then aligned thusly:

$ gpart show ada1 ada1s1 ada2 ada2s1
=>       34  488397101  ada1  GPT  (232G)
         34          6        - free -  (3.0k)
         40  488397088     1  freebsd  (232G)
  488397128          7        - free -  (3.5k)

=>        0  488397088  ada1s1  BSD  (232G)
          0  488397080       1  freebsd-ufs  (232G)
  488397080          8          - free -  (4.0k)

=>       34  488397101  ada2  GPT  (232G)
         34          6        - free -  (3.0k)
         40  488397088     1  freebsd  (232G)
  488397128          7        - free -  (3.5k)

=>        0  488397088  ada2s1  BSD  (232G)
          0  488397080       1  freebsd-ufs  (232G)
  488397080          8          - free -  (4.0k)

Here is the results for the unaligned disks:

$ sudo diskinfo -tv ada1
ada1
	512         	# sectorsize
	250059350016	# mediasize in bytes (232G)
	488397168   	# mediasize in sectors
	4096        	# stripesize
	0           	# stripeoffset
	484521      	# Cylinders according to firmware.
	16          	# Heads according to firmware.
	63          	# Sectors according to firmware.
	9VYJ9HY5    	# Disk ident.

Seek times:
	Full stroke:	  250 iter in   7.061921 sec =   28.248 msec
	Half stroke:	  250 iter in   5.189909 sec =   20.760 msec
	Quarter stroke:	  500 iter in   8.184480 sec =   16.369 msec
	Short forward:	  400 iter in   3.161515 sec =    7.904 msec
	Short backward:	  400 iter in   3.103441 sec =    7.759 msec
	Seq outer:	 2048 iter in   0.166287 sec =    0.081 msec
	Seq inner:	 2048 iter in   0.165270 sec =    0.081 msec
Transfer rates:
	outside:       102400 kbytes in   0.746159 sec =   137236 kbytes/sec
	middle:        102400 kbytes in   0.829952 sec =   123381 kbytes/sec
	inside:        102400 kbytes in   1.331916 sec =    76882 kbytes/sec

$ sudo diskinfo -tv ada2
ada2
	512         	# sectorsize
	250059350016	# mediasize in bytes (232G)
	488397168   	# mediasize in sectors
	0           	# stripesize
	0           	# stripeoffset
	484521      	# Cylinders according to firmware.
	16          	# Heads according to firmware.
	63          	# Sectors according to firmware.
	WD-WCC2EJ646848	# Disk ident.

Seek times:
	Full stroke:	  250 iter in   6.502829 sec =   26.011 msec
	Half stroke:	  250 iter in   4.495739 sec =   17.983 msec
	Quarter stroke:	  500 iter in   7.367560 sec =   14.735 msec
	Short forward:	  400 iter in   2.580514 sec =    6.451 msec
	Short backward:	  400 iter in   0.759380 sec =    1.898 msec
	Seq outer:	 2048 iter in   0.285662 sec =    0.139 msec
	Seq inner:	 2048 iter in   0.252788 sec =    0.123 msec
Transfer rates:
	outside:       102400 kbytes in   0.799736 sec =   128042 kbytes/sec
	middle:        102400 kbytes in   0.917802 sec =   111571 kbytes/sec
	inside:        102400 kbytes in   1.529183 sec =    66964 kbytes/sec

Anyone care to interpret?

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top