[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Mon Jan 10 21:33:27 2005 -->
- <!--x-from-r13: qnafpbk ng zvaqfcevat.pbz (Rnaal Qbk) -->
- <!--x-message-id: 1105410557.19552.10.camel@pip -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 1105402523.19552.1.camel@pip -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Understanding dd and/or /dev/zero -->
- <li><em>date</em>: Mon Jan 10 21:33:27 2005</li>
- <li><em>from</em>: danscox at mindspring.com (Danny Cox)</li>
- <li><em>in-reply-to</em>: <<a href="msg00336.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00330.html">[email protected]</a>> <1105402523.19552.1.camel@pip> <<a href="msg00336.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Understanding dd and/or /dev/zero</li>
On Mon, 2005-01-10 at 19:41 -0500, Greg Freemyer wrote:
> I'll do it tomorrow, but I assume you are trying to cause swapping???
No, as I said, just another data point. 1 MB is lots bigger than 512,
so I thought we'd just see if it made a difference.
In the past, I frequently used a larger block size to write to various
tape devices, and the larger a block size I can stuff down it's throat,
the faster it runs. It can make a huge difference in copying a large
file, too.
Thus, if there IS a difference in what iostat says during a run with a
large block size, then we might say that iostat, or where ever it's
getting it's numbers from may be wrong.
Ah, I just had a thought. Doesn't Linux always use a 4K page size? In
that case, using the dd default of 512 bytes, the kernel will have to
read each page once (for 4K), in the event that you only modify part of
it, and write it back out. That's perhaps where your reads are coming
from. Try a 4k block size, and see if it makes a difference.
--
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.
Danny
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00342" href="msg00342.html">[ale] Understanding dd and/or /dev/zero</a></strong>
<ul><li><em>From:</em> jkf at wolfnet.org (Jason Fritcher)</li></ul></li>
<li><strong><a name="00371" href="msg00371.html">[ale] Understanding dd and/or /dev/zero</a></strong>
<ul><li><em>From:</em> greg.freemyer at gmail.com (Greg Freemyer)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00330" href="msg00330.html">[ale] Understanding dd and/or /dev/zero</a></strong>
<ul><li><em>From:</em> greg.freemyer at gmail.com (Greg Freemyer)</li></ul></li>
<li><strong><a name="00334" href="msg00334.html">[ale] Understanding dd and/or /dev/zero</a></strong>
<ul><li><em>From:</em> danscox at mindspring.com (Danny Cox)</li></ul></li>
<li><strong><a name="00336" href="msg00336.html">[ale] Understanding dd and/or /dev/zero</a></strong>
<ul><li><em>From:</em> greg.freemyer at gmail.com (Greg Freemyer)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00338.html">[ale] Protected message</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00340.html">[ale] Syntax for resizing photos</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00336.html">[ale] Understanding dd and/or /dev/zero</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00342.html">[ale] Understanding dd and/or /dev/zero</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00339"><strong>Date</strong></a></li>
<li><a href="threads.html#00339"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>