[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] scheduling of netifs in netback


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Kuriakose Mathew <kmathew123@xxxxxxxxx>
  • Date: Tue, 13 Apr 2010 09:51:18 +0530
  • Delivery-date: Mon, 12 Apr 2010 21:22:00 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.