Skip to content

Commit 38c62b7

Browse files
committed
Increase swapfile size from 2G to 4G
Better to have more than less in our case. Official Void Linux recommendations (https://docs.voidlinux.org/installation/live-images/partitions.html#swap-partitions) for 2-8G systems is "equal to amount of RAM". With too small swap space (I had old Nakamochi with 1G swapfile) user will notice freezing and slow screen unlock when system has too small amount of available memory. Then only workaround, unless you have ssh access, is turning it off and on again.
1 parent 0b56eb5 commit 38c62b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ set up the SSD:
8686

8787
add swap:
8888

89-
dd if=/dev/zero of=/ssd/swapfile bs=1M count=2048
89+
dd if=/dev/zero of=/ssd/swapfile bs=1M count=4096
9090
chmod 600 /ssd/swapfile
9191
mkswap /ssd/swapfile
9292
echo "/ssd/swapfile none swap sw,nofail 0 0" >> /etc/fstab

0 commit comments

Comments
 (0)