Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

filevault 2 slow sierra

I work in IT at a small college, and we regularly encrypt faculty, staff, and loaner computers using FileVault 2. The process usually takes about 8 hours with a hard disk drive, depending on size it can be a little more or a little less. Our standard practice is to leave it running overnight. With macOS Sierra we are seeing it take about 3 days if left unattended.


After some investigation it turns out that the disk speed is throttled every 5 minutes, going from about 30-35 MB/sec to 3-5 MB/sec if the computer is not in use. It stays at the low rate until the user takes some action, like a mouseclick, and it then recovers for another 5 minutes. It appears that the culprit is DuetHeuristic-BM, which is responsible for running periodic tasks like checking whether it's time to do a Time Machine update (Time Machine is not configured on these machines, but just for the sake of example).


This is 100% reproducible across multiple computers with traditional HDD's, and persists at least through 10.12.4. Occurs on clean OS installs as well as computers loaded with our images. Have not tested on SSD's. The common factor is macOS Sierra, which I believe introduced DuetHeuristic-BM.


The net result is that the computer will encrypt much faster if it is being used during the encryption process. That's practical in some cases for us, not in others.

macOS Sierra (10.12), FIleVault 2

Posted on Mar 31, 2017 6:05 AM

Reply
15 replies

Apr 12, 2017 11:30 AM in response to kmmacg

You might try the terminal command caffeinate(8), which would be a little quicker than installing a Jiggler.


This briefing document contains much useful information:


http://training.apple.com/pdf/WP_FileVault2.pdf


You could also review your risk/threat analysis. Are you sure you can't give most users a machine that is still encrypting? My understanding, although I can't cite an authoritative source off the top of my head so I might be wrong, is that there'll be nothing confidential that is unencrypted because any new files added by the user will be encrypted at the time they are copied to disk so no user data is ever vulnerable.


C.

Apr 12, 2017 11:42 AM in response to cdhw

... there'll be nothing confidential that is unencrypted because any new files added by the user will be encrypted at the time they are copied to disk so no user data is ever vulnerable.


This is correct. Excerpted from Use FileVault to encrypt the startup disk on your Mac - Apple Support:


Any new files that you create are automatically encrypted as they're saved to your startup disk.

Apr 12, 2017 7:53 AM in response to kmmacg

The net result is that the computer will encrypt much faster if it is being used during the encryption process.


That is correct.


There is little practical justification to decreasing the amount of time it takes for FV to finish encryption. Any new data added to the device will be encrypted as it is added. If a FV disk is new, obviously there won't be anything to encrypt. It still takes time though.


Solid state memory will obviously encrypt much faster. Apple's apparent interest in rotating media has waned ever since they implemented flash memory in all new devices.

filevault 2 slow sierra

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.