low breezy hard disk performances

Lee Willis ubuntu at lwillis.plus.com
Fri Sep 16 03:59:10 CDT 2005


On Thu, 2005-09-15 at 11:47 -0700, Matt Zimmerman wrote:

> hdparm -tT measurements are not very compelling; a bonnie++ test on hoary
> and breezy on the same hardware would be better.  I've only seen one such
> test before, but it confirms that performance is at least as good in that
> case.

I've not really come across bonnie++ before so apologies if this isn't
entirely right, however I've run it on a breezy machine (Upgrade from
hoary) in multi-user mode (From gnome-terminal, logged into GNOME), and
in single user mode and I've posted the results below.

I'm not entirely sure how to interpret these however on dumb inspection
it appears to support my previous observation that disk access in
multi-user mode is considerably slower than in single user.

If you want me to re-run this with particular options etc. please let me
know.

For the tests I used the following:

Multiuser: bonnie++ -d foo
Single user: bonnie++ -d foo -u 1000

I've also attached the output of hdparm -I for reference

I've raised the following bug to track this since there doesn't seem to
be one open:

http://bugzilla.ubuntulinux.org/show_bug.cgi?id=15571

Lee




-------------- next part --------------
Multi User
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version  1.03       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
leedesktop.plu 480M 14216  62 14031   8  8400   3 15009  57 33911   7 117.4   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  1581  98 +++++ +++ +++++ +++  1604  97 +++++ +++  3767  98
leedesktop.plus.net,480M,14216,62,14031,8,8400,3,15009,57,33911,7,117.4,0,16,1581,98,+++++,+++,+++++,+++,1604,97,+++++,+++,3767,98

Single User
Using uid:1000, gid:1000.
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version  1.03       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
leedesktop.plu 480M 22502  94 32769  16 15203   7 19808  72 35799   6 182.2   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  1860  99 +++++ +++ +++++ +++  1930  98 +++++ +++  4599  97
leedesktop.plus.net,480M,22502,94,32769,16,15203,7,19808,72,35799,6,182.2,0,16,1860,99,+++++,+++,+++++,+++,1930,98,+++++,+++,4599,97
-------------- next part --------------

/dev/hda:

ATA device, with non-removable media
	Model Number:       Maxtor 2F040L0                          
	Serial Number:      F137NAVE            
	Firmware Revision:  VAM51JJ0
Standards:
	Supported: 7 6 5 4 
	Likely used: 7
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:   80293248
	device size with M = 1024*1024:       39205 MBytes
	device size with M = 1000*1000:       41110 MBytes (41 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 1
	Standby timer values: spec'd by Standard, no device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 16
	Advanced power management level: unknown setting (0x0000)
	Recommended acoustic management value: 192, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	NOP cmd
	   *	READ BUFFER cmd
	   *	WRITE BUFFER cmd
	   *	Host Protected Area feature set
	   *	Look-ahead
	   *	Write cache
	   *	Power Management feature set
		Security Mode feature set
	   *	SMART feature set
	   *	FLUSH CACHE EXT command
	   *	Mandatory FLUSH CACHE command 
	   *	Device Configuration Overlay feature set 
	   *	Automatic Acoustic Management feature set 
		SET MAX security extension
		Advanced Power Management feature set
	   *	DOWNLOAD MICROCODE cmd
	   *	SMART self-test 
	   *	SMART error logging 
Security: 
	Master password revision code = 65534
		supported
	not	enabled
	not	locked
		frozen
	not	expired: security count
	not	supported: enhanced erase
HW reset results:
	CBLID- above Vih
	Device num = 0 determined by CSEL
Checksum: correct


More information about the ubuntu-devel mailing list