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-devel] Quesiton about Dom0 processing packets for DomUs

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Quesiton about Dom0 processing packets for DomUs
From: "Amitayu Das" <amitayudas@xxxxxxxxx>
Date: Wed, 29 Mar 2006 01:22:28 -0500
Delivery-date: Wed, 29 Mar 2006 06:23:57 +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=Skx+5a68xO0eVXE12qy26Xn2fYSz3d9dJ2Ko0ENOdYM3/0ZrYjX++y1RpobJCL0BCDWQhjXcZISEfnbDM8NvIEBGHtBI3M31HJhqkd7gn3oRK3J1DsSS6X2woUytVVQz600iyfPKL48dmsHKS+yfXDHib7m8Y7c/B0HOl/U3EdI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I had few questions about Dom0 processing network packets on behalf of other domUs.

1. If multiple domUs have pending packets to be processed and Dom0 is scheduled, then it processeses the packets (that is, puts them in the descriptor ring and so on). The question is in what order does it choose which packet to process? That is, does it just goes through the network  interrupt list (if any) and serves the packets in a FIFO manner; or  picks a certain domU and puts all packets belonging to it, in its respective descriptor ring and then proceeds with some other domU? If latter is the case, how is the order chosen? Is priority given to any domU?

2. If there are lot of packets to be processed by Dom0 (say, lot of I/O is going on by different DomUs) and Dom0 can't process them all within default time-quantam (I don't know what is the value of it under different scheduling policy), then is it given any extension or is it preempted?

3. In addition to processing pending packets, if there are packets to be transmitted to the network (created by different domUs), then how is determined if sendiong or receiving should be done first? Or are they intermixed? How is the respective sending/receving order chosen (similar to question 1)?

It'll be very helpful if someone can respond to these queries.

Thanks in advance,
Amitayu
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Quesiton about Dom0 processing packets for DomUs, Amitayu Das <=