kaiser: no slowdown if you run everything in kernelspace.
@djsundog i mean...
or, for that matter, if you manage to run on an entirely userspace IO stack, probably?
just as long as you don't cross those boundaries.
@gdkar so we've got this all but fixed then. imma go figure out dinner.
@djsundog yep. sounds good.
@djsundog ( maaajor caveat: if you're in a highly virtualized environment you've gotta make sure that you're staying in kernel space /all the way up the stack/.
trap-and-emulate anything will tank this pretty hard.
@gdkar @djsundog On IBM mainframes, you have an instruction called SIE, which stands for Start Interpreted Execution. This lets the processor nest virtual machines pretty much indefinitely with minimal impact to performance.
It works almost exactly like a call to Unix select(), where when SIE returns, you get not only the current state of the VM, but also what caused the instruction to "return."
SIE doesn't need to be in supervisor state to run.
We can learn a lot from mainframes.
This is a private instance that @email@example.com is using for development and testing.