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

Re: [Xen-devel] Scheduling questions for I/O activity on Dom0

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Scheduling questions for I/O activity on Dom0
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 27 Mar 2006 17:01:42 +0000
Cc: Amitayu Das <amitayudas@xxxxxxxxx>
Delivery-date: Mon, 27 Mar 2006 17:03:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5f74ce410603270857g5eb36dffw6c0c99d2c6f83d78@xxxxxxxxxxxxxx>
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>
References: <5f74ce410603270857g5eb36dffw6c0c99d2c6f83d78@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
> a. DomU sends 1 packet *ONLY*, waits for Dom0 to serve him. Later
> whenever, Dom0 is scheduled, it transmits that single packet; an
> inefficient way of doing the things.
>
> b. DomU sends one/multiple packets (>=1) and waits for Dom0 to serve
> him. Later Dom0 serves for him whenever Dom0 is scheduled; a more
> efficient way of doing the things.
>
> I think (b) is adopted by Xen, but am not sure. Can you guys kindly tell
> me?

Yes, that's right.

The packets (or rather, descriptors for the packets) are queued in a shared 
memory ringbuffer for dom0 to find them.

Event channels are used for dom0/domU to notify each other of changes in the 
ring.  Events are not generated for each packet for reasons of efficiency - 
batching makes virtualisation less painful (in terms of performance) for 
network devices.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

<Prev in Thread] Current Thread [Next in Thread>