View Single Post
  #1   (View Single Post)  
Old 12th November 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Post STORAGE: benchmarks results (diskinfo)

I would like to start a thread to compare performance of various storage sollutions using FreeBSD diskinfo(8) tool.

I also encourage to post results of other benchamrking tools.

Here are mine results for the start:

Kingston DT100 16GB (pendrive):
Code:
# diskinfo -c -t /dev/da0
/dev/da0
	512         	# sectorsize
	16131293184 	# mediasize in bytes (15G)
	31506432    	# mediasize in sectors
	1961        	# Cylinders according to firmware.
	255         	# Heads according to firmware.
	63          	# Sectors according to firmware.

I/O command overhead:
	time to read 10MB block      0.617194 sec	=    0.030 msec/sector
	time to read 20480 sectors  15.450024 sec	=    0.754 msec/sector
	calculated command overhead			=    0.724 msec/sector

Seek times:
	Full stroke:	  250 iter in   0.251563 sec =    1.006 msec
	Half stroke:	  250 iter in   1.053088 sec =    4.212 msec
	Quarter stroke:	  500 iter in   0.499425 sec =    0.999 msec
	Short forward:	  400 iter in   0.300996 sec =    0.752 msec
	Short backward:	  400 iter in   0.303678 sec =    0.759 msec
	Seq outer:	 2048 iter in   1.536665 sec =    0.750 msec
	Seq inner:	 2048 iter in   1.548363 sec =    0.756 msec
Transfer rates:
	outside:       102400 kbytes in   5.749353 sec =    17811 kbytes/sec
	middle:        102400 kbytes in   3.553501 sec =    28817 kbytes/sec
	inside:        102400 kbytes in   3.547978 sec =    28862 kbytes/sec
Seagate Momentus 7200.2 8MB 80GB SATA [ST980813AS] (2.5 laptop disk):
Code:
# diskinfo -t -c /dev/ad4
/dev/ad4
	512         	# sectorsize
	80026361856 	# mediasize in bytes (75G)
	156301488   	# mediasize in sectors
	155061      	# Cylinders according to firmware.
	16          	# Heads according to firmware.
	63          	# Sectors according to firmware.
	ad:5NH0MD7M 	# Disk ident.

I/O command overhead:
	time to read 10MB block      0.190977 sec	=    0.009 msec/sector
	time to read 20480 sectors   3.132845 sec	=    0.153 msec/sector
	calculated command overhead			=    0.144 msec/sector

Seek times:
	Full stroke:	  250 iter in   5.959489 sec =   23.838 msec
	Half stroke:	  250 iter in   4.147395 sec =   16.590 msec
	Quarter stroke:	  500 iter in   6.506640 sec =   13.013 msec
	Short forward:	  400 iter in   1.602929 sec =    4.007 msec
	Short backward:	  400 iter in   2.285750 sec =    5.714 msec
	Seq outer:	 2048 iter in   0.413902 sec =    0.202 msec
	Seq inner:	 2048 iter in   0.372223 sec =    0.182 msec
Transfer rates:
	outside:       102400 kbytes in   1.739364 sec =    58872 kbytes/sec
	middle:        102400 kbytes in   2.157085 sec =    47471 kbytes/sec
	inside:        102400 kbytes in   3.405393 sec =    30070 kbytes/sec

Seagate 7200.7 8MB 80GB PATA [ST380011A] (3.5 disk):
Code:
# diskinfo -t -c /dev/ad0
/dev/ad0
        512             # sectorsize
        80026361856     # mediasize in bytes (75G)
        156301488       # mediasize in sectors
        155061          # Cylinders according to firmware.
        16              # Heads according to firmware.
        63              # Sectors according to firmware.
        ad:5JVK88WT     # Disk ident.

I/O command overhead:
        time to read 10MB block      0.196956 sec       =    0.010 msec/sector
        time to read 20480 sectors   2.342352 sec       =    0.114 msec/sector
        calculated command overhead                     =    0.105 msec/sector

Seek times:
        Full stroke:      250 iter in   5.613326 sec =   22.453 msec
        Half stroke:      250 iter in   4.320666 sec =   17.283 msec
        Quarter stroke:   500 iter in   6.948839 sec =   13.898 msec
        Short forward:    400 iter in   2.039787 sec =    5.099 msec
        Short backward:   400 iter in   1.404436 sec =    3.511 msec
        Seq outer:       2048 iter in   0.246837 sec =    0.121 msec
        Seq inner:       2048 iter in   0.256757 sec =    0.125 msec
Transfer rates:
        outside:       102400 kbytes in   1.793044 sec =    57110 kbytes/sec
        middle:        102400 kbytes in   2.235812 sec =    45800 kbytes/sec
        inside:        102400 kbytes in   3.437295 sec =    29791 kbytes/sec
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote