News for hackers. Stuff that matters.
Re:Optimizing a Ring Buffer for Throughput by gpderetta on Tuesday June 27, 2023 @04:32AM (#36490355)
AKA the Magic Ring Buffer.
Re:Optimizing a Ring Buffer for Throughput by pixelpoet on Tuesday June 27, 2023 @06:27AM (#36491068)
Always worth linking to ryg / Fabian Giesen: https://fgiesen.wordpress.com/2012/07/21/the-magic-ring-buff...
Re:Optimizing a Ring Buffer for Throughput by gpderetta on Tuesday June 27, 2023 @07:27AM (#36491413)
Incidentally the non-portable remap_file_page(2) was great for doing this sort of page manipulations, but it has been deprecated and this days it is equivalent of doing the separate mmaps.