Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2009 12:33:07 +0100
From:      Sebastiaan van Erk <sebster@sebster.com>
To:        freebsd-performance@freebsd.org
Subject:   FreeBSD 7.1 disk performance issue on ESXi 3.5
Message-ID:  <499165F3.6050803@sebster.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi,

I want to deploy a production FreeBSD web site (database cluster, apache 
cluster, ip failover using carp, etc.), however I'm experiencing painful 
disk I/O throughput problems which currently does not make the above 
project viable. I've done some rudimentary benchmarking of two 
identically configured virtual machines (2 VCPUs, 512MB memory, 8GB 
disk) and installed one with FreeBSD 7.1-amd64 and one with Linux Ubuntu 
8.10-amd64. These are the results I'm getting with dbench <n>:

<n>             1               2               4
freebsd         12.0009         13.6348         12.9402         (MB/s)
linux           376.145         651.314         634.649         (MB/s)

Both virtual machines run dbench 3.04 and the results are extremely 
stable over repeated runs.

The virtual hardware detected by the FreeBSD machine is as follows:

mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x1080-0x10ff mem 
0xf4810000-0xf4810fff irq 17 at device 16.0 on pci0
mpt0: [ITHREAD]
mpt0: MPI Version=1.2.0.0

And:

da0 at mpt0 bus 0 target 0 lun 0
da0: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device
da0: 3.300MB/s transfers
da0: 8192MB (16777216 512 byte sectors: 255H 63S/T 1044C)

I've also run unixbench (4.1 and 5.1.2) and the performance of the 
FreeBSD machine is horrible compared to Linux on many of the tests, 
though my first guess is that it all comes back down the disk 
performance (on the CPU-only tests the results are about the same).

Online when I see logs of da0 specs via google, they more look more like 
this (much higher transfer rate, and SCSI-n, n>2):

da0: <ATA GB0500C8046 HPG1> Fixed Direct Access SCSI-5 device
da0: 300.000MB/s transfers

Does anybody know how I can get proper performance for the drive under ESXi?

Regards,
Sebastiaan


[-- Attachment #2 --]
0	*H
010	+0	*H
	Q00lS|
6$1-~j0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
080630135157Z
090630135157Z0h10Uvan Erk10U*
Sebastiaan10USebastiaan van Erk1"0 	*H
	sebster@sebster.com0"0
	*H
0
Va\bEnݚa<M8ʄ^tv>x73bohi2oqS_¶Bm^p*I	x"9pt!jar#)n)^?'z<).+Ѐ4igR'UP*\Ւ,?.;?fBܯTzM IDվCK*3Yŧ
mcaztxʐsq/00.0U0sebster@sebster.com0U00
	*H
KT4W6ӽq]
tS` %f1G:HbzJj$EjE'JV~-VbVnJZE/`@@04!+T:c	پf`$Z=1#|oG[OBRG00lS|
6$1-~j0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
080630135157Z
090630135157Z0h10Uvan Erk10U*
Sebastiaan10USebastiaan van Erk1"0 	*H
	sebster@sebster.com0"0
	*H
0
Va\bEnݚa<M8ʄ^tv>x73bohi2oqS_¶Bm^p*I	x"9pt!jar#)n)^?'z<).+Ѐ4igR'UP*\Ւ,?.;?fBܯTzM IDվCK*3Yŧ
mcaztxʐsq/00.0U0sebster@sebster.com0U00
	*H
KT4W6ӽq]
tS` %f1G:HbzJj$EjE'JV~-VbVnJZE/`@@04!+T:c	پf`$Z=1#|oG[OBRG0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1q0m0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAS|
6$1-~j0	+0	*H
	1	*H
0	*H
	1
090210113307Z0#	*H
	1;`]M}^P0_	*H
	1R0P0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAS|
6$1-~j0*H
	1xv0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAS|
6$1-~j0
	*H
a?7E;N`fN.+rb(8,lB-8&5]fuC"iq;?,YR!)H8.tMn,_K<H%;FFliyt"QS]**m؏<܀gaJwhn.ҐYa1-[16)	=be'V9B^мNa`\,~IԮG
*dOO\ءK
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499165F3.6050803>