From 50687fa7a255d937e7c43caeaf7b97533bb11331 Mon Sep 17 00:00:00 2001 From: Owen Smith Date: Fri, 26 May 2023 09:17:10 +0100 Subject: [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 --- 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.5