Mazzoli: How fast are Linux pipes anyway?
Mazzoli: How fast are Linux pipes anyway?
Posted Jun 2, 2022 16:00 UTC (Thu) by atnot (guest, #124910)Parent article: Mazzoli: How fast are Linux pipes anyway?
One thing I'm a bit curious about: The hardware has support for resolving virtual memory and also has a handy dedicated TLB cache for it. The article mentions that the kernel reimplements this behavior. Is it possible for operating systems to take advantage of this dedicated hardware? Say, with a "resolve physical address" instruction. If not, is there a reason this isn't being done?
I know there are architectures where the opposite is done (the hardware calls into the kernel to resolve physical addresses), so perhaps get_user_pages just isn't performance critical enough outside of synthetic benchmarks like these?
