Searched refs:zram (Results 1 – 14 of 14) sorted by relevance
52 swapoff /dev/zram$i56 umount /dev/zram$i60 echo 1 > /sys/block/zram${i}/reset61 rm -rf zram$i66 echo $i > /sys/class/zram-control/hot_remove71 rmmod zram > /dev/null 2>&183 dev_start=$(ls /dev/zram* | wc -w)88 cat /sys/class/zram-control/hot_add > /dev/null97 modprobe zram num_devices=$dev_num100 rmmod zram > /dev/null 2>&1[all …]
1 zram: Compressed RAM based block devices5 The zram module creates RAM based block devices named /dev/zram<id>11 Statistics for individual zram devices are exported through sysfs nodes at12 /sys/block/zram<id>/22 zram.sh: For sanity check of CONFIG_ZRAM and to run zram01 and zram0239 kernel-source-tree/Documentation/admin-guide/blockdev/zram.rst
4 TEST_PROGS := zram.sh
40 dd conv=notrunc if=/dev/zero of=zram${i}/file \
3 zram-y := zcomp.o zram_drv.o5 zram-$(CONFIG_ZRAM_BACKEND_LZO) += backend_lzorle.o backend_lzo.o6 zram-$(CONFIG_ZRAM_BACKEND_LZ4) += backend_lz4.o7 zram-$(CONFIG_ZRAM_BACKEND_LZ4HC) += backend_lz4hc.o8 zram-$(CONFIG_ZRAM_BACKEND_ZSTD) += backend_zstd.o9 zram-$(CONFIG_ZRAM_BACKEND_DEFLATE) += backend_deflate.o10 zram-$(CONFIG_ZRAM_BACKEND_842) += backend_842.o12 obj-$(CONFIG_ZRAM) += zram.o
108 struct zram { struct
1 What: /sys/block/zram<id>/disksize10 What: /sys/block/zram<id>/initstate17 What: /sys/block/zram<id>/reset25 What: /sys/block/zram<id>/comp_algorithm33 What: /sys/block/zram<id>/mem_used_max38 the counter of maximum memory zram have consumed to store43 What: /sys/block/zram<id>/mem_limit52 What: /sys/block/zram<id>/compact60 What: /sys/block/zram<id>/io_stat69 What: /sys/block/zram<id>/mm_stat[all …]
1 What: /sys/class/zram-control/6 The zram-control/ class sub-directory belongs to zram9 What: /sys/class/zram-control/hot_add14 RO attribute. Read operation will cause zram to add a new16 use /dev/zram<id>), or error code.18 What: /sys/class/zram-control/hot_remove
2 zram: Compressed RAM-based block devices8 The zram module creates RAM-based block devices named /dev/zram<id>14 Statistics for individual zram devices are exported through sysfs nodes at15 /sys/block/zram<id>/20 There are several ways to configure and manage zram device(-s):22 a) using zram and zram_control sysfs attributes25 In this document we will describe only 'manual' zram configuration steps,26 IOW, zram and zram_control sysfs attributes.30 that zram maintainers do not develop/maintain util-linux or zramctl, should33 Following shows a typical sequence of steps for using zram.[all …]
13 这个分配器是为与zram一起使用而设计的。因此,该分配器应该在低内存条件下工作良好。特别是,
139 TARGETS += zram
109 source "drivers/block/zram/Kconfig"
117 blockdev/zram admin-guide/blockdev/zram
29782 F: Documentation/admin-guide/blockdev/zram.rst29783 F: drivers/block/zram/