<?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: scp is slow? Hey, not so fast.</title>
	<atom:link href="http://crashingdaily.wordpress.com/2007/07/09/scp-is-slow-hey-not-so-fast/feed/" rel="self" type="application/rss+xml" />
	<link>http://crashingdaily.wordpress.com/2007/07/09/scp-is-slow-hey-not-so-fast/</link>
	<description>admin sys a terrible thing to waste</description>
	<lastBuildDate>Mon, 09 Nov 2009 13:06:18 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Euro</title>
		<link>http://crashingdaily.wordpress.com/2007/07/09/scp-is-slow-hey-not-so-fast/#comment-361</link>
		<dc:creator>Euro</dc:creator>
		<pubDate>Fri, 31 Oct 2008 15:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://crashingdaily.wordpress.com/2007/07/09/scp-is-slow-hey-not-so-fast/#comment-361</guid>
		<description>Thank U for the article, it&#039;s very useful.
BTW, the bottleneck of your scp is the network bandwidth, so the transferring time is limited for a given file size. Using Blowfish can&#039;t change anything even though it&#039;s, theoretically, much more faster. (you&#039;re see the difference while using SCP for localhost )</description>
		<content:encoded><![CDATA[<p>Thank U for the article, it&#8217;s very useful.<br />
BTW, the bottleneck of your scp is the network bandwidth, so the transferring time is limited for a given file size. Using Blowfish can&#8217;t change anything even though it&#8217;s, theoretically, much more faster. (you&#8217;re see the difference while using SCP for localhost )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: crashingdaily</title>
		<link>http://crashingdaily.wordpress.com/2007/07/09/scp-is-slow-hey-not-so-fast/#comment-352</link>
		<dc:creator>crashingdaily</dc:creator>
		<pubDate>Tue, 19 Aug 2008 14:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://crashingdaily.wordpress.com/2007/07/09/scp-is-slow-hey-not-so-fast/#comment-352</guid>
		<description>Thank you for your comment, Ben. The effects of compression on random data and tests with non-random data was covered in Tables 2 and 3 and associated discussion. I started with random data because I wanted to reproduce the tests reported by SpikeLab.</description>
		<content:encoded><![CDATA[<p>Thank you for your comment, Ben. The effects of compression on random data and tests with non-random data was covered in Tables 2 and 3 and associated discussion. I started with random data because I wanted to reproduce the tests reported by SpikeLab.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Clark</title>
		<link>http://crashingdaily.wordpress.com/2007/07/09/scp-is-slow-hey-not-so-fast/#comment-351</link>
		<dc:creator>Ben Clark</dc:creator>
		<pubDate>Tue, 19 Aug 2008 14:20:43 +0000</pubDate>
		<guid isPermaLink="false">http://crashingdaily.wordpress.com/2007/07/09/scp-is-slow-hey-not-so-fast/#comment-351</guid>
		<description>Of course compressing will be detrimental when you are compressing random ( /dev/urandom ) data.  With a real file full of very redundant data ( try some xml files ) you will get serious improvement with compression.

Random data is by definition very information dense, if it weren&#039;t then it would have redundancies ( patterns ) and so would not be random.   

Because the data you send is random there are no patterns for the compression algorithm to find.  

That is why compressing an already compressed file can make it larger - the compressed file is already information dense, and it&#039;s bytes appear pretty random.  The added overhead of the next &#039;layer&#039; of compression takes more space than it is worth ( all the low hanging fruit have been picked by the first layer of compression ) and so the resulting file is larger.

In your test, compressing the random data before sending it over the wire may have resulted in more data being send over the wire ( unless the algoritm first tries compression, but then sends the raw file if the result was larger than the raw file which it probably does, though I don&#039;t know ).  There was also the computational cost involved in doing the compression.   

Try the test again with some real files that are susceptible to compression, such as some xml files.  ( gifs, jpegs, mp3s. .movs, .zip, .Z, .gz, and .bz2 files are already compressed and will contain little redundancy to compress out )</description>
		<content:encoded><![CDATA[<p>Of course compressing will be detrimental when you are compressing random ( /dev/urandom ) data.  With a real file full of very redundant data ( try some xml files ) you will get serious improvement with compression.</p>
<p>Random data is by definition very information dense, if it weren&#8217;t then it would have redundancies ( patterns ) and so would not be random.   </p>
<p>Because the data you send is random there are no patterns for the compression algorithm to find.  </p>
<p>That is why compressing an already compressed file can make it larger &#8211; the compressed file is already information dense, and it&#8217;s bytes appear pretty random.  The added overhead of the next &#8216;layer&#8217; of compression takes more space than it is worth ( all the low hanging fruit have been picked by the first layer of compression ) and so the resulting file is larger.</p>
<p>In your test, compressing the random data before sending it over the wire may have resulted in more data being send over the wire ( unless the algoritm first tries compression, but then sends the raw file if the result was larger than the raw file which it probably does, though I don&#8217;t know ).  There was also the computational cost involved in doing the compression.   </p>
<p>Try the test again with some real files that are susceptible to compression, such as some xml files.  ( gifs, jpegs, mp3s. .movs, .zip, .Z, .gz, and .bz2 files are already compressed and will contain little redundancy to compress out )</p>
]]></content:encoded>
	</item>
</channel>
</rss>