Re: questions on NAPI processing latency and dropped network packets

From: Chris Friesen
Date: Mon Jan 21 2008 - 18:15:39 EST


Ben Greear wrote:
Chris Friesen wrote:

Is there anything else we can do to minimize the latency of network packet processing and avoid having to crank the rx ring size up so high?


Why is it such a big deal to crank up the rx queue length? Seems like
a perfectly normal way to handle bursts like this...

It means that the latency for handling those packets is higher than it could be. Draining 4096 packets from the queue will take a while.

Ideally we'd like to bring the latency down as much as possible, and then bump up the rx queue length to handle the rest.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/