Lines Matching refs:zram
1 zram: Compressed RAM based block devices
6 The zram module creates RAM based block devices named /dev/zram<id>
12 Statistics for individual zram devices are exported through sysfs nodes at
13 /sys/block/zram<id>/
17 Following shows a typical sequence of steps for using zram.
20 modprobe zram num_devices=4
21 This creates 4 devices: /dev/zram{0,1,2,3}
73 There is little point creating a zram of greater than twice the size of memory
74 since we expect a 2:1 compression ratio. Note that zram uses about 0.1% of the
75 size of the disk when not in use so a huge zram is wasteful.
101 Per-device statistics are exported as various nodes under /sys/block/zram<id>/
104 read Documentation/ABI/testing/sysfs-block-zram.
124 mem_used_max RW the maximum amount memory zram have consumed to
139 Documentation/ABI/obsolete/sysfs-block-zram
142 (e.g. num_reads) *AND* is accessible via one of the stat files (zram<id>/stat
143 or zram<id>/io_stat or zram<id>/mm_stat) is considered to be deprecated.
147 File /sys/block/zram<id>/stat
152 File /sys/block/zram<id>/io_stat
155 layer and, thus, not available in zram<id>/stat file. It consists of a
163 File /sys/block/zram<id>/mm_stat