[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [net-next RFC V2 PATCH 0/5] Multiqueue support in tun/t
From: |
Ben Hutchings |
Subject: |
Re: [Qemu-devel] [net-next RFC V2 PATCH 0/5] Multiqueue support in tun/tap |
Date: |
Mon, 19 Sep 2011 15:45:51 +0100 |
On Sat, 2011-09-17 at 14:02 +0800, Jason Wang wrote:
[...]
> 2 Current implementation may also get regression for single session
> packet transmission.
>
> The reason is packets from each flow were not handled by the same
> queue/vhost thread.
>
> Various method could be done to handle this:
>
> 2.1 hack the guest driver, and store the queue index into the rxhash and
> use it when choosing tx in guest. This need some hack to store the
> rxhash into sk and pass it in to skb again in
> skb_orphan_try(). sk_rxhash is only used by RPS now, so some more
> clean method is needed.
[...]
I have previously suggested doing this as a general rule. However, I
now think we can do much better with accelerated RFS and automatic XPS
(but the latter is not yet implemented). For virtio_net, accelerated
RFS would effectively push the guest's RFS socket map out to the host.
Ben.
--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
- [Qemu-devel] [net-next RFC V2 PATCH 0/5] Multiqueue support in tun/tap, Jason Wang, 2011/09/17
- [Qemu-devel] [net-next RFC V2 PATCH 1/5] tuntap: move socket to tun_file, Jason Wang, 2011/09/17
- [Qemu-devel] [net-next RFC V2 PATCH 2/5] tuntap: categorize ioctl, Jason Wang, 2011/09/17
- [Qemu-devel] [net-next RFC V2 PATCH 3/5] tuntap: introduce multiqueue flags, Jason Wang, 2011/09/17
- [Qemu-devel] [net-next RFC V2 PATCH 4/5] tuntap: multiqueue support, Jason Wang, 2011/09/17
- [Qemu-devel] [net-next RFC V2 PATCH 5/5] tuntap: add ioctls to attach or detach a file form tap device, Jason Wang, 2011/09/17
- Re: [Qemu-devel] [net-next RFC V2 PATCH 0/5] Multiqueue support in tun/tap, Michael S. Tsirkin, 2011/09/17
- Re: [Qemu-devel] [net-next RFC V2 PATCH 0/5] Multiqueue support in tun/tap,
Ben Hutchings <=