From: "Jan Beulich" Subject: Re: blk[front|back] does not hand over disk parameters Date: Mon, 28 Feb 2011 12:51:18 +0000 Message-ID: <4D6BA8560200007800034111@vpn.id2.novell.com> References: <20110225164344.GW10906@vrvis.at> <1298887564.5034.584.camel@zakaz.uk.xensource.com> <4D6B8D20020000780003409E@vpn.id2.novell.com> <20110228115458.GC10906@vrvis.at> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20110228115458.GC10906@vrvis.at> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Adi Kriegisch Cc: "xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org >>> On 28.02.11 at 12:54, Adi Kriegisch wrote: > On Mon, Feb 28, 2011 at 10:55:12AM +0000, Jan Beulich wrote: >> >>> On 28.02.11 at 11:06, Ian Campbell 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. >>=20 >> 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= =20 I grepped for io_min and a couple of derived variables (like alignment_offset) but couldn't spot any I/O-relevant readers under block/. > about > that on the kernel mailing lists[1] and there is an interesting = document=20 > about > that available from Mike Snitzer[2]. I'll take a look at those. Jan