Reduce udev max children count on minimal VMs#656
Conversation
Udev child uses between 2-5 MB each. With the default of 10, that's significant part of memory of sys-net/sys-usb. Reduce to 2. This will slow down startup a bit, but since those VMs have 2 vCPUs by default anyway, not by much. QubesOS/qubes-issues#10886
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #656 +/- ##
=======================================
Coverage 71.71% 71.71%
=======================================
Files 3 3
Lines 502 502
=======================================
Hits 360 360
Misses 142 142 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2026052509-devel&flavor=pull-requests Test run included the following:
Upload failures
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2026050504-devel&flavor=update
Failed tests23 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/176874#dependencies 26 fixed
Unstable testsDetails
Performance TestsPerformance degradation:16 performance degradations
Remaining performance tests:56 tests
|
|
Just the usual tests did fail. I didn't find a test that could show the startup time of sys-net, to compare it against previous runs. |
|
Looking at console log of sys-net, when running on "herring" runner, it takes 42s to login prompt both with and without this PR. So no visible impact. |
Udev child uses between 2-5 MB each. With the default of 10, that's
significant part of memory of sys-net/sys-usb. Reduce to 2. This will
slow down startup a bit, but since those VMs have 2 vCPUs by default
anyway, not by much.
QubesOS/qubes-issues#10886