One of the best article on buffering (buffer cache) / optimization I ever have read.
Buffering and optimization
Hello there,
Thank you for sharing it! I’d like to request from now on not to post URL shorteners because this is an InfoSec community and some folks might be intimidated/skeptical about clicking it.
I hope you understand. Take care and enjoy our community!
Very good article indeed. I stumbled across this this morning. I found it quite interesting.
Great work @sagittarius-a
just for info, GNU coreutils is still the fastest because it works on buffer cache directly.
I have an old ibook G3 (late 2001, 256MB RAM, 750fx PPC cpu) with OpenBSD -current on it.
The result is: 3.08MiB/s, really really slow.
You’re right @kowalski, It’s a new risk mitigation feature for OpenBSD, however pledge() was born for security purposes, it is not for optimization.
It works really well