All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Steven Haigh <netwiz@crc.id.au>
Cc: Felipe Franciosi <felipe.franciosi@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: IO speed limited by size of IO request (for RBD driver)
Date: Sat, 27 Apr 2013 09:06:50 +0200	[thread overview]
Message-ID: <517B790A.3020009@citrix.com> (raw)
In-Reply-To: <517B3088.7070809@crc.id.au>

On 27/04/13 03:57, Steven Haigh wrote:
> On 27/04/2013 12:16 AM, Steven Haigh wrote:
>> On 27/04/2013 12:06 AM, Roger Pau Monné wrote:
>>> On 23/04/13 21:05, Steven Haigh wrote:
>>>> Sorry - resending this to Felipe as well - as I started talking to him
>>>> directly previously.
>>>>
>>>> Felipe, to bring you up to date, I've copied over the blkback files from
>>>> Rogers indirect kernel over the vanilla 3.8.8 kernel files, built and
>>>> tested. Results below:
>>>>
>>
>> Bringing this into context in a nutshell - results showed about 5MB/sec
>> improvement when using buffered disk access - totalling ~57MB/sec write
>> speed vs ~98MB/sec when using the oflag=direct flag to dd.
>>
>> When talking about back porting a few indirect patches to mainline
>> blkback (3.8.8 atm):
>>>> On 24/04/2013 4:13 AM, Roger Pau Monné wrote:
>>>>> I think it requires a non-trivial amount of work, what you could do
>>>>> as a
>>>>> test is directly replace the affected files with the ones in my
>>>>> tree, it
>>>>> is not optimal, but I don't think it's going to cause problems, and you
>>>>> could at least see if indirect descriptors solve your problem.
>>>>
>>>> Ok, I copied across those files, built, packaged and installed them on
>>>> my Dom0. Good news is that its a little quicker, bad news is not by
>>>> much.
>>>
>>> Could you try increasing xen_blkif_max_segments variable in
>>> xen-blkfront.c to 64 or 128? It is set to 32 by default. You will only
>>> need to recompile the DomU kernel after this, the Dom0 is able to
>>> support up to 256 indirect segments.
>>
>> I'll have to look at this. All DomU's are Scientific Linux 6.4 systems -
>> so essentially RHEL6.4 and so on. I haven't built a RH kernel as yet -
>> so I'll have to look at what is involved. It might be as simple as
>> rebuilding a normal SRPM.
> 
> Ok, I've had a look at the RH xen-blkfront.c - and I can't see any 
> definition of xen_blkif_max_segments - or anything close. I've attached 
> the version used in the EL6 kernel from the kernel-2.6.32-358.6.1.el6 srpm.
> 
> Any ideas on where to go from here?

I thought you were using the 3.8.x kernel inside the DomU also, if you
are not using it, then it's normal that there's no speed difference, you
have a Dom0 kernel that supports indirect descriptors, but your DomU
doesn't. You must use a kernel that supports indirect descriptors in
both Dom0 and DomU in order to make use of this feature.

  reply	other threads:[~2013-04-27  7:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23 13:33 IO speed limited by size of IO request (for RBD driver) Sylvain Munaut
2013-04-23 13:41 ` Steven Haigh
2013-04-23 14:06   ` Roger Pau Monné
2013-04-23 14:15     ` Sylvain Munaut
2013-04-25 13:00     ` Sylvain Munaut
     [not found]     ` <51769B9D.4000708@crc.id.au>
     [not found]       ` <51769CFD.7020907@citrix.com>
     [not found]         ` <51769E1E.6040902@crc.id.au>
     [not found]           ` <5176A19A.2010802@citrix.com>
     [not found]             ` <5176A440.8040303@crc.id.au>
     [not found]               ` <5176A520.5030503@citrix.com>
     [not found]                 ` <5176A61F.6050607@crc.id.au>
     [not found]                   ` <5176A6DD.5000404@citrix.com>
     [not found]                     ` <5176AFF9.4020003@crc.id.au>
     [not found]                       ` <5176B237.8020803@citrix.com>
     [not found]                         ` <5176C073.3050409@crc.id.au>
     [not found]                           ` <5176CF56.8000505@citrix.com>
     [not found]                             ` <5176DB88.1070200@crc.id.au>
     [not found]                               ` <517A89DA.3030804@citrix.com>
2013-04-26 14:16                                 ` Steven Haigh
2013-04-27  1:57                                   ` Steven Haigh
2013-04-27  7:06                                     ` Roger Pau Monné [this message]
2013-04-27  7:51                                       ` Steven Haigh
2013-04-27  8:35                                         ` Steven Haigh
2013-04-29  8:38                                           ` Roger Pau Monné
2013-04-29 19:26                                             ` Steven Haigh
2013-04-29 19:47                                               ` Steven Haigh
2013-04-30 10:07                                                 ` Felipe Franciosi
2013-04-30 10:38                                                   ` Steven Haigh
2013-05-08  8:20                                                   ` Steven Haigh
2013-05-08  8:33                                                     ` Roger Pau Monné
2013-05-08  8:47                                                       ` Steven Haigh
2013-05-08 10:32                                                       ` Steven Haigh
2013-05-08 10:45                                                         ` Roger Pau Monné
2013-05-08 11:14                                                           ` Felipe Franciosi
2013-05-22 20:13                                                             ` Konrad Rzeszutek Wilk
2013-05-23  7:22                                                               ` Felipe Franciosi
2013-05-24 14:29                                                                 ` Konrad Rzeszutek Wilk
2013-05-08 12:56                                                           ` Steven Haigh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=517B790A.3020009@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=felipe.franciosi@citrix.com \
    --cc=netwiz@crc.id.au \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.