<?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>langui.sh &#187; lightroom</title>
	<atom:link href="http://langui.sh/tag/lightroom/feed/" rel="self" type="application/rss+xml" />
	<link>http://langui.sh</link>
	<description>Fun hacks, WP plugins, photography, and PKI junk.  Languishing since 2008.</description>
	<lastBuildDate>Sat, 19 May 2012 01:42:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>FileVault Performance With Lightroom</title>
		<link>http://langui.sh/2009/01/08/filevault-performance-with-lightroom/</link>
		<comments>http://langui.sh/2009/01/08/filevault-performance-with-lightroom/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 22:53:27 +0000</pubDate>
		<dc:creator>Paul Kehrer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[lightroom]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://langui.sh/?p=47</guid>
		<description><![CDATA[<a href="http://langui.sh/2009/01/08/filevault-performance-with-lightroom/" title="FileVault Performance With Lightroom"></a>I have recently begun switching from Aperture to Lightroom for my photography workflow (look for another blog post about that at some point), but on my new unibody Macbook Pro I noticed that Lightroom appeared to be unbearably slow when &#8230;<p class="read-more"><a href="http://langui.sh/2009/01/08/filevault-performance-with-lightroom/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://langui.sh/2009/01/08/filevault-performance-with-lightroom/" title="FileVault Performance With Lightroom"></a><p>I have recently begun switching from Aperture to Lightroom for my photography workflow (look for another blog post about that at some point), but on my new unibody Macbook Pro I noticed that Lightroom appeared to be unbearably slow when dumping large volumes of data.  I suspected that FileVault (which I only keep enabled on my work laptop) was the culprit, so I decided to perform a few benchmarks.</p>
<h3>Test Setup</h3>
<p>The import was performed using a Sandisk Extreme USB 2.0 CF Reader with a Lexar 8GB UDMA card.  There were 113 21MP RAW files (beach photos from a 5D Mark II) on the card totaling 2.61GB of data.  Lightroom&#8217;s import was set to copy into the home directory and generate 1:1 previews after import.  I used a unibody MBP running at 2.4ghz, 250GB 5400RPM drive, and 2GB of RAM with two separate user accounts (FV on and FV off).</p>
<h3>Results</h3>
<p><span style="text-decoration: underline;"><a href="http://cdn.langui.sh/2009/01/fv_perf1.png"></a><a href="http://cdn.langui.sh/2009/01/fv_perf.png"><img class="aligncenter size-full wp-image-54" title="FV Performance in Lightroom" src="http://cdn.langui.sh/2009/01/fv_perf.png" alt="FV Performance in Lightroom" width="572" height="366" /></a><br />
</span></p>
<p>As you can see, while generating 1:1 previews varies by less than 2%, the initial import takes nearly twice as long.  Additionally, during the import to a FileVault enabled home directory the machine is nearly unusable due to heavy disk I/O.  diskimage-helper hovers around 40-60% CPU during this time.</p>
<p>Of course, 321 seconds for a 2.61GB import is not particularly fast.  Let&#8217;s take a look at 4 transfers of the same data to see what types of speed we&#8217;re getting.</p>
<p><a href="http://cdn.langui.sh/2009/01/raw_data1.png"><img class="aligncenter size-full wp-image-56" title="RAW Copy Performance" src="http://cdn.langui.sh/2009/01/raw_data1.png" alt="RAW Copy Performance" width="568" height="366" /></a></p>
<p>Import performance is essentially equal with FileVault both on and off when simply copying files via the Finder (~17MB/sec with this USB 2.0 reader).  So then, FileVault doesn&#8217;t affect Finder copy performance&#8230;why is it affecting Lightroom?</p>
<h3>Digging Deeper</h3>
<p>One of the side effects of FileVault&#8217;s method of home directory encryption is that any file on the hard drive outside of the encrypted home directory must be re-copied (rather than simply moved) if you wish to move it into home.  Using <a href="http://www.fernlightning.com/doku.php?id=software:fseventer:start">fseventer</a> we can track where Lightroom is placing files during import, and it appears that significant quantities of data are being stored in /tmp and then copied into the home directory when the file is done.  This is a very expensive operation compared to a direct copy when FV is enabled.</p>
<h3>Outstanding Questions</h3>
<p>I&#8217;m still a bit baffled as to why Lightroom is so much slower on import vs a Finder copy even when FV is off.  A move operation is essentially free when compared to the expense of a full copy, so if Lightroom copies to /tmp and then moves why isn&#8217;t FV off nearly as fast as a direct copy?  Obviously LR has quite a few operations (minimal thumbnails, catalog updates, et cetera) to perform, but does that account for the twofold drop in data transfer speed?  Is there something else I&#8217;m missing?  I&#8217;ll revisit this issue with Aperture performance numbers and perhaps data points from an older Santa Rosa Macbook Pro.</p>
]]></content:encoded>
			<wfw:commentRss>http://langui.sh/2009/01/08/filevault-performance-with-lightroom/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 7/9 queries in 0.003 seconds using memcached
Object Caching 417/417 objects using memcached

Served from: langui.sh @ 2012-05-21 13:17:23 -->
