Speed of TrueCrypt whole disk encryption

I'm getting a new development laptop soon, and I'm thinking of using TrueCrypt to encrypt the whole disk.

What kind of performance drop can I expect? 10%? 30%? More? Also, assuming the workload has an effect, would compiling/using Visual Studio be affected much? I cannot seem to find anything like this on the web.


Solution 1:

I don't have specific numbers, but there will be some drop in performance, albeit a slight one.

There was a blog post that described the general performance of complete disk encryption on a system partition and how that can affect the users perceived performance. It seems to indicate that CPU takes a bigger performance hit than the hard disk:

For me the critical question was what kind of overhead does encrypting your hard drive have on the performance of the system as a whole. To try and measure this I used HDTune to measure drive performance before and after encryption with TrueCrypt. Before encryption I saw an average transfer rate of about 47MB/s with my laptop's SATA drive in AHCI mode. Max was about 59.9MB/s and a burst rate of 85.8MB/s with an average CPU usage of 4.1% throughout the test.HD Performance before Truecrypt

After encryption I saw an average transfer rate of 46.9MB/s, peak of 59.7 MB/s, burst of 62.9MB/s and an average CPU usage of 26.7%. I didn't expect it, but that's where I saw my hit. It makes sense when you think about it - the encryption/decryption of the data generally doesn't result in reading/writing significantly more data (encryption and decryption is done at the block or sector level not at the entire file level) so you don't see substantially reduced disk performance.

Tom's Hardware also has a good article, "Protect Your Data With Encryption", that details the performance implications of using TrueCrypt on a complete volume.

Also, see Scott Gu's blog post regarding the speed of the physical hard disk (i.e. the RPM) (Tip/Trick: Hard Drive Speed and Visual Studio Performance) which can make a big difference to Visual Studio's performance whether encryption is employed or not.

There's another post here: What is the Performance Impact of System Encryption With TrueCrypt

Solution 2:

I've TrueCrypted my netbook HD (a Samsung NC10). There's no noticeable difference in day-to-day usage (but I don't do anything heavy like compile or use PhotoShop), apart from hibernating and restoring from hibernate, which is dramatically slower.

If you do Tools | Benchmark from within TrueCrypt, you can see the encryption rates for the different ciphers. Use the number of MB/s to determine how long it will take to dump the entire memory to disk. My NC10 take roughly 90 seconds to hibernate (with TrueCrypt), which is inconvenient, but not as inconvenient as it would be if I lost the netbook and had to deal with someone having access to all of my data.

Solution 3:

I did a number of tests compiling a large project (takes about 10 minutes to compile) on a Windows 7 desktop. There was absolutely no difference in my build times before and after TrueCrypt-ing the hard drive (using AES).