Re: FreeBSD 7.1 disk performance issue on ESXi 3.5



2009/2/11 Antony Mawer <fbsd-performance@xxxxxxxxx>:

How would one go about gathering data on such a scenario to help improve
this? We were planning a project involving VMware deployments with FreeBSD
7.1 systems in the near future, but if performance is that bad it is likely
to be a show stopper.

I have now tested it under ESXi 3.5, and here's what I find:

In FreeBSD 7.1 amd64, 4 vCPUs performance for dbench is :
1 proc : 155 MB/s, 2 proc: 175 MB/s, 4 proc: 188 MB/s
The same performance *as reported by VMWare's Infrastructure Client*
("performance" tab): around 50 MB/s in all cases
Visual inspection of drives' LED indicators (2 drive 10k RPM RAID0 hw
array) confirms constant activity.

In Ubuntu 8.10 amd64, 4 vCPUs, performance for dbench is :
1 proc: 375 MB/s, 2 proc: 660 MB/s, 4 proc: 1055 MB/s (sic!)
The same performance *as reported by VMWare Infrastructure Client*:
around 25 MB/s in all cases (sic!)
Visual inspection of drives: very sporadic activity

The maximum performance expected from this array is around 150 MB/s
*at peaks* - there is physically no way it can go above this, so I
judge the above measurements bogus.

This is all very strange. Someone here is caching more than it should
be, and it looks like it's VMWare. It doesn't look as clock skew in
the guests since "iostat 1" et al work at about 1sec wallclock time.
The "visual inspection" oddity inspired me to do another benchmark:

Bonnie++ reports:
For FreeBSD: write: 52 MB/s, rewrite: 21 MB/s, read: 45 MB/s

For Linux: write: 141 MB/s, rewrite: 55 MB/s, read: 168 MB/s

VMWare's Infrastructure Client agrees with these performance
measurements in both cases, and drives are blinking as expected.

As previously demonstrated by me and others, Linux usually has
significantly better file system performance in the non-virtualized
case, so the difference could be simply increased by the
virtualization.
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Itanium / Integrity question
    ... Good news is that with drives being so cheap these days, ... some outsourcers manage to make storage adds moves and changes many ... What is the status of VMware on Itanium these days? ...
    (comp.os.vms)
  • Re: For anybody with Norton Auntie Virus 2004 and Office 2003
    ... physical systems each with it's own set of drives. ... new clients/projects you generally end up with only a few drives per machine. ... Just give it a Share and map it within the VMWare machine. ... HTH + Cheers - Peter ...
    (microsoft.public.word.vba.general)
  • Re: [opensuse] Mounting an vmware virtual disk in Linux.
    ... would have to use the device mapper when I discovered the -o option for ... the above creates a situation where both vmware and suse ... Are your vmware virtual drives fully allocated, or did you set them up ... Litigation Triage Solutions Specialist ...
    (SuSE)
  • Re: Will wine|win4lin|VMWare save my XP bacon?
    ... double checked: XP booted and recognized both C: and D: drives. ... OS on hda, and then reinstall sid. ... I would vote for forgetting about XP dual boot and getting VMware. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: [opensuse] vmware and fake scsi drivers-final
    ... hda1partition as sda1 to vmware and thus to all the virtual machines i ... yet a dual boot configuration maintains the ide ... when vmware is told that the only drives that exist are scsi devices, it does not give any option on naming a physical drive as an ide drive, it only gives me my pick of sdx devices to choose for my physical drive. ... yes, i can install vmscsi and install an xp system, however when it all goes back to ide in a direct boot, doze just freezes up. ...
    (SuSE)