Large container within SSD getting intermittent speed freezes (unlike encrypted volume)
For the same SSD, creating a large container (500 GB) within it has much poorer performance (intermittent speed freezes) than encrypting the whole volume. The same doesn't happen if it's a smaller container (10 GB).
Expected behavior
The read/write speed remains more or less constant and consistent whether it's a large or small container within the SSD, or the full volume encrypted.
Observed behavior
There are intermittent speed drops/freezes for large containers (500 GB) within a SSD. If the containers are smaller (eg. 10 GB) this behaviour isn't observed. It also doesn't happen if the full volume (1 TB) is encrypted. This seems to happen regardless of the filesystem.
Steps to reproduce
- Have a 1 TB SSD
- Create a large container (eg. 500 GB)
- Test read/write speed or play any video that requires significant buffering
Your Environment
VeraCrypt version: 1.24-Update8
Operating system and version: macOS Big Sur 11.1
System type: ARM (Apple Silicon M1)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have this exact same issue. It sucks. It makes transfers take forever. Not too sure what's going on, but I suspect it either might have something to do with macFUSE on the M1 or the fact that for some reason Veracrypt still is running in X86 emulation.
For the same SSD, creating a large container (500 GB) within it has much poorer performance (intermittent speed freezes) than encrypting the whole volume. The same doesn't happen if it's a smaller container (10 GB).
Expected behavior
The read/write speed remains more or less constant and consistent whether it's a large or small container within the SSD, or the full volume encrypted.
Observed behavior
There are intermittent speed drops/freezes for large containers (500 GB) within a SSD. If the containers are smaller (eg. 10 GB) this behaviour isn't observed. It also doesn't happen if the full volume (1 TB) is encrypted. This seems to happen regardless of the filesystem.
Steps to reproduce
- Have a 1 TB SSD
- Create a large container (eg. 500 GB)
- Test read/write speed or play any video that requires significant buffering
Your Environment
VeraCrypt version: 1.24-Update8
Operating system and version: macOS Big Sur 11.1
System type: ARM (Apple Silicon M1)
Just wanted to give you an update if you're still facing this issue; I have been getting a lot of data to see if there's any obvious issue but I'm just going to compile this into an ARM binary and test it out because so far in the hundreds of thousands of lines of logs, nothing in particular stands out. If/when I find out more I'll update this post. I hope it's not an issue with macFUSE outside of Apple Silicon because I don't have a non-ARM mac to test on.
Thanks for the report, and sorry this remained unanswered for so long.
I reviewed the information here. The original environment was VeraCrypt 1.24-Update8 on macOS Big Sur 11.1 running on Apple Silicon M1, at a time when VeraCrypt did not yet have native Apple Silicon support. Since then, VeraCrypt has added native Apple Silicon support, later ARM64 AES acceleration, and the macOS/FUSE mount path has evolved.
Based on the description, this doesn't point to a VeraCrypt encryption-core issue. On macOS, file containers have an additional host filesystem layer compared to partition/device-hosted volumes. With very large containers, that layer can introduce allocation, fragmentation, caching, or macFUSE/hdiutil latency effects that are not present when the VeraCrypt volume is backed directly by a block device. This is consistent with the documentation note that partition/device-hosted volumes may be better for performance than file containers.
For large sustained I/O on macOS, the recommended options are:
- use a partition/device-hosted VeraCrypt volume when possible
- avoid sparse/dynamic/Quick Format containers if latency stability matters
- keep enough free space on the host SSD
- use a current VeraCrypt build with current macFUSE or FUSE-T
I'm closing this old issue because it was reported against an unsupported macOS/VeraCrypt stack and we do not have enough current reproduction data to act on it. If anyone can reproduce the same behavior with a current VeraCrypt version on a supported macOS release, please open a new issue with:
- macOS version and Apple Silicon model
- VeraCrypt version and binary architecture
- macFUSE or FUSE-T version
- host filesystem type
- whether the container is full-format, Quick Format, sparse, or dynamic
ls -lhanddu -houtput for the container file- benchmark results comparing a small file container, a large file container, and a device-hosted volume