diff --git a/performance/swap.sh b/performance/swap.sh new file mode 100644 index 0000000..39a16a7 --- /dev/null +++ b/performance/swap.sh @@ -0,0 +1,5 @@ +#!/bin/sh +fallocate -l 2G /swapfile +chmod 600 /swapfile +mkswap /swapfile +swapon /swapfile