Thread (19 messages) flat view 19 messages, 6 authors, 2014-08-26

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

From: David Gibson <hidden>
Date: 2014-08-25 01:37:36
Also in: lkml

On Mon, 18 Aug 2014 19:07:20 +0530
Pankaj Gupta [off-list ref] 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 <redacted>
Reviewed-by: David Gibson <redacted>

-- 
David Gibson [off-list ref]

Attachments

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