Benutzer:Rdiez/Linux zram: Unterschied zwischen den Versionen

Aus /dev/tal
Wechseln zu: Navigation, Suche
(Weiterleitung nach Benutzer:Rdiez/PageRemoved erstellt)
 
(24 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{BenutzerSeitenNichtVeraendernWarnung|rdiez}}
+
#REDIRECT [[Benutzer:Rdiez/PageRemoved]]
 
+
= Linux zram =
+
 
+
[http://en.wikipedia.org/wiki/Zram zram] is a Linux [http://en.wikipedia.org/wiki/Block_device#BLOCKDEV block device] that lives in RAM and compresses any data written to it.
+
 
+
When created, a zram device advertises its nominal capacity as empty space but allocates no actual memory. You can then create a filesystem on the zram device and use it as a [http://en.wikipedia.org/wiki/Ram_disk RAM disk]. As data is gradually written to it, zram will allocate as much kernel memory as necessary to hold the compressed data.
+
 
+
Compressing data takes CPU time, but can be faster than writing to a physical hard disk. If the data happens to not compress well, zram will allocate as much RAM as all the original data. If that is always the case, then it is best to use an uncompressed RAM disk like ''ramdisk'', ''ramfs'' or ''tmpfs''.
+
 
+
== Availability ==
+
 
+
zram was considered stable as of Linux kernel version 3.14, released in March 2014. Ubuntu 14.04 has kernel version 3.13 and its zram is still considered experimental, although it had already enjoyed widespread usage then.
+
 
+
The version planned for kernel 3.15 supports the alternative compression algorithm [http://en.wikipedia.org/wiki/LZ4_%28compression_algorithm%29 LZ4], in addition to the default [http://en.wikipedia.org/wiki/Lzo LZO]. zram does NOT attempt to recompress the data in the background if the CPU is idle.
+
 
+
== zram as Swap Device ==
+
 
+
TODO
+

Aktuelle Version vom 15. Mai 2015, 21:18 Uhr

Weiterleitung nach: