Skip to content

fix(laptop): increase net-vm memory for darp11 storeDisk configs#1769

Merged
brianmcgillion merged 1 commit intotiiuae:mainfrom
vunnyso:vs-fixWifi
Feb 19, 2026
Merged

fix(laptop): increase net-vm memory for darp11 storeDisk configs#1769
brianmcgillion merged 1 commit intotiiuae:mainfrom
vunnyso:vs-fixWifi

Conversation

@vunnyso
Copy link
Copy Markdown
Collaborator

@vunnyso vunnyso commented Feb 19, 2026

Description of Changes

The system76-darp11-b-storeDisk targets were using the default net-vm memory (512 MiB). With virtualization.microvm.storeOnDisk = true, sysvms boot from EROFS-backed store disks, which increases page-cache/readahead pressure during early boot.

On darp11 this can starve net-vm memory enough to cause Wi-Fi bring-up instability (iwlwifi ... Unable to init nic) while the system is under heavy EROFS read activity.

Set a target-specific override:

  • vmConfig.sysvms.netvm.mem = 1024

for both:

  • system76-darp11-b-storeDisk-debug
  • system76-darp11-b-storeDisk-release

This keeps the change scoped to storeDisk variants of this hardware and avoids altering global installer or base VM defaults.

Fixes:: https://jira.tii.ae/browse/SSRCSP-8042

Type of Change

  • New Feature
  • Bug Fix
  • Improvement / Refactor

Related Issues / Tickets

Checklist

  • Clear summary in PR description
  • Detailed and meaningful commit message(s)
  • Commits are logically organized and squashed if appropriate
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • Author has run make-checks and it passes
  • All automatic GitHub Action checks pass - see actions
  • Author has added reviewers and removed PR draft status

Testing Instructions

Applicable Targets

  • Orin AGX aarch64
  • Orin NX aarch64
  • Lenovo X1 x86_64
  • Dell Latitude x86_64
  • System 76 x86_64

Installation Method

  • Requires full re-installation
  • Can be updated with nixos-rebuild ... switch
  • Other:

Test Steps To Verify:

  1. Please verify https://jira.tii.ae/browse/SSRCSP-8042

The `system76-darp11-b-storeDisk` targets were using the default net-vm
memory (512 MiB). With `virtualization.microvm.storeOnDisk = true`, sysvms
boot from EROFS-backed store disks, which increases page-cache/readahead
pressure during early boot.

On darp11 this can starve net-vm memory enough to cause Wi-Fi bring-up
instability (`iwlwifi ... Unable to init nic`) while the system is under
heavy EROFS read activity.

Set a target-specific override:

- `vmConfig.sysvms.netvm.mem = 1024`

for both:
- `system76-darp11-b-storeDisk-debug`
- `system76-darp11-b-storeDisk-release`

This keeps the change scoped to storeDisk variants of this hardware and
avoids altering global installer or base VM defaults.

Signed-off-by: Vunny Sodhi <vunny.sodhi@unikie.com>
Copy link
Copy Markdown
Collaborator

@kajusnau kajusnau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

We should keep this in mind for audio-vm as well, in case similar issues pop up there.

@brianmcgillion brianmcgillion merged commit 6a25444 into tiiuae:main Feb 19, 2026
32 checks passed
@brianmcgillion
Copy link
Copy Markdown
Collaborator

I will merge this now. but we have see these presures on resume from sleep also. So I am thinking that the vms should maybe have swap space assigned to them, to allow this tmp failover. also it would probably make the system more efficient as pages that are really not inuse can be swapped out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants