<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Thinking things through: dd over USB1.1</title>
	<atom:link href="http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/</link>
	<description>K.Mandla's blog of Linux experiences</description>
	<lastBuildDate>Mon, 11 Feb 2013 18:19:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: M. Klay</title>
		<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45173</link>
		<dc:creator><![CDATA[M. Klay]]></dc:creator>
		<pubDate>Sat, 28 Aug 2010 07:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45173</guid>
		<description><![CDATA[of course it is...]]></description>
		<content:encoded><![CDATA[<p>of course it is&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Foz</title>
		<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45102</link>
		<dc:creator><![CDATA[Foz]]></dc:creator>
		<pubDate>Wed, 25 Aug 2010 14:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45102</guid>
		<description><![CDATA[Dismantle an old hifi speaker. The woofer magnets are fantastic!]]></description>
		<content:encoded><![CDATA[<p>Dismantle an old hifi speaker. The woofer magnets are fantastic!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45098</link>
		<dc:creator><![CDATA[Zach]]></dc:creator>
		<pubDate>Wed, 25 Aug 2010 05:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45098</guid>
		<description><![CDATA[If you zero a drive, a compressed image created of that drive can be compressed a bit more than a disk filled with random data. IIRC]]></description>
		<content:encoded><![CDATA[<p>If you zero a drive, a compressed image created of that drive can be compressed a bit more than a disk filled with random data. IIRC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wavefunction</title>
		<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45093</link>
		<dc:creator><![CDATA[Wavefunction]]></dc:creator>
		<pubDate>Wed, 25 Aug 2010 03:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45093</guid>
		<description><![CDATA[There were a few posts on linux.com and other locations where people checked the throughput of /dev/zero, /dev/urandom, and various options while running dd. (dd is pretty much -the- secure deletion tool. If you want it shredded, use dd.) In short, /dev/urandom generated data at about 1/10th the speed of /dev/zero, even when accessing internal drives. If I recall correctly, the fastest /dev/urandom ever worked was something like 7.5MB/s.

And, as anecdotal evidence, I /dev/urandom against a 1TB (1000GB) internal hard drive and it took about 38 hours to complete on the fastest machine in the house. (8GB ram, 2.8Ghz six-core processor, etc.)]]></description>
		<content:encoded><![CDATA[<p>There were a few posts on linux.com and other locations where people checked the throughput of /dev/zero, /dev/urandom, and various options while running dd. (dd is pretty much -the- secure deletion tool. If you want it shredded, use dd.) In short, /dev/urandom generated data at about 1/10th the speed of /dev/zero, even when accessing internal drives. If I recall correctly, the fastest /dev/urandom ever worked was something like 7.5MB/s.</p>
<p>And, as anecdotal evidence, I /dev/urandom against a 1TB (1000GB) internal hard drive and it took about 38 hours to complete on the fastest machine in the house. (8GB ram, 2.8Ghz six-core processor, etc.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K.Mandla</title>
		<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45087</link>
		<dc:creator><![CDATA[K.Mandla]]></dc:creator>
		<pubDate>Tue, 24 Aug 2010 23:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45087</guid>
		<description><![CDATA[No one seems to mention block sizes. Is that not worth adjusting? ]]></description>
		<content:encoded><![CDATA[<p>No one seems to mention block sizes. Is that not worth adjusting? </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K.Mandla</title>
		<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45085</link>
		<dc:creator><![CDATA[K.Mandla]]></dc:creator>
		<pubDate>Tue, 24 Aug 2010 23:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45085</guid>
		<description><![CDATA[/dev/zero might have been faster than waiting on /dev/urandom. I&#039;ll try  that next time. ]]></description>
		<content:encoded><![CDATA[<p>/dev/zero might have been faster than waiting on /dev/urandom. I&#8217;ll try  that next time. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K.Mandla</title>
		<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45083</link>
		<dc:creator><![CDATA[K.Mandla]]></dc:creator>
		<pubDate>Tue, 24 Aug 2010 23:54:41 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45083</guid>
		<description><![CDATA[Where do people buy these mystical magnets that everyone always suggests  for killing a drive? And for goodness sake, what do they keep them in that  doesn&#039;t cause them to erase everything in the entire house? :lol: ]]></description>
		<content:encoded><![CDATA[<p>Where do people buy these mystical magnets that everyone always suggests  for killing a drive? And for goodness sake, what do they keep them in that  doesn&#8217;t cause them to erase everything in the entire house? <img src='http://s2.wp.com/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' />  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K.Mandla</title>
		<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45082</link>
		<dc:creator><![CDATA[K.Mandla]]></dc:creator>
		<pubDate>Tue, 24 Aug 2010 23:53:13 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45082</guid>
		<description><![CDATA[Yes, I should have checked its progress before cutting it off, but I  wasn&#039;t in a hurry and the machine runs 24/7, so I let it go until I just  felt finished with it. 

Both lsusb and dmesg suggest it&#039;s a 12M port, so I suppose it could be  just a slow interaction between /dev/urandom and the drive itself. I did  notice that it tended to write in bursts, pausing and (I assume) caching  the information to be written, then sending pulses to the drive all at  once. 

htop marked the process as &quot;uninterruptible&quot; during those write phases. I  wonder if that cache-and-pulse writing had anything to do with the delay?  :&#124; ]]></description>
		<content:encoded><![CDATA[<p>Yes, I should have checked its progress before cutting it off, but I  wasn&#8217;t in a hurry and the machine runs 24/7, so I let it go until I just  felt finished with it. </p>
<p>Both lsusb and dmesg suggest it&#8217;s a 12M port, so I suppose it could be  just a slow interaction between /dev/urandom and the drive itself. I did  notice that it tended to write in bursts, pausing and (I assume) caching  the information to be written, then sending pulses to the drive all at  once. </p>
<p>htop marked the process as &#8220;uninterruptible&#8221; during those write phases. I  wonder if that cache-and-pulse writing had anything to do with the delay?  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mulenmar</title>
		<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45080</link>
		<dc:creator><![CDATA[mulenmar]]></dc:creator>
		<pubDate>Tue, 24 Aug 2010 23:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45080</guid>
		<description><![CDATA[+1 to this. Here&#039;s the command I use:

# nice -n -15 dd if=/dev/zero of=/dev/sdX

sdX, of course, being the drive I&#039;m blanking out.]]></description>
		<content:encoded><![CDATA[<p>+1 to this. Here&#8217;s the command I use:</p>
<p># nice -n -15 dd if=/dev/zero of=/dev/sdX</p>
<p>sdX, of course, being the drive I&#8217;m blanking out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mister Shiney</title>
		<link>http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45076</link>
		<dc:creator><![CDATA[Mister Shiney]]></dc:creator>
		<pubDate>Tue, 24 Aug 2010 14:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/08/24/thinking-things-through-dd-over-usb1-1/#comment-45076</guid>
		<description><![CDATA[I had to laugh when I read this, because for the past several days I&#039;ve been trying to move a bunch of data from an old HDD I had in an external enclosure over to a new external HDD. No matter what I did, the enclosure was recognized at the 12Mbps speed (USB 1.1). It took over 30 hours to move the data. :)  I spent a lot of time reviewing oodles of bug reports about USB issues in Ubuntu and even went as far as upgrading to Lucid (I usually like to lag a few versions since stability is more important to me than being on the bleeding edge). Anyway, I went as far as to remove the drive from the enclosure and try in several others -- generally with the results that the drive was recognized as high speed, reset by the system, and disconnected. It was not until later that I realized two things: jumper settings are very important in USB enclosures, and the first enclosure was more forgiving of jumper settings -- also, one of the pins on the drive was broken off into the ribbon connector on the first enclosure. That last explained why the drive only worked in that one enclosure. Anyway live and learn -- after 30+ hrs I copied the data off the drive and scuttled it.]]></description>
		<content:encoded><![CDATA[<p>I had to laugh when I read this, because for the past several days I&#8217;ve been trying to move a bunch of data from an old HDD I had in an external enclosure over to a new external HDD. No matter what I did, the enclosure was recognized at the 12Mbps speed (USB 1.1). It took over 30 hours to move the data. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   I spent a lot of time reviewing oodles of bug reports about USB issues in Ubuntu and even went as far as upgrading to Lucid (I usually like to lag a few versions since stability is more important to me than being on the bleeding edge). Anyway, I went as far as to remove the drive from the enclosure and try in several others &#8212; generally with the results that the drive was recognized as high speed, reset by the system, and disconnected. It was not until later that I realized two things: jumper settings are very important in USB enclosures, and the first enclosure was more forgiving of jumper settings &#8212; also, one of the pins on the drive was broken off into the ribbon connector on the first enclosure. That last explained why the drive only worked in that one enclosure. Anyway live and learn &#8212; after 30+ hrs I copied the data off the drive and scuttled it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
