News for hackers. Stuff that matters.
Re:Think twice before encrypting your HFS+ volumes on High S... by nrki on Monday October 02, 2017 @11:52AM (#15384779)

  Speed in MB/s
             HFS+     HFS+ Encrypted  APFS     APFS Encrypted
  1M WRITE   1375     1373            1372     933
  1M READ    2446     2340            2162     1304
  4K WRITE   852      797             502      378
  4K READ    2106     1486            2156     1001

https://news.ycombinator.com/item?id=15333754
Re:Think twice before encrypting your HFS+ volumes on High S... by zitterbewegung on Monday October 02, 2017 @12:26PM (#15385205)
This was high sierra beta though.
Re:Think twice before encrypting your HFS+ volumes on High S... by mikeash on Monday October 02, 2017 @12:05PM (#15384932)
That's really strange. Why would encryption affect APFS so badly but not HFS+?
Re:Think twice before encrypting your HFS+ volumes on High S... by convivialdingo on Monday October 02, 2017 @12:44PM (#15385393)
Lots of reasons.

If crypto is part of the syscall path, then you definitely pay with latency. If you can push IO to a worker thread then you can release the user call faster. This also requires tuning the read-ahead cache more aggressively.

It could also be a change in crypto algorithm, unaligned page IO, or any other overlooked IO latency problems.

Re:Think twice before encrypting your HFS+ volumes on High S... by j45 on Monday October 02, 2017 @03:56PM (#15387366)
At a high level, I believe APFS encrypts files individually (and uniquely) instead of the whole drive. Have to do some more reading :)
Re:Think twice before encrypting your HFS+ volumes on High S... by Someone on Monday October 02, 2017 @04:26PM (#15387611)
Not instead of, but optionally in addition to (https://developer.apple.com/library/content/documentation/Fi...)

On Mac OS, it seems you only get full disk encryption, though (https://arstechnica.com/gadgets/2017/09/macos-10-13-high-sie...)

Re:Think twice before encrypting your HFS+ volumes on High S... by j45 on Monday October 02, 2017 @05:23PM (#15388083)
Appreciate the clarification. Both are better than just one.