RFC batched tx processing in vhost_net
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 53 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | vhost: split out ring head fetching logicdrivers/ drivers/ | +54 | 4 replies | |
| 1/5 | vhost: split out ring head fetching logicdrivers/ drivers/ | +54 | 0 replies | |
| 2/5 | vhost: introduce helper to prefetch desc indexdrivers/ drivers/ | +58 | 14 replies | |
| 2/5 | vhost: introduce helper to prefetch desc indexdrivers/ drivers/ | +58 | 0 replies | |
| 3/5 | vhost: introduce vhost_add_used_idx()drivers/ drivers/ | +34 | 12 replies | |
| 4/5 | vhost_net: rename VHOST_RX_BATCH to VHOST_NET_BATCHdrivers/ | +3 | 0 replies | |
| 4/5 | vhost_net: rename VHOST_RX_BATCH to VHOST_NET_BATCHdrivers/ | +3 | 0 replies | |
| 5/5 | vhost_net: basic tx virtqueue batched processingdrivers/ drivers/ | +121 | 13 replies | |
| 5/5 | vhost_net: basic tx virtqueue batched processingdrivers/ drivers/ | +121 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Stefan Hajnoczi |
|---|---|
| 1/5 | |
| 1/5 | |
| 2/5 | |
| 2/5 | |
| 3/5 | R-b R-b |
| 4/5 | |
| 4/5 | |
| 5/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next RFC 0/5] batched tx processing in vhost_net
Hi:
This series tries to implement basic tx batched processing. This is done by prefetching descriptor indices and update used ring in a batch. This intends to speed up used ring updating and improve the cache utilization. Test shows about ~22% improvement in tx pss.
Please review.
Jason Wang (5):
vhost: split out ring head fetching logic
vhost: introduce helper to prefetch desc index
vhost: introduce vhost_add_used_idx()
vhost_net: rename VHOST_RX_BATCH to VHOST_NET_BATCH
vhost_net: basic tx virtqueue batched processing
drivers/vhost/net.c | 221 ++++++++++++++++++++++++++++---------------------- drivers/vhost/vhost.c | 165 +++++++++++++++++++++++++++++++------ drivers/vhost/vhost.h | 9 ++ 3 files changed, 270 insertions(+), 125 deletions(-)
Signature · 1 line
2.7.4