[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] disk performance about half in domU? + question about XenSource


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Tony Hoyle <tmh@xxxxxxxxxxxx>
  • Date: Mon, 13 Aug 2007 22:47:07 +0100
  • Delivery-date: Mon, 13 Aug 2007 14:47:31 -0700
  • Domainkey-signature: a=rsa-sha1; s=mail; d=nodomain.org; c=simple; q=dns; b=jdAgTVNnlSH+HIIPxPPmeMEMQin0FVdQBfqs7xRRVJF6LgaIekT9Goj6cwgJie8iO X9l9cvDbguuM9smYIXv16JfWhfN0lQFJ679iDZnAqkyACoqpFx+IS9xjM1XC4IdWYI0 htzR8oT5p8VO6VR2JxFWo2fUN1dkReMpAlaYjhc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Johnn Tan wrote:
Based on some tests we ran, it seems the biggest performance hit you get from running within domU is from disk I/O. We did some mysql read and write tests, and for both, our performance is about half that compared to native. Has that been others' experience?

Is there any way to make this better? We are using physical partitions. In contrast, cpu/memory tests appear to be near native.


Does buying commercial Xen (XenSource) help in anyway? Do they have optimized disk drivers?

There's also a fairly big hit on network I/O.

I don't believe you can get it any faster with the current architecture as it doesn't support any kind of DMA.. it's all software copying of data from one place to another.

One thing to do is give the dom0 its own processor - makes quite a big difference. If course because there's only one process in dom0 doing the whole I/O (qemu-dm) it'll slow down with each new domU you start up.

loopback partitions are faster because a lot gets cached in RAM, although because of that they're not so great if you get a sudden power loss. Never had a kernel that supported blktap so I don't know what kind of speed you can get out of that.

Tony

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.