2 ms·
shared memory provides the lowest latency, but you still need to deal with task wakeup, which is usually done via futexs. Google was working on a FUTEX_SWAP cal
by the8472 1y ago
shared memory provides the lowest latency, but you still need to deal with task wakeup, which is usually done via futexs. Google was working on a FUTEX_SWAP call for linux which would have allowed direct handover from one task to another, not sure what happened to that.
- Galanwe 1y agoIf you really want low latency, then you should be OK to trade power/CPU for it, and you can just spin instead of being woken up.