zram hinzugefügt
commit
d05b4dc6c1
46
zram.md
Normal file
46
zram.md
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
Vorher:
|
||||||
|
```
|
||||||
|
root@ws ~ # find /proc -name "*zr*"; find /sys -name "*zr*"
|
||||||
|
```
|
||||||
|
|
||||||
|
Modul laden:
|
||||||
|
```
|
||||||
|
root@ws ~ # modprobe zram
|
||||||
|
root@ws ~ # find /proc -name "*zr*"; find /sys -name "*zr*"
|
||||||
|
/sys/kernel/btf/zram
|
||||||
|
/sys/kernel/debug/zram
|
||||||
|
/sys/kernel/debug/zram/zram0
|
||||||
|
/sys/kernel/debug/block/zram0
|
||||||
|
/sys/class/block/zram0
|
||||||
|
/sys/class/zram-control
|
||||||
|
/sys/devices/virtual/block/zram0
|
||||||
|
/sys/block/zram0
|
||||||
|
/sys/module/zram
|
||||||
|
```
|
||||||
|
|
||||||
|
Mit aktivem zram-Swap:
|
||||||
|
```
|
||||||
|
root@odroid-m1:pts/0->/home/svelt (0)
|
||||||
|
> zramctl
|
||||||
|
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
|
||||||
|
/dev/zram0 lzo-rle 3,8G 4K 74B 12K 4 [SWAP]
|
||||||
|
/dev/zram1 zstd 50M 2M 428,8K 1,7M 4 /var/log
|
||||||
|
root@odroid-m1:pts/0->/home/svelt (0)
|
||||||
|
> find /proc -name "*zr*"; find /sys -name "*zr*"
|
||||||
|
/proc/fs/ext4/zram1
|
||||||
|
/sys/kernel/debug/block/zram2
|
||||||
|
/sys/kernel/debug/block/zram1
|
||||||
|
/sys/kernel/debug/block/zram0
|
||||||
|
/sys/class/block/zram1
|
||||||
|
/sys/class/block/zram2
|
||||||
|
/sys/class/block/zram0
|
||||||
|
/sys/class/zram-control
|
||||||
|
/sys/devices/virtual/block/zram1
|
||||||
|
/sys/devices/virtual/block/zram2
|
||||||
|
/sys/devices/virtual/block/zram0
|
||||||
|
/sys/fs/ext4/zram1
|
||||||
|
/sys/block/zram1
|
||||||
|
/sys/block/zram2
|
||||||
|
/sys/block/zram0
|
||||||
|
/sys/module/zram
|
||||||
|
```
|
Loading…
Reference in a new issue