Skip to content

6.19.0 20260209 o2 clang 7.1.2-7.2.x

Choose a tag to compare

@thor2002ro thor2002ro released this 09 Feb 16:15

Full Changelog: https://github.com/thor2002ro/unraid_kernel/commits/20260209

start zram with something like in the go file

 # Get total RAM in bytes
 
 total_ram=$(free -b | grep Mem: | awk '{print $2}')
 # Calculate 25% of RAM
 zram_size=$((total_ram / 4))
 
 modprobe zram
 sleep 1
 
 # Create a zram device with 25% of RAM
 zramctl --find --size ${zram_size} --algorithm lz4 && \
     mkswap -L zram0 /dev/zram0 && \
     swapon -p 100 /dev/zram0