Re: [RFC 4/4] tuntap: Increase the number of queues in tun
From: David Gibson
Date: Sun Aug 24 2014 - 21:37:39 EST
On Mon, 18 Aug 2014 19:07:20 +0530
Pankaj Gupta <pagupta@xxxxxxxxxx> 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@xxxxxxxxxx>
Reviewed-by: David Gibson <dgibson@xxxxxxxxxx>
--
David Gibson <dgibson@xxxxxxxxxx>
Attachment:
pgpIatCJFUx9h.pgp
Description: PGP signature