Re: [RFC 4/4] tuntap: Increase the number of queues in tun

David Gibson
2014-08-25T01:37:36Z

[-- Attachment #1: Type: text/plain, Size: 780 bytes --]

On Mon, 18 Aug 2014 19:07:20 +0530
Pankaj Gupta <pagupta@redhat.com> wrote:

> Networking under kvm works best if we allocate a per-vCPU RX and TX
> queue in a virtual NIC. This requires a per-vCPU queue on the host side.
>
> It is now safe to increase the maximum number of queues.
> Preceding patches:
> net: allow large number of rx queues
> tuntap: Reduce the size of tun_struct by using flex array
> tuntap: Publish tuntap max queue length as module_param
>
> made sure this won't cause failures due to high order memory
> allocations. Increase it to 256: this is the max number of vCPUs
> KVM supports.
>
> Signed-off-by: Pankaj Gupta <pagupta@redhat.com>

Reviewed-by: David Gibson <dgibson@redhat.com>

--
David Gibson <dgibson@redhat.com>

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]