<?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>Ekrem SEREN's Weblog &#187; bzip2</title>
	<atom:link href="http://www.ekremseren.com/tag/bzip2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ekremseren.com</link>
	<description>a weblog about computers, open source, technology and turkish archery</description>
	<lastBuildDate>Wed, 27 May 2009 13:04:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Compression Tools: lzma, bzip2 &amp; gzip</title>
		<link>http://www.ekremseren.com/2009/05/compression-tools-lzma-bzip2-gzip/</link>
		<comments>http://www.ekremseren.com/2009/05/compression-tools-lzma-bzip2-gzip/#comments</comments>
		<pubDate>Mon, 11 May 2009 06:55:32 +0000</pubDate>
		<dc:creator>havan</dc:creator>
				<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bzip2]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[lzma]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.ekremseren.com/?p=46</guid>
		<description><![CDATA[Today I was taking a regular backup of our server in the office. After I collect all the files, I tried to burn them to a DVD and see that 4.4GB DVD is ~50MB short. I did not want to burn another DVD for a 50MB, so decided to zip the Zimbra backup file, which [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Today I was taking a regular backup of our server in the office. After I collect all the files, I tried to burn them to a DVD and see that 4.4GB DVD is ~50MB short. I did not want to burn another DVD for a 50MB, so decided to zip the Zimbra backup file, which is 2.5GB in size. I choose lzma because I&#8217;ve read somewhere that its ratio is better that others. But that was clearly a bad decision!</p>
<p>Compression took ~50 minutes. Despite the small file size of ~750MB, didn&#8217;t worth it because of the very long compression time. So I decided to make a small compression tools test. I have used a <strong>355MB</strong> svn dump backup file. Here are my results* with lzma, bzip2 and gzip;</p>
<div id="attachment_45" class="wp-caption aligncenter" style="width: 634px"><img class="size-full wp-image-45" title="Compression Comparison Chart" src="http://www.ekremseren.com/wp-content/uploads/2009/05/compress_comparison.jpeg" alt="compress_comparison" width="624" height="372" /><p class="wp-caption-text">Compression test results (lower is better)</p></div>
<p>So, with a little loss in compression ratio, gzip performs much faster. Of course, I know that this chart would be different if the input file, svn dump, is a different type of file or size. But I use to backup mainly this kind of text based files, so this works for me.<br />
<span style="color: #808080;"><br />
* <strong>Test system:</strong> Intel(R) Core(TM)2 Duo T5750 (2.00GHz) CPU, 2GB ram, Pardus 2008 (Linux 2.6.25.20-114) OS, lzma sdk 4.32, bzip2 1.0.5, gzip 1.3.12, default settings used for all tools.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ekremseren.com/2009/05/compression-tools-lzma-bzip2-gzip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->