add zram notes for fedora
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
- [Autostarting services with quadlets](#autostarting-services-with-quadlets)
|
||||
- [Network](#network)
|
||||
- [VLAN Setup with nmcli](#vlan-setup-with-nmcli)
|
||||
- [ZRAM](#zram)
|
||||
|
||||
## Framework 16 Fixes
|
||||
|
||||
@@ -86,3 +87,19 @@ nmcli conn
|
||||
export NMCLI_DEVICE=enp195s0f4u1u3
|
||||
nmcli connection add type VLAN con-name $NMCLI_DEVICE.2 dev $NMCLI_DEVICE id 2
|
||||
```
|
||||
|
||||
## ZRAM
|
||||
|
||||
Increasing zram size
|
||||
|
||||
```bash
|
||||
# Show existing configuration
|
||||
zramctl
|
||||
#
|
||||
swapoff /dev/zram0
|
||||
# Reset swap
|
||||
zramctl -r /dev/zram0
|
||||
|
||||
# Set a new size
|
||||
zramctl --size 4G /dev/zram0
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user