netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sunvnet and ->xmit_more
@ 2014-10-07 19:18 David Miller
  2014-10-07 19:29 ` Sowmini Varadhan
  2014-10-07 20:22 ` David L Stevens
  0 siblings, 2 replies; 8+ messages in thread
From: David Miller @ 2014-10-07 19:18 UTC (permalink / raw)
  To: netdev; +Cc: david.stevens, Raghuram.Kothakota, sowmini.varadhan


David and others working on sunvnet, I just wanted to point out that
in the net-next tree there is a new facility that can improve
performance quite a bit in sunvnet.

Basically in the ->ndo_start_xmit() handler, if you see skb->xmit_more
set then the stack is telling you that it guarentees that another
packet will be given to you immediately when ->ndo_start_xmit()
returns.

This means that, unless you have filled up your TX queue, you can
defer the TX indication to the device.

For example, in the virtio_net driver the test is:

	if (__netif_subqueue_stopped(dev, qnum) || !skb->xmit_more)
		virtqueue_kick(sq->vq);

The pktgen module also has a new "burst" parameter you can use to test
out this facility directly, and the qdisc layer has heuristics for
dequeueing multiple packets at a time for normal traffic.

Just FYI...

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-10-08 23:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-07 19:18 sunvnet and ->xmit_more David Miller
2014-10-07 19:29 ` Sowmini Varadhan
2014-10-07 19:38   ` David Miller
2014-10-07 20:38     ` Raghuram Kothakota
2014-10-07 20:46       ` David Miller
2014-10-07 20:51         ` Sowmini Varadhan
     [not found]     ` <CACP96tSqmPzwYQKbAfVFc2YmyEOdyRtxeoCSuczx1EZTrF0JMA@mail.gmail.com>
2014-10-08 23:51       ` Sowmini Varadhan
2014-10-07 20:22 ` David L Stevens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).