2023-12-25 21:54:10 +01:00
|
|
|
# Zram
|
|
|
|
|
|
|
|
Because a Linux system requires swap to function properly install `zram-init`. To keep it simple, it will utilise RAM to store compressed swap.
|
|
|
|
|
|
|
|
Install it with:
|
|
|
|
|
|
|
|
```
|
|
|
|
# apk add zram-init
|
|
|
|
# rc-update add zram-init default
|
|
|
|
```
|
|
|
|
|
|
|
|
Now reboot the computer or restart the service to check if it works.
|