-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow for many small files #10
Comments
Thanks for running these benchmarks. It's interesting to see how cppcryptfs compares to BoxCryptor and EncFSMP. I think the performance problem with small files is caused by Dokany. cppcryptfs performs about the same as the Dokany mirror sample program. I think the "Extract linux-3.0.tar.gz" benchmark I put on the main cppcryptfs github page is similar to your test. My benchmarks compared cppcryptfs to native NTFS and Dokany mirror. I think the performance is slow with small files because there is too much latency in the communication between the Dokany client-side DLL and the Dokany kernel mode driver. If you want, you could maybe do the same test using mirror.exe, and if you get similar results, then file an issue on the Dokany github page. The mirror program is installed by Dokany here
|
I performed a benchmark between Boxcryptor Classic v1.5 (modified encfs using CBFS), EncFSMP (encfs using PFM), and cppcryptfs (gocryptfs using dokan).
As follows:
(1) source directory on SSD 1 containing 29,289 files measuring 1.68GB (some large files, but many small files, including some .git and .csv repositories)
(2) create new encrypted drive on SSD 2 + then mount
(3) ensure no cpu heavy processses running
(4) using FreeFileSync synchronize the SSD1 source to mounted destination
Results as follows:
1st - Boxcryptor
Time Elapsed: 4mins 43 sec
Average items/sec: 103
Average MBytes/sec: 6.08
2nd - EncFSMP
Time Elapsed: 6 mins 55 sec
Average items/sec: 71
Average MBytes/sec: 4.15
(* note: Chained IV and Unique IV disabled per author's recommendation for speed)
3rd - cppcryptfs
Time Elapsed: 39 mins 57 sec
Average items/sec: 12
Average MBytes/sec: 0.74
Two main observations:
(1) particularly slow for many small files, <20Kb/s
(2) cppcryptfs does speed bytes/sec up for large files (reaching above 10 Mb/sec), but notably # items processed per second stays low
Attached progress charts.
The text was updated successfully, but these errors were encountered: