WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: Subject: RE: [Xen-users] Poor disk io performance in domUs

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: Subject: RE: [Xen-users] Poor disk io performance in domUs
From: "David Brown" <dmlb2000@xxxxxxxxx>
Date: Fri, 22 Jun 2007 09:00:04 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Andrej Radonic <rado@xxxxxxxxxxxxx>
Delivery-date: Fri, 22 Jun 2007 08:58:07 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bEpFcn/3JicRzbr92EWkWpoa1xU239MHuib0jFs7E88gcnecR0GVCCnYzLMMEAG1P1R+hCJksP46VCAIxKbzm4DFrI8K0TudOBummQjTkqkyThNtQB/DWaRii7Nt0W8RGDJbMhrObOYhQyyWsvtT4JSGHkaCtKWUUV5mUzSUvFc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GnxPJFZtuSmkVq6d5JRkMW3h9xyjqHC52vS6Kg5kRK7hbww1fua05gBPB0MBXPzYmwCPQ/sN2UIqAywy3GM3TQY5JuXgM2W9DvRynKYAjoDPQQ+kWn48atAr4oZJylTYoRQDHXc/zuZZM3OtYceCTP+CPDcnPBAdHQcW90XjLPw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561E81@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <9c21eeae0706220816u2e072270g245db81058ea02bc@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B02561E81@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Actually, if you expect IOMMU to solve the problem, you can do the same
(with slightly less security, admittedly) in Para-virtual domains today
- since IOMMU can only translate and protect on a per-device level, so
you need to have one device per domain.

Well yeah the same thing can be accomplished today but there's that
little kernel process that has to do the mapping in software and that
takes away cpu time from doing other work.

Ideally, you would bring up a box with say 6+ domains on it plus a
dom0 and no matter what you did with the domains it wouldn't adversely
affect the other domains, even dom0. So this theoretical box would
probably have 7 network devices (with IOMMU) mapped to the various
domains in hardware so no software has to do the mapping to the
different address spaces. Similarly with disk devices, there would
have to be 7 scsi devices so that each could be mapped the the various
domains. Then there would be only one box and it could really look
like 7 different machines and have the same performance as it would
normally.

So if you have a disk-controller with disk for each domain, you could do
that today. Same with network controllers [there are even some network
controllers which are "multihead", meaning that they present themselves
as multiple individual devices, even though it all goes onto a single
network connection].

The other point that immediately comes to mind here is that the Dom0
should definitely have it's own CPU if you're doing a lot of
disk/network IO through it.

Well, I should have said hardware IOMMU, but you're right, its on a
device based level which doesn't help I/O so much since that's not
based on disks. Really what we need is a scsi based IOMMU controler of
some kind that can do the translation on the device itself per disk,
now that'd be cool :)

- David Brown

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