Any way to increase swap priority?

95 views
Skip to first unread message

Stanley Kitchen

unread,
Feb 18, 2025, 8:19:41 PM2/18/25
to ChromiumOS Discussion
Hi all,
Watching my memory remaining plummet to zero in crosh while the linux virtual machine is compiling. I also see that the amount of zram swap space remaining is significant throughout. Upping the size of the zram does not fix my problem. The memory usage from the linux virtual machine's perspective is barely touching the sides of what it is alotted.

I can see that the Priority is set to -2 when I use `swap status`, which has me thinking that if there is a way to change it, that could fix the problem I am having.

Any other advice would be appreciated.

Thanks,
Stan.

Denny Lockhart

unread,
Feb 19, 2025, 2:01:57 PM2/19/25
to stanleyki...@gmail.com, ChromiumOS Discussion
Maybe increase the swapiness setting. 🤔

Swappiness determines how quickly processes are moved from RAM to hard disk to free memory. It can assume the value 0 - 100.

Strange that it's set at 195 on my Chromebook / banshee.

~DennyL

--
--
ChromiumOS Discussion mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-discuss
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dis...@chromium.org.
Reply all
Reply to author
Forward
0 new messages