<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Guy Rutenberg &#187; bzip2</title>
	<atom:link href="http://www.guyrutenberg.com/tag/bzip2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guyrutenberg.com</link>
	<description>Keeping track of what I do</description>
	<lastBuildDate>Sat, 14 Jan 2012 11:30:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>rzip vs. bzip2 &#8211; A short comparison</title>
		<link>http://www.guyrutenberg.com/2008/07/03/rzip-vs-bzip-a-short-comparison/</link>
		<comments>http://www.guyrutenberg.com/2008/07/03/rzip-vs-bzip-a-short-comparison/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 09:33:36 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bzip2]]></category>
		<category><![CDATA[rzip]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=63</guid>
		<description><![CDATA[I decided to benchmark rzip against bzip for my backup needs. The benchmark was performed on a 89M tar archive of a directory which I regularly backup using my Amazon S3 backup script. The directory contains mostly LaTeX, PDF and Open Office files, so this benchmark may reflect very different results than what you will [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to benchmark <a href="http://rzip.samba.org">rzip</a> against <a href="http://www.bzip.org/">bzip</a> for my backup needs. The benchmark was performed on a 89M tar archive of a directory which I regularly backup using my <a href="/2008/03/01/backup-directories-to-amazon-s3-script/">Amazon S3 backup script</a>. The directory contains mostly LaTeX, PDF and Open Office files, so this benchmark may reflect very different results than what you will get if you will test it on other kinds of files.<br />
<span id="more-63"></span><br />
I ran both <code>rzip</code> and <code>bzip</code> with their default settings. <code>bzip</code>, the program I currently use for my backups, managed to compress the tar file to 43.5M in 1:4.286 (min:sec). On the other hand, <code>rzip</code> compressed the tar into a mere 39M and did in only 32.844 seconds. </p>
<p>When weighting the results based only on the resulted compressed file and processing time, <code>rzip</code> takes <code>bzip</code> by far. It has superior compressing abilities and <code>rzip</code> does it two times faster than <code>bzip</code>.</p>
<p>One must note that <code>rzip</code> was much more memory intensive, so it isn&#8217;t suited for environments which are low on available memory. Another disadvantage of <code>rzip</code> is that it can&#8217;t operate on stdin/stdout, so one must first physically create the file on the disk before compressing it.</p>
<p>As I don&#8217;t have any memory shortage on my machine (especially during the night when I make my backups), and I can live with creating a temporary tar file, I plan to switch over my <a href="/2008/03/01/backup-directories-to-amazon-s3-script/">backup script</a> to use <code>rzip</code>. The new script will probably work very similar to the current one except it will produce a <code>rzip</code> compressed archive, which will help me cut down the costs of backups.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2008/07/03/rzip-vs-bzip-a-short-comparison/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

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

