From d419e10f1017a54c6fed1e5e6c033d077c1735fe Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 26 Jan 2023 23:41:22 +0000 Subject: [PATCH] moby: bump CMA 384M -> 512M --- hosts/by-name/moby/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/by-name/moby/default.nix b/hosts/by-name/moby/default.nix index 956edc54..6f9c1c9f 100644 --- a/hosts/by-name/moby/default.nix +++ b/hosts/by-name/moby/default.nix @@ -68,7 +68,7 @@ # the default CMA seems to be 32M. # i was running fine with 256MB from 2022/07-ish through 2022/12-ish, but then the phone quit reliably coming back from sleep: maybe a memory leak? # `cat /proc/meminfo` to see CmaTotal/CmaFree if interested in tuning this. - boot.kernelParams = [ "cma=384M" ]; + boot.kernelParams = [ "cma=512M" ]; # mobile-nixos' /lib/firmware includes: # rtl_bt (bluetooth)