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

[Xen-devel] Does tapdisk2 dispatch requests from different DomUs?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Yuehai Xu <yuehaixu@xxxxxxxxx>
  • Date: Wed, 26 Jan 2011 10:36:55 -0500
  • Cc: George Dunlap <dunlapg@xxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, keir@xxxxxxx, yhxu@xxxxxxxxx
  • Delivery-date: Wed, 26 Jan 2011 07:51:41 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=FApkXelmf/vxY/BJc4AYA7TSpRlJVHolZyM8LICMALdqsazRJhsFknF2lewLGt5thp dO2KYdlBgaNJOk+YDCs2zLiZrsO6LC3k4odRTOvIWFpARtjXvZhpuCFtoAI3SEvxYPvk EXocyegm8vFA2F9Y/BniA52oUI8Uxbgpj2KSM=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi All,

Suppose there are two DomUs, and each one has a corresponding tapdisk2
process to dispatch requests. Theoretically, different tapdisk should
only dispatch requests from its corresponding DomU. However, I notice
that a certain tapdisk would dispatch requests from other DomUs, is it
normal?

Below is the background:
Dom1.cfg:
kernel="/boot/vmlinuz-2.6.31.13-xen-guest_32bit_ubuntu"
name = "dom1"
vif  = ['mac=00:1A:2A:4A:6A:8A, bridge=xenbr0, ip=192.168.1.111']
disk = ['tap2:aio:/guest_os/dom1/img,xvda1,w',
'tap2:aio:/guest_os/dom1/swap,xvda2,w',
'tap2:aio:/mnt/sdb1/xen/img,xvdc,w']
root = "/dev/xvda1"
extra = "fastboot enforcing=0 console=hvc0"

Dom2.cfg:
kernel="/boot/vmlinuz-2.6.31.13-xen-guest_32bit_ubuntu"
name = "dom2"
vif  = ['mac=00:1B:2B:4B:6B:8B, bridge=xenbr0, ip=192.168.1.112']
disk = ['tap2:aio:/guest_os/dom2/img,xvda1,w',
'tap2:aio:/guest_os/dom2/swap,xvda2,w',
'tap2:aio:/mnt/sdb7/xen/img,xvdb,w']
root = "/dev/xvda1"
extra = "fastboot enforcing=0 console=hvc0"

ps -ef | grep tapdisk | grep sdb :
root      7225     1  0 09:51 ?        00:00:18 /usr/sbin/tapdisk2 -n
aio:/mnt/sdb7/xen/img
root      8670     1  0 10:13 ?        00:00:00 /usr/sbin/tapdisk2 -n
aio:/mnt/sdb1/xen/img

When I run postmark which creates small random writes in both Doms,
each tapdisk dispatches requests both from Dom1 and Dom2. In this way,
it is impossible to do QoS for disk I/O since it will never be known
which requests are from which DomUs. Is this a known problem or is
there something wrong that I have done?

I appreciate your help.

Thanks,
Yuehai

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


 


Rackspace

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