I need to encrypt a 200gb file.
Using 7z, on a pretty fast win2012 server, it is going to take 12 hours (using the fastest
option).
Is there a faster way?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityI have found using the 7z command line to be faster than the gui for large files.
A suggestion could be to store the file on an encrypted virtual drive image instead of using 7z.
Alot of this is going to be:
7z
is a file archiving and compression program and fastest
is a method of low-quality but quick compression. Compression is very slow compared to encryption. The compression can be turned off to greatly speed things up, as shown in @samsmith's answer to their own question, where the time went down from 12 hours to 33 minutes.
Discovery #1: Use the "store" option for compression method, that brings it to ~33 minutes....
7z
is a file compression program with optional encryption ("fastest
" means the fastest file compression). As @samsmith said below in his answer to his own question, it's sped up greatly by simply turning off the compression (the time was reduced from "12 hours" to "~33 minutes"). The data rate there is about the same rate as a hard drive, so it might actually be IO-bound rather than CPU-bound.