I enabled the zswap before followed this, but recently, when I pushed the memory very hard, such that while free/available memory only has ~10Mb, the computer becomes slow, and force me to log out.
The watch -n 0.1 free -h
would give something like this before crashed (out of memory): it is approximated, not accurate output, but the Swap is all 0.
total used free shared buff/cache available
Mem: 31Gi 30.6Gi 10Mb 1.9Gi 1Gi 10Mb
Swap: 0B 0B 0B
Any idea of how to solve this? Also, I am not very familiar with memories, so help with explanations would be appreciated!
System:
Kernel: 5.17.9-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29
info: xfce4-panel, vala-panel, plank wm: xfwm v: 4.16.1 vt: 7 dm: LightDM
v: 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: Razer product: Blade 15 (2022) - RZ09-0421 v: 8.04
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Razer model: CH580 v: 4 serial: <superuser required> UEFI: Razer
v: 1.09 date: 02/22/2022
Battery:
ID-1: BAT0 charge: 82.3 Wh (100.0%) condition: 82.3/80.2 Wh (102.6%)
volts: 17.5 min: 15.4 model: Razer Blade type: Unknown serial: <filter>
status: full
ID-2: hidpp_battery_0 charge: 89% condition: N/A volts: 4.1 min: N/A
model: Logitech G903 LIGHTSPEED Wireless Gaming Mouse w/ HERO type: N/A
serial: <filter> status: discharging
CPU:
Info: 14-core (6-mt/8-st) model: 12th Gen Intel Core i7-12800H bits: 64
type: MST AMCP smt: enabled arch: Alder Lake rev: 3 cache: L1: 1.2 MiB
L2: 11.5 MiB L3: 24 MiB
Speed (MHz): avg: 1118 high: 2304 min/max: 400/2400:1800 cores: 1: 759
2: 478 3: 1722 4: 805 5: 1254 6: 686 7: 662 8: 1618 9: 950 10: 1709
11: 1703 12: 2304 13: 1061 14: 849 15: 992 16: 791 17: 1608 18: 670
19: 911 20: 831 bogomips: 112160
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Alder Lake-P Integrated Graphics vendor: Razer USA
driver: i915 v: kernel ports: active: eDP-1 empty: none bus-ID: 00:02.0
chip-ID: 8086:46a6 class-ID: 0300
Device-2: NVIDIA GA103M [GeForce RTX 3080 Ti Laptop GPU]
vendor: Razer USA driver: nvidia v: 510.73.05 arch: Ampere pcie:
speed: 2.5 GT/s lanes: 8 bus-ID: 01:00.0 chip-ID: 10de:2460
class-ID: 0300
Device-3: IMC Networks Integrated RGB Camera type: USB driver: uvcvideo
bus-ID: 1-2:2 chip-ID: 13d3:5279 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: xfwm v: 4.16.1 driver: X: loaded: modesetting,nvidia
alternate: fbdev,nouveau,nv,vesa gpu: i915 display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 4608x2011 s-dpi: 96 s-size: 1219x532mm (47.99x20.94")
s-diag: 1330mm (52.36")
Monitor-1: HDMI-1-0 pos: primary,top-right res: 2560x1440 hz: 60 dpi: 108
size: 600x340mm (23.62x13.39") diag: 690mm (27.15") modes: N/A
Monitor-2: eDP-1 pos: bottom-l res: 2048x1152 hz: 60 dpi: 151
size: 344x194mm (13.54x7.64") diag: 395mm (15.55") modes: N/A
Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Razer USA
driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8
class-ID: 0401
Device-2: NVIDIA vendor: Razer USA driver: N/A pcie: speed: 2.5 GT/s
lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:2288 class-ID: 0403
Sound Server-1: ALSA v: k5.17.9-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.21 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.51 running: yes
Network:
Device-1: Intel Alder Lake-P PCH CNVi WiFi vendor: Rivet Networks
driver: iwlwifi v: kernel bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
IF: wlo1 state: up mac: <filter>
IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Bluetooth:
Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-10:6
chip-ID: 8087:0033 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: see --recommends
Drives:
Local Storage: total: 953.87 GiB used: 184.51 GiB (19.3%)
ID-1: /dev/nvme0n1 model: NVMe CA6-8D1024 size: 953.87 GiB
speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> rev: ERA0902
temp: 34.9 C scheme: GPT
Partition:
ID-1: / size: 661.15 GiB used: 184.46 GiB (27.9%) fs: ext4
dev: /dev/nvme0n1p5
ID-2: /boot/efi size: 96 MiB used: 50.7 MiB (52.8%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 48.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 465 Uptime: 18h 48m wakeups: 52 Memory: 31.04 GiB
used: 8.02 GiB (25.8%) Init: systemd v: 250 Compilers: gcc: 12.1.0
clang: 13.0.1 Packages: 1467 pacman: 1444 flatpak: 10 snap: 13 Shell: Bash
v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.16
output of sudo grep -R . /sys/module/zswap/parameters
/sys/module/zswap/parameters/same_filled_pages_enabled:Y
/sys/module/zswap/parameters/enabled:Y
/sys/module/zswap/parameters/max_pool_percent:25
/sys/module/zswap/parameters/compressor:zstd
/sys/module/zswap/parameters/zpool:z3fold
/sys/module/zswap/parameters/accept_threshold_percent:90