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

[PATCH] Set FrontendMaxQueues by default



Limiting the number of queues to the same value defined in xennet's INF
file prevents xenvif from allocating many more resources than required.

Currently, xenvif will allocate a queue for each active CPU, but xennet
only reports a maximum of 8 RSS queues to Windows. When vCPU count is
greather than 8, additional queues are not used and just consume resources.

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxx>
---
 src/xenvif.inf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xenvif.inf b/src/xenvif.inf
index d81fe52..4b5c9f7 100644
--- a/src/xenvif.inf
+++ b/src/xenvif.inf
@@ -88,6 +88,7 @@ HKR,,"BootFlags",0x00010003,0x81
 [XenVif_Parameters]
 HKR,"Parameters",,0x00000010
 HKR,"Parameters","RequestKey",0x00000000,%RequestKey%
+HKR,"Parameters","FrontendMaxQueues",0x00010001,0x00000008
 
 [XenVif_Inst.CoInstallers]
 CopyFiles=CoInst_CopyFiles
-- 
2.39.0.windows.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.