From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: 4.2.1: Poor write performance for DomU. Date: Tue, 12 Mar 2013 09:04:30 -0400 Message-ID: <20130312130430.GA17901@phenom.dumpdata.com> References: <51243089.8020307@crc.id.au> <512488AC.1020702@citrix.com> <51248E23.7060408@crc.id.au> <51249C11.3050800@crc.id.au> <5139A747.80703@crc.id.au> <20130308204916.GB22146@phenom.dumpdata.com> <513A669E.4060906@crc.id.au> <20130311133017.GJ23018@phenom.dumpdata.com> <513DDE07.2090607@crc.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <513DDE07.2090607@crc.id.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Steven Haigh Cc: "xen-devel@lists.xen.org" , Roger Pau =?iso-8859-1?Q?Monn=E9?= List-Id: xen-devel@lists.xenproject.org > >So still filesystem. Fio can do it on a block level. > > > >What does 'xenstore-ls' show you and 'losetup -a'? I am really > >curious as to where that file you are providing to the guest as > >disk is being handled via 'loop' or via 'QEMU'. > > > > I've picked out what I believe is the most relevant from xenstore-ls > that belongs to the DomU in question: Great. .. snip.. > params = "/dev/vg_raid6/fileshare" > mode = "w" > online = "1" > frontend-id = "1" > type = "phy" > physical-device = "fd:5" > hotplug-status = "connected" > feature-flush-cache = "1" > feature-discard = "0" > feature-barrier = "1" > feature-persistent = "1" > sectors = "5368709120" > info = "0" > sector-size = "512" OK, so the flow of data from the guest is: bonnie++ -> FS -> xen-blkfront -> xen-blkback -> LVM -> RAID6 -> multiple disks. Any way you can restructure this to be: fio -> xen-blkfront -> xen-blkback -> one disk from the raid. to see if the issue is between "LVM -> RAID6" or the "bonnie++ -> FS" part? Is the cpu load quite high when you do these writes? What are the RAID6 disks you have? How many?