-
-
Notifications
You must be signed in to change notification settings - Fork 119
Free some memory on resume before re-loading modules #568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Intel wifi driver wants to allocate large contiguous memory blocks (for example with Intel BE200 it's 128k). Try to force some memory (possibly pushing some apps into swap) and then force memory compaction - just before loading wifi drivers back (depending on device, module either gets loaded, or just bound to the device). Do this by using dd to allocate 512MB of memory. The amount is large enough to force swapping, but it's still significantly below the swap size (1GB) so it doesn't trigger OOM. Fixes QubesOS/qubes-issues#9869
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #568 +/- ##
==========================================
- Coverage 71.10% 70.68% -0.42%
==========================================
Files 3 3
Lines 481 481
==========================================
- Hits 342 340 -2
- Misses 139 141 +2 ☔ 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=2025040403-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025031804-4.3&flavor=update
Failed tests45 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/132953#dependencies 12 fixed
Unstable testsPerformance TestsPerformance degradation:11 performance degradations
Remaining performance tests:61 tests
|
Intel wifi driver wants to allocate large contiguous memory blocks
(for example with Intel BE200 it's 128k). Try to force some memory
(possibly pushing some apps into swap) and then force memory compaction
either gets loaded, or just bound to the device).
Do this by using dd to allocate 512MB of memory. The amount is large
enough to force swapping, but it's still significantly below the swap
size (1GB) so it doesn't trigger OOM.
Fixes QubesOS/qubes-issues#9869