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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux