From: Samvel Yuri Subject: Re: blkif shared ring Date: Tue, 18 Nov 2008 18:02:44 -0800 (PST) Message-ID: <742502.67870.qm@web110001.mail.gq1.yahoo.com> References: <663860.81684.qm@web110004.mail.gq1.yahoo.com> <20081118233943.GG5060@const.famille.thibault.fr> <311346.33122.qm@web110013.mail.gq1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0992137590==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Geoffrey Lefebvre Cc: Dutch Meyer , Samuel Thibault , xen-devel , Andrew Warfield List-Id: xen-devel@lists.xenproject.org --===============0992137590== Content-Type: multipart/alternative; boundary="0-1373783126-1227060164=:67870" --0-1373783126-1227060164=:67870 Content-Type: text/plain; charset=us-ascii hello Geoffrey- Ahh, so Parallax project just do multi-page ring (and not entirely another set of shared ring). I am going to try 4 * PAGE_SIZE and see whether the box stays alive. Were the patches self contained in blkfront & blkback? If possible a pointer to blkfront & blkback will be useful. thanks for you reply, Sameer thanks, ~Sam ________________________________ From: Geoffrey Lefebvre To: Samvel Yuri Cc: Samuel Thibault ; xen-devel ; Dutch Meyer ; Andrew Warfield Sent: Tuesday, November 18, 2008 5:16:21 PM Subject: Re: [Xen-devel] blkif shared ring On Tue, Nov 18, 2008 at 3:49 PM, Samvel Yuri wrote: > > hi Samuel- > > Would you please explain what do you mean by "using the whole buffer page"? > > Parallax (project of University of British Columbia) modified XEN by > allocating an > additional shared ring page in the blkback driver. Probably one of options? > Hi, Regarding Parallax, we added support for multi-page ring to increase the throughput of a guest block device when using an iscsi filer as a backend. The single page ring is enough to saturate a standard SATA drive but we got a noticeable performance increase (from 65 to a 105MBps I think) when we doubled the ring size with the iscsi backend. I remember seeing multi-page ring patches for mini-os and fs-back from Samuel. Is there a plan to generalize these patches to blkfront/back/tap? We had patches for blkfront, blkback and blktap. The size of the ring was a compile time option for blkfront. The patches are pretty old (3.1 I think) but could probably be refreshed without too much effort. geoffrey --0-1373783126-1227060164=:67870 Content-Type: text/html; charset=us-ascii

hello Geoffrey-

Ahh, so Parallax project just do multi-page ring (and not entirely another set of shared ring). I
am going to try 4 * PAGE_SIZE and see whether the box stays alive. Were the patches self
contained in blkfront & blkback? If possible a pointer to blkfront & blkback will be useful.

thanks for you reply,
Sameer

thanks,
~Sam


From: Geoffrey Lefebvre <geoffrey@cs.ubc.ca>
To: Samvel Yuri <samvelox@yahoo.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>; xen-devel <xen-devel@lists.xensource.com>; Dutch Meyer <dmeyer@cs.ubc.ca>; Andrew Warfield <andy@cs.ubc.ca>
Sent: Tuesday, November 18, 2008 5:16:21 PM
Subject: Re: [Xen-devel] blkif shared ring

On Tue, Nov 18, 2008 at 3:49 PM, Samvel Yuri <samvelox@yahoo.com> wrote:
>
> hi Samuel-
>
> Would you please explain what do you mean by "using the whole buffer page"?
>
> Parallax (project of University of British Columbia) modified XEN by
> allocating an
> additional shared ring page in the blkback driver. Probably one of options?
>

Hi,

Regarding Parallax, we added support for multi-page ring to increase
the throughput of a guest block device when using an iscsi filer as a
backend. The single page ring is enough to saturate a standard SATA
drive but we got a noticeable performance increase (from 65 to a
105MBps I think) when we doubled the ring size with the iscsi backend.

I remember seeing multi-page ring patches for mini-os and fs-back from
Samuel. Is there a plan to generalize these patches to
blkfront/back/tap?

We had patches for blkfront, blkback and blktap. The size of the ring
was a compile time option for blkfront. The patches are pretty old
(3.1 I think) but could probably be refreshed without too much effort.

geoffrey

--0-1373783126-1227060164=:67870-- --===============0992137590== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0992137590==--