Thread (2 messages) 2 messages, 2 authors, 2024-06-14

Re: [PATCH net-next 0/2] vsock: avoid queuing on workqueue if possible

From: Stefano Garzarella <sgarzare@redhat.com>
Date: 2024-06-14 14:40:15
Also in: kvm, virtualization

On Fri, Jun 14, 2024 at 03:55:41PM GMT, Luigi Leonardi wrote:
This patch series introduces an optimization for vsock/virtio to reduce latency:
When the guest sends a packet to the host, and the workqueue is empty,
if there is enough space, the packet is put directly in the virtqueue.
Thanks for working on this!!

I left few small comments.
I'm at DevConf this weekend, so I'll do a better review and some testing
next week.

Stefano
The first one contains some code refactoring.
More details and some performance tests in the second patch.

Marco Pinna (2):
 vsock/virtio: refactor virtio_transport_send_pkt_work
 vsock/virtio: avoid enqueue packets when work queue is empty

net/vmw_vsock/virtio_transport.c | 166 +++++++++++++++++++------------
1 file changed, 104 insertions(+), 62 deletions(-)

-- 
2.45.2
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help