Lines Matching refs:of
9 good amounts of memory savings. Some of the usecases include /tmp storage,
29 Following shows a typical sequence of steps for using zram.
33 For the sake of simplicity we skip error checking parts in most of the
36 zram sysfs attributes always return negative values in case of errors.
37 The list of possible return codes:
61 2) Set max number of compression streams
78 the value of max_comp_streams because single stream compression backend
110 There is little point creating a zram of greater than twice the size of memory
111 since we expect a 2:1 compression ratio. Note that zram uses about 0.1% of the
112 size of the disk when not in use so a huge zram is wasteful.
157 A brief description of exported device attributes. For more details please
163 initstate RO shows the initialization state of the device
165 num_reads RO the number of reads
166 failed_reads RO the number of failed reads
167 num_write RO the number of writes
168 failed_writes RO the number of failed writes
169 invalid_io RO the number of non-page-size-aligned I/O requests
170 max_comp_streams RW the number of possible concurrent compress operations
172 notify_free RO the number of notifications to free pages (either
174 zero_pages RO the number of zero filled pages written to this disk
175 orig_data_size RO uncompressed size of data stored in this disk
176 compr_data_size RO compressed size of data stored in this disk
177 mem_used_total RO the amount of memory allocated for this disk
178 mem_used_max RW the maximum amount of memory zram have consumed to
181 mem_limit RW the maximum amount of memory ZRAM can use to store
183 pages_compacted RO the number of pages freed during compaction
194 The list of deprecated attributes can be found here:
198 (e.g. num_reads) *AND* is accessible via one of the stat files (zram<id>/stat
211 layer and, thus, not available in zram<id>/stat file. It consists of a
212 single line of text and contains the following stats separated by
221 The stat file represents device's mm statistics. It consists of a single
222 line of text and contains the following stats separated by whitespace: