<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to read Linux&#8217;s /proc/diskstats easily</title>
	<atom:link href="http://www.xaprb.com/blog/2010/05/14/how-to-read-linuxs-procdiskstats-easily/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2010/05/14/how-to-read-linuxs-procdiskstats-easily/</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:56:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2010/05/14/how-to-read-linuxs-procdiskstats-easily/#comment-18328</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Fri, 14 May 2010 21:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=1850#comment-18328</guid>
		<description>In my 2nd paragraph above, I used &quot;read&quot; as a synonym for &quot;request&quot; which I think confuses things more.  Sorry.</description>
		<content:encoded><![CDATA[<p>In my 2nd paragraph above, I used &#8220;read&#8221; as a synonym for &#8220;request&#8221; which I think confuses things more.  Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2010/05/14/how-to-read-linuxs-procdiskstats-easily/#comment-18327</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Fri, 14 May 2010 21:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=1850#comment-18327</guid>
		<description>I&#039;m not sure it really helps to think of it in terms of per-thread.

From the iostats documentation, you can see that ms_read + ms_write is &quot;the total number of milliseconds spent by all reads (as  measured from __make_request() to end_that_request_last()).&quot;  This doesn&#039;t get incremented until the read completes.  However, ms_weighted increases as the reads are in progress.  Various scenarios can lead to the numbers being bigger or smaller.  Remember also that the numbers in my sample are all made relative to the previous line.

Milliseconds spent reading and writing are indeed the sum of all requests, so they are higher than wall-clock time if there is parallelism.  And you can apply Little&#039;s Law to these numbers to compute the parallelism and a bunch of other stuff.  I think I have a draft blog post (part 2 of my previous post you referenced) on that.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure it really helps to think of it in terms of per-thread.</p>
<p>From the iostats documentation, you can see that ms_read + ms_write is &#8220;the total number of milliseconds spent by all reads (as  measured from __make_request() to end_that_request_last()).&#8221;  This doesn&#8217;t get incremented until the read completes.  However, ms_weighted increases as the reads are in progress.  Various scenarios can lead to the numbers being bigger or smaller.  Remember also that the numbers in my sample are all made relative to the previous line.</p>
<p>Milliseconds spent reading and writing are indeed the sum of all requests, so they are higher than wall-clock time if there is parallelism.  And you can apply Little&#8217;s Law to these numbers to compute the parallelism and a bunch of other stuff.  I think I have a draft blog post (part 2 of my previous post you referenced) on that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devananda</title>
		<link>http://www.xaprb.com/blog/2010/05/14/how-to-read-linuxs-procdiskstats-easily/#comment-18326</link>
		<dc:creator>Devananda</dc:creator>
		<pubDate>Fri, 14 May 2010 20:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=1850#comment-18326</guid>
		<description>Baron, handy tools, thank you for sharing :) I&#039;m using your previous post (http://www.xaprb.com/blog/2010/01/09/how-linux-iostat-computes-its-results/) as a reference for interpreting this output.

In your example here, what does it mean when (ms_read + ms_write) &gt; ms_weighted, and what does the opposite mean? I see cases of both -- line 3, ms_weighted is almost 2x higher; third line from bottom, it is about 15% lower.

Also, would I be correct to say that ms_reading&#124;writing are sum of per-thread stats (similar to ms_weighted), such that they are often higher than elapsed wall-clock time? If so, is the relationship between ms_doing_io (wall-clock time) and ms_weighted (per-thread) approximately indicative of the amount of IO parallelization happening?</description>
		<content:encoded><![CDATA[<p>Baron, handy tools, thank you for sharing :) I&#8217;m using your previous post (<a href="http://www.xaprb.com/blog/2010/01/09/how-linux-iostat-computes-its-results/" rel="nofollow">http://www.xaprb.com/blog/2010/01/09/how-linux-iostat-computes-its-results/</a>) as a reference for interpreting this output.</p>
<p>In your example here, what does it mean when (ms_read + ms_write) &gt; ms_weighted, and what does the opposite mean? I see cases of both &#8212; line 3, ms_weighted is almost 2x higher; third line from bottom, it is about 15% lower.</p>
<p>Also, would I be correct to say that ms_reading|writing are sum of per-thread stats (similar to ms_weighted), such that they are often higher than elapsed wall-clock time? If so, is the relationship between ms_doing_io (wall-clock time) and ms_weighted (per-thread) approximately indicative of the amount of IO parallelization happening?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

