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

[Xen-devel][Pv-ops][PATCH 2/3] Resend: Netback: Multiple tasklets support.


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
  • From: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>
  • Date: Mon, 26 Apr 2010 22:27:47 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc:
  • Delivery-date: Mon, 26 Apr 2010 07:31:25 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcrlTKRPgjkci8sSRPetMWqbo0SajQ==
  • Thread-topic: [Xen-devel][Pv-ops][PATCH 2/3] Resend: Netback: Multiple tasklets support.

Now netback uses one pair of tasklets for Tx/Rx data transaction. Netback
tasklet could only run at one CPU at a time, and it is used to serve all the
netfronts. Therefore it has become a performance bottle neck. This patch is to
use multiple tasklet pairs to replace the current single pair in dom0.

Assuming that Dom0 has CPUNR VCPUs, we define CPUNR kinds of tasklets pair
(CPUNR for Tx, and CPUNR for Rx). Each pare of tasklets serve specific group of
netfronts. Also for those global and static variables, we duplicated them for
each group in order to avoid the spinlock.

Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx>

Attachment: 0002-Netback-Multiple-tasklets-support.patch
Description: 0002-Netback-Multiple-tasklets-support.patch

_______________________________________________
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®.