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-devel

[Xen-users] Scheduling questions for I/O activity

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Scheduling questions for I/O activity
From: "Amitayu Das" <amitayudas@xxxxxxxxx>
Date: Tue, 28 Feb 2006 19:28:05 -0500
Delivery-date: Wed, 01 Mar 2006 00:28:45 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=GQKZrk2HNC37yiXOkMyeGquYLcRQ5uQhXQFbZKI87GSRW1ld2e55fwSqePcvvNRCXneNx1trwZI2mVavzKkOBBnXcatRrQF5KzHJ1aolyQLxllnvWe203XNgPeCDKenHrw0O44WM+s7dldkip5jBtH2toxUKGlo9LMg0hCQPhRQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Had two more questions about scheduling mechanisms employed by Xen.
Can you please answer them?

1. Say, DomU1 started transmitting packets over the network and got
blocked. Dom0 is supposed to do the actual transmission and it did
that. Eventually, when the reply came from the other side, nither
Dom0 nor DomU1 is scheduled. How does hypervisor react to this
interrupt? I can think of the following situations and you may be
able to tell me which is correct:

a. hypervisor preempts the currently running entity (which is
neither DomU1/Dom0) and schedules Dom0 to complete the I/O. When
Dom0 is done,
the preempted guy is scheduled again.

b. hypervisor preempts the currently running entity (which is
neither
DomU1/Dom0) and schedules Dom0 to complete the I/O. When Dom0 is
done,
DomU1 is scheduled.

c. hypervisor does not do any preemption; schedules Dom0/DomU1
according to the predefined order.

I don't know if (c) is actually possible or not. If anything else
happens in reality, please let me know.

2. Unmodified guest OSs can run on VT-x machine. What happens to the I/O activity
done by each guest OS? Do they still rely on Dom0 or they perform
I/O by themselves?

Thanks,
Amitayu
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Scheduling questions for I/O activity, Amitayu Das <=