You are not logged in.

#1 2024-06-27 03:47:23

cire0x
Member
Registered: 2024-06-27
Posts: 2

[SOLVED] Zswap won't disable(help)

Hello, I followed the wiki on zswap.
Kernel: 6.9.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC
I'm running BTRFS

adding "swap.enabled=0" to kernel parameters:

GRUB_CMDLINE_LINUX_DEFAULT="rd.luks.uuid=### loglevel=3 zswap.enabled=0 nowatchdog nvme_load=YES"

updated grub: grub-mkconfig -o /boot/grub/grub.cfg

I rebooted.
I'm zswap is still enabled

sudo dmesg | grep zswap                                                                                                                                 
[    0.559163] zswap: loaded using pool zstd/zsmalloc

sudo cat /proc/cmdline                                                                                                                                 
BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=### rw rootflags=subvol=@ nowatchdog nvme_load=YES rd.luks.uuid=### loglevel=3

It's like grub refuse want to add it to the cmdline when I update. Has anyone else experience this?

Last edited by cire0x (2024-06-27 18:02:25)

Offline

#2 2024-06-27 03:51:56

cire0x
Member
Registered: 2024-06-27
Posts: 2

Re: [SOLVED] Zswap won't disable(help)

never mind, I mysteriously fixed it.

Offline

#3 2024-06-27 08:00:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,153

Re: [SOLVED] Zswap won't disable(help)

What did you actually do? https://wiki.archlinux.org/title/Genera … way_street

In any case, please mark as [SOLVED] by editing the title in your first post.

Offline

Board footer

Powered by FluxBB