Skip to content

7.0 rc3 20260313 o3 lto clang 7.1.2-7.2.x x86_64_v3 ONLY

Choose a tag to compare

@thor2002ro thor2002ro released this 13 Mar 10:55

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

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