New API: Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit
AnomieBOT (talk | contribs)
m Dating maintenance tags: {{Citation needed}}
Line 22:
==Advantages==
* The load induced by [[interrupt request|interrupts]] is reduced even though the kernel has to poll.
* Packets are less likely to be re-ordered, while out of order packet handling might be a bottleneck otherwise. {{Citation needed|date=June 2020}}
* In case the kernel is unable to handle all incoming packets, the kernel does not have to do any work in order to drop them: they are simply overwritten in the [[network card]]'s incoming [[ring buffer]]. Without NAPI, the kernel has to handle every incoming packet regardless of whether there is time to service it, which leads to [[thrashing (computer science)|thrashing]].