From: Wei Liu Subject: Re: [Hackathon minutes] PV block improvements Date: Tue, 25 Jun 2013 14:01:30 +0100 Message-ID: <20130625130130.GD2394@zion.uk.xensource.com> References: <519F81E1.8030203@citrix.com> <51C48923.1040808@citrix.com> <20130621180721.GA32653@u109add4315675089e695.ant.amazon.com> <51C54E18.6020303@citrix.com> <20130625060917.GA5287@u109add4315675089e695.ant.amazon.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20130625060917.GA5287@u109add4315675089e695.ant.amazon.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: Matt Wilson Cc: wei.liu2@citrix.com, Konrad Rzeszutek Wilk , xen-devel , Roger Pau =?iso-8859-1?Q?Monn=E9?= List-Id: xen-devel@lists.xenproject.org On Mon, Jun 24, 2013 at 11:09:19PM -0700, Matt Wilson wrote: > On Sat, Jun 22, 2013 at 09:11:20AM +0200, Roger Pau Monn=E9 wrote: > > On 21/06/13 20:07, Matt Wilson wrote: > > > On Fri, Jun 21, 2013 at 07:10:59PM +0200, Roger Pau Monn=E9 wrote: > = > [...] > = > > >> 2. Switch to grant copy in blkback, and get rid of persistent grants= (I > > >> have not benchmarked this solution, but I'm quite sure it will invol= ve a > > >> performance regression, specially when scaling to a high number of d= omains). > > > = > > > Why do you think so? > > = > > First because grant_copy is done by the hypervisor, while when using > > persistent grants the copy is done by the guest. Also, grant_copy takes > > the grant lock, so when scaling to a large number of domains there's > > going to be contention around this lock. Persistent grants don't need > > any shared lock, and thus scale better. > = > It'd benefit xen-netback to make the locking in the copy path more > fine grained. That would help multi-vif domUs today, and multi-queue > vifs later on. > = I'm not sure I follow. I presume you mean using persistent grant in xen-netback to help scale better? Wei. > Thoughts? > = > --msw > = > = > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel