From fa5f8dbd552907d47542a799385d114d7be21675 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Thu, 10 Mar 2022 15:47:08 +0100 Subject: [PATCH] sculpt: reduce NIC driver CPU quota The value of 50% as assigned by commit "sculpt: add basic support for i.MX8 Quad EVK" leaves too little room for other components of the runtime subsystem. With the adjustements of commit "sculpt: assign CPU quotas" the sum exeedcs 100%. Hence this commit tunes down the value to sensible 10%. --- repos/gems/src/app/sculpt_manager/runtime/nic_drv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/gems/src/app/sculpt_manager/runtime/nic_drv.cc b/repos/gems/src/app/sculpt_manager/runtime/nic_drv.cc index 330381e6aa..fc9aa960dd 100644 --- a/repos/gems/src/app/sculpt_manager/runtime/nic_drv.cc +++ b/repos/gems/src/app/sculpt_manager/runtime/nic_drv.cc @@ -20,7 +20,7 @@ void Sculpt::gen_nic_drv_start_content(Xml_generator &xml) Cap_quota{300}, Ram_quota{20*1024*1024}, Priority::NETWORK); - gen_named_node(xml, "resource", "CPU", [&] () { xml.attribute("quantum", "50"); }); + gen_named_node(xml, "resource", "CPU", [&] () { xml.attribute("quantum", "10"); }); xml.node("config", [&] () { });