From: Wei Liu Subject: Re: Question about seperating request and response ring in PV network Date: Fri, 10 Jul 2015 09:09:24 +0100 Message-ID: <20150710080923.GA12524@zion.uk.xensource.com> References: <5d0bc7e7.177a0.14e759f98cd.Coremail.openlui@126.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <5d0bc7e7.177a0.14e759f98cd.Coremail.openlui@126.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: openlui Cc: wei.liu2@citrix.com, "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, Jul 10, 2015 at 09:41:10AM +0800, openlui wrote: > Hi, all: > > I am trying to improve the performance of netfront/netback, and I > found that there were some discussion about PV network performance > improvement in devel mailing list ([1]). The proposals mentioned > in [1] are helpful, such as multipage ring, multiqueue, etc, and > some of them have already merged into upstream. > > However, I am wondering if we have already used multipage ring, > why "seperate request and response ring" listed in [1] is also > helpful for performance improvement? I have read the > implementation of vmxnet3 driver, it does have separated request > and response rings, but I can not understand what the advantage of > this method is. Correction: network driver doesn't use multi-page ring and I don't think we have plan to do that. That email contains mostly brainstormed ideas that we thought might help improve performance. Some ideas were solid (and upstreamed), some were not. I implemented several prototype back in the day but I couldn't remember what I did. As for separating rings, there are two possibilities: 1) I didn't implement that; 2) I implemented that but there was no visible improvement. So there is no such feature in upstream driver. Wei. > Thanks. > > [1] http://lists.xen.org/archives/html/xen-devel/2013-05/msg01904.html > ---- > Best Regards > Lui > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel