From mboxrd@z Thu Jan 1 00:00:00 1970 From: annie li Subject: Re: [PATCH 0/3 V2] xen-netback: switch to NAPI + kthread 1:1 model Date: Tue, 28 May 2013 22:35:43 +0800 Message-ID: <51A4C0BF.7060504@oracle.com> References: <1369654183-10536-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1369654183-10536-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: david.vrabel@citrix.com, ian.campbell@citrix.com, konrad.wilk@oracle.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 2013-5-27 19:29, Wei Liu wrote: > * This is a xen-devel only post, since we have not reached concesus on > what to add / remove in this new model. This series tries to be > conservative about adding in new feature compared to V1. > > This series implements NAPI + kthread 1:1 model for Xen netback. > > This model > - provides better scheduling fairness among vifs > - is prerequisite for implementing multiqueue for Xen network driver > > The first two patches are ground work for the third patch. First one > simplifies code in netback, second one can reduce memory footprint if we > switch to 1:1 model. > > The third patch has the real meat: > - make use of NAPI to mitigate interrupt > - kthreads are not bound to CPUs any more, so that we can take > advantage of backend scheduler and trust it to do the right thing > > Change since V1: > - No page pool in this version. Instead page tracking facility is > removed. What is your thought about page pool in V1? will you re-post it later on? Thanks Annie > > Wei Liu (3): > xen-netback: remove page tracking facility > xen-netback: switch to per-cpu scratch space > xen-netback: switch to NAPI + kthread 1:1 model > > drivers/net/xen-netback/common.h | 92 ++-- > drivers/net/xen-netback/interface.c | 122 +++-- > drivers/net/xen-netback/netback.c | 959 +++++++++++++++-------------------- > 3 files changed, 537 insertions(+), 636 deletions(-) >