On Sat, 9 Sep 2023 13:04:23 +0000 (UTC) Amy Smith <[email protected]> wrote:
> Hi,I have 2 independent dpdk application pods working now using different set > of cpu cores. For low cost use case I would like them to use same cpu. I have > 1 cpu core which I want both pods to share. Is it possible? Do I need to make > any changes to applications to use non eal thread, changes to scheduling > thread etc.Thanks! Possible yes, but will kill performance since most DPDK applications do pure polling. What will happen is one application will run until preempted by the kernel scheduler, then the other one. The preemption happens on clock tick so each one will run until the clock interrupt (usually 4 ms). And the overhead of context switching and cache misses.
