Skip to content

Commit 42e91d0

Browse files
Update README.md
1 parent e1842db commit 42e91d0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,30 @@ KiB Swap: 1331192 total, 1331192 free, 0 used. 412052 avail Mem
140140
8 root 20 0 0 0 0 I 0.0 0.0 0:00.87 rcu_sched
141141
9 root 20 0 0 0 0 I 0.0 0.0 0:00.00 rcu_bh
142142
```
143+
### enable-ephemeral
144+
```
145+
pi@raspberrypi:~/zram-config $ df
146+
Filesystem 1K-blocks Used Available Use% Mounted on
147+
devtmpfs 465976 0 465976 0% /dev
148+
tmpfs 94832 48 94784 1% /mnt/run
149+
/dev/mmcblk0p2 14803620 1280148 12889224 10% /ro
150+
/dev/zram0 991512 5124 918804 1% /rw
151+
overlayfs-root 991512 5124 918804 1% /
152+
tmpfs 474152 0 474152 0% /dev/shm
153+
tmpfs 474152 6356 467796 2% /run
154+
tmpfs 5120 4 5116 1% /run/lock
155+
tmpfs 474152 0 474152 0% /sys/fs/cgroup
156+
/dev/mmcblk0p1 44220 30137 14083 69% /boot
157+
tmpfs 94828 0 94828 0% /run/user/1000
143158
159+
```
160+
```
161+
pi@raspberrypi:~/zram-config $ zramctl
162+
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
163+
/dev/zram0 lz4 1000M 19.2M 959.5K 1.4M 4 /rw
164+
/dev/zram1 lz4 750M 4K 76B 4K 4 [SWAP]
165+
166+
```
144167
### Performance
145168
LZO/4 offer the best performance and for swaps they are probably the defacto choice.
146169
You maybe have text based low impact directories such a /var/log /var/cache where highly

0 commit comments

Comments
 (0)