4 ms·
I am really excited for bcachefs. It is also the only fs that has support for chacha20-poly1305 encryption.
by snakeanus 9y ago
I am really excited for bcachefs. It is also the only fs that has support for chacha20-poly1305 encryption.
- foepys 9y agoI wonder if a non-hardware accelerated encryption algorithm is good enough for a FS that also has checksums. The CPU is already busy with checksimming, so doesn't this considerably slow down writes?
- wmf 9y agoSomewhat counterintuitively, Chacha-Poly is as fast as AES-NI. You could probably go even faster using QuickAssist but most people don't have that.
- conductor 9y agoBoth Chacha20 and Poly1305 are optimized (by design) for running on general purpose CPUs. AES-GCM using AES-NI instructions is still faster, but not that much [0]. [0] https://community.qualys.com/thread/16005 https://community.qualys.com/thread/16005
- fulafel 9y agoDepends on your CPU. Desktop/server CPUs are plenty fast enough, but a home NAS might slow down.