mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next RFC 0/2] don't clean packets in start_xmit in TX NAPI mode
@ 2025-01-22  6:15 Jason Wang
  2025-01-22  6:15 ` [PATCH net-next RFC 1/2] virtio-net: factor out logic for stopping TX Jason Wang
  2025-01-22  6:16 ` [PATCH net-next RFC 2/2] virtio-net: free old xmit skbs only in NAPI Jason Wang
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Wang @ 2025-01-22  6:15 UTC (permalink / raw)
  To: mst, jasowang, xuanzhuo, eperezma
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, virtualization,
	netdev, linux-kernel

Hi all:

This is an RFC to try to speed up TX by avoid cleaning transmitted
packets in start_xmit() when TX NAPI mode is enabled. This increase
25%-62% PPS depending on the setups while keeping the TCP throughput.

More numbers could be seen in patch 2.

Thanks

Jason Wang (2):
  virtio-net: factor out logic for stopping TX
  virtio-net: free old xmit skbs only in NAPI

 drivers/net/virtio_net.c | 53 ++++++++++++++++++++++++++++++----------
 1 file changed, 40 insertions(+), 13 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-01-22  6:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-22  6:15 [PATCH net-next RFC 0/2] don't clean packets in start_xmit in TX NAPI mode Jason Wang
2025-01-22  6:15 ` [PATCH net-next RFC 1/2] virtio-net: factor out logic for stopping TX Jason Wang
2025-01-22  6:16 ` [PATCH net-next RFC 2/2] virtio-net: free old xmit skbs only in NAPI Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®