Relative Content

Tag Archive for context-switchnicpreempt-rt

NIC context switch with PREEMPT-RT

In the communication (with UDP protocol) between a Ubuntu 20.04 PC, patched with PREEMPT-RT, and an external machine, the nominal behavior foresees an alternating packet exchange between the two entities.
However, sometimes it happens that 5 packets are received together by the same entity (the PC), thus not allowing a correct communication.
I hypothesized that the reason could be the Network Interface Controller (NIC) undergoing a context switch.

NIC context switch with PREEMPT-RT

In the communication (with UDP protocol) between a Ubuntu 20.04 PC, patched with PREEMPT-RT, and an external machine, the nominal behavior foresees an alternating packet exchange between the two entities.
However, sometimes it happens that 5 packets are received together by the same entity (the PC), thus not allowing a correct communication.
I hypothesized that the reason could be the Network Interface Controller (NIC) undergoing a context switch.