WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] blkif shared ring

To: Geoffrey Lefebvre <geoffrey@xxxxxxxxx>
Subject: Re: [Xen-devel] blkif shared ring
From: Samvel Yuri <samvelox@xxxxxxxxx>
Date: Tue, 18 Nov 2008 18:02:44 -0800 (PST)
Cc: Dutch Meyer <dmeyer@xxxxxxxxx>, Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Andrew Warfield <andy@xxxxxxxxx>
Delivery-date: Tue, 18 Nov 2008 18:03:10 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=XWNsdVxUAeS69lW4N9WmYEO+EJkn1N+LvwM8Bf4HeWttYIEC+BdHhZJ1Nzd9azeLcfFEhQLY2LplGZRswskK+RIx1PTDTRtS1wWibGV8sPQ+85ev9+CkIbx9JSXD8hZ8mGrqDfuZcTKtrX5US2Y9cqf/dTAGoejCJZiRZA/iyLM=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <663860.81684.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20081118233943.GG5060@xxxxxxxxxxxxxxxxxxxxxxxxx> <311346.33122.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <c3c918090811181716w5ea6ae6fy695cbac7aacc9fc0@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

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@xxxxxxxxx>
To: Samvel Yuri <samvelox@xxxxxxxxx>
Cc: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>; xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>; Dutch Meyer <dmeyer@xxxxxxxxx>; Andrew Warfield <andy@xxxxxxxxx>
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@xxxxxxxxx> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>