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] scheduling of netifs in netback

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] scheduling of netifs in netback
From: Kuriakose Mathew <kmathew123@xxxxxxxxx>
Date: Tue, 13 Apr 2010 09:51:18 +0530
Delivery-date: Mon, 12 Apr 2010 21:22:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=PaxdYXxY3eE9dLXh7raw4IiAylm8A4WDO/822mycCF8=; b=IsWclI+N2ewY9XiA1pkz/pWdcmnp99zMg2RXMZcO6fZ5GFBrxPM4aYglcrhxMD5PRG eQMVP5wV9tRAljlOgzl/QctLjjJMZHnM9pcuYHcnZ+gLpH8LnTSdMhoJwjOUM8CnHuqZ cVTu+5vtBvOiMduBJyJ2XHkqn1Sm1aEiCAmr4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=A+CnJrUOfzwSlEKO5Id3jED/4PI9b3Wx5lxo7xOulHmbyuf5agv7y2TkvRIFL5FBlA 1Os5PeIjBa4HCar7U1eXqd2Db1KSrUfGS5ioYB96Ir9FZeFdZXpnoxscpLOGaJ2xcDuc HMiCx75KY91G47px0LA+AqIJJ7hcUjSwYj1dk=
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

With respect to xen 3.1.3 ,
drivers/xen/netback/netback.c

In net_tx_action function, I want to know at what interval the netif of 1 domU switches to another.
I has put debug logs , found that the credits assigned to each domU netif is ULONG_MAX.
The remaining_credits are debited based on the packet size. Suppose there are 2 DomUs, domU1 and domU2, sending large files.

First, the netif of domU1 get scheduled for some time. Its credits debited accordingly and then switches to netif of domU2. Neither the credits are  getting exhausted nor I can see any timer which runs out. On what basis does this switch happens.

Please help.

Thanks
Kuriakose
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] scheduling of netifs in netback, Kuriakose Mathew <=