Conversation

Replying to
looking into dpdk it seems that this could in principle be used for hard real time applications dedicated cores interact with nics directly using shared memory (dram or cache) and cores uses polling receive
2
1
Replying to
the absolute lowest latency answer is use a smart nic, the second lowest latency is run in a kernel thread, after that is probably cpu affinity and io_uring. though it also matters whether you're talking about worst-case, average, or 90th percentile
1
1
Replying to and
DPDK is basically a framework for writing a "unikernel" for packet processing. ...The unfortunate part is that you're effectively having to co-exist with Linux. That includes the scheduler, other tasks, etc...
1
1
Replying to and
Ok I see. Thanks! Makes sense then that DPDK is mentioned in the context of feedback control (e.g. PID regulator) where you would typically use a separate microcontroller or DSP with RTOS or bare mainloop
1