<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Optimize hard disk performance in Linux; benchmarks on Slicehost</title>
	<link>http://www.tummblr.com/linux/optimize-hard-disk-performance-in-linux-benchmarks-on-slicehost/</link>
	<description>Records of my tumblings through the intarwebs</description>
	<pubDate>Sun, 12 Oct 2008 05:32:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Senior</title>
		<link>http://www.tummblr.com/linux/optimize-hard-disk-performance-in-linux-benchmarks-on-slicehost/#comment-349</link>
		<dc:creator>Senior</dc:creator>
		<pubDate>Mon, 07 Jul 2008 12:03:56 +0000</pubDate>
		<guid>http://www.tummblr.com/linux/optimize-hard-disk-performance-in-linux-benchmarks-on-slicehost/#comment-349</guid>
		<description>Just to make a quick modification to fix a bug:

for r in 128 256 512 1024 2048; do \
 sudo hdparm -a${r} /dev/sda1
 echo -n "With readahead $r, "; \
 for ((i=1;i&#60;11;i++)); do \
  aux=$((aux + \
  `sudo hdparm -t /dev/sda1 &#124; grep "Timing buffered" &#124; \
  awk -F" " '{print $11;}' &#124; awk -F"." '{print $1;}'`)); \
 done; \
 echo "average timing buffered disk reads: $((aux/10))"; \
 aux=0; \
done</description>
		<content:encoded><![CDATA[<p>Just to make a quick modification to fix a bug:</p>
<p>for r in 128 256 512 1024 2048; do \<br />
 sudo hdparm -a${r} /dev/sda1<br />
 echo -n &#8220;With readahead $r, &#8220;; \<br />
 for ((i=1;i&lt;11;i++)); do \<br />
  aux=$((aux + \<br />
  `sudo hdparm -t /dev/sda1 | grep &#8220;Timing buffered&#8221; | \<br />
  awk -F&#8221; &#8221; &#8216;{print $11;}&#8217; | awk -F&#8221;.&#8221; &#8216;{print $1;}&#8217;`)); \<br />
 done; \<br />
 echo &#8220;average timing buffered disk reads: $((aux/10))&#8221;; \<br />
 aux=0; \<br />
done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tummblr</title>
		<link>http://www.tummblr.com/linux/optimize-hard-disk-performance-in-linux-benchmarks-on-slicehost/#comment-263</link>
		<dc:creator>Tummblr</dc:creator>
		<pubDate>Tue, 29 Jan 2008 17:53:37 +0000</pubDate>
		<guid>http://www.tummblr.com/linux/optimize-hard-disk-performance-in-linux-benchmarks-on-slicehost/#comment-263</guid>
		<description>Thanks, chous!  An automated benchmark is much more elegant.</description>
		<content:encoded><![CDATA[<p>Thanks, chous!  An automated benchmark is much more elegant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chous</title>
		<link>http://www.tummblr.com/linux/optimize-hard-disk-performance-in-linux-benchmarks-on-slicehost/#comment-262</link>
		<dc:creator>chous</dc:creator>
		<pubDate>Tue, 29 Jan 2008 17:50:52 +0000</pubDate>
		<guid>http://www.tummblr.com/linux/optimize-hard-disk-performance-in-linux-benchmarks-on-slicehost/#comment-262</guid>
		<description>Using your proposal, an inline script to get the averages automatically:

for r in 128 256 512 1024 2048; do \
  echo -n "With readahead $r, "; \
  for ((i=1;i&#60;11;i++)); do \
    aux=$((aux + \
        `sudo hdparm -t /dev/sda1 &#124; grep "Timing buffered" &#124; \
         awk -F" " '{print $11;}' &#124; awk -F"." '{print $1;}'`)); \
  done; \
  echo "average timing buffered disk reads: $((aux/10))"; \
  aux=0; \
done</description>
		<content:encoded><![CDATA[<p>Using your proposal, an inline script to get the averages automatically:</p>
<p>for r in 128 256 512 1024 2048; do \<br />
  echo -n &#8220;With readahead $r, &#8220;; \<br />
  for ((i=1;i&lt;11;i++)); do \<br />
    aux=$((aux + \<br />
        `sudo hdparm -t /dev/sda1 | grep &#8220;Timing buffered&#8221; | \<br />
         awk -F&#8221; &#8221; &#8216;{print $11;}&#8217; | awk -F&#8221;.&#8221; &#8216;{print $1;}&#8217;`)); \<br />
  done; \<br />
  echo &#8220;average timing buffered disk reads: $((aux/10))&#8221;; \<br />
  aux=0; \<br />
done</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.135 seconds -->
