From: Adi Kriegisch <adi@cg.tuwien.ac.at>
To: Jan Beulich <JBeulich@novell.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: blk[front|back] does not hand over disk parameters
Date: Mon, 28 Feb 2011 12:54:58 +0100 [thread overview]
Message-ID: <20110228115458.GC10906@vrvis.at> (raw)
In-Reply-To: <4D6B8D20020000780003409E@vpn.id2.novell.com>
On Mon, Feb 28, 2011 at 10:55:12AM +0000, Jan Beulich wrote:
> >>> On 28.02.11 at 11:06, Ian Campbell <Ian.Campbell@citrix.com> wrote:
[SNIP]
> > It should be trivial to add this in a compatible manner since the
> > frontend can just do what it does today if the nodes are missing and the
> > backend wouldn't rely on the frontend doing anything useful with the
> > information anyway.
>
> Am I right in understanding that these numbers aren't used by
> the block layer itself at all, but just get provided to userspace for
> whatever optimization it can do? In that case, I can't really see
> how passing through these values can really help general
> performance (i.e. for apps not paying attention to these values).
AFAIK these values are used by mkfs.* in userspace and by the I/O Schedulers
in kernel space to optimize performance. There has been some discussions about
that on the kernel mailing lists[1] and there is an interesting document about
that available from Mike Snitzer[2].
Those values are important for 4K block size drives, for SSDs and -- as in my
case -- for RAID levels with checksums.
A quick test with a samba server installed in Dom0 revealed that those
values do not need to be honoured by Samba to get full write speed. I/O
scheduler seems to be the one that needs those values.
-- Adi
[1] http://marc.info/?l=linux-ide&m=124058535512850&w=4
[2] http://people.redhat.com/msnitzer/docs/io-limits.txt
next prev parent reply other threads:[~2011-02-28 11:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 16:43 blk[front|back] does not hand over disk parameters Adi Kriegisch
2011-02-28 10:06 ` Ian Campbell
2011-02-28 10:55 ` Jan Beulich
2011-02-28 11:13 ` Ian Campbell
2011-02-28 12:54 ` Jan Beulich
2011-02-28 11:54 ` Adi Kriegisch [this message]
2011-02-28 12:51 ` Jan Beulich
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=20110228115458.GC10906@vrvis.at \
--to=adi@cg.tuwien.ac.at \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@novell.com \
--cc=xen-devel@lists.xensource.com \
/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.