aboutsummaryrefslogtreecommitdiffstats
path: root/community/zram-init/default-lz4.patch
blob: 30d2e8f5755add0bee01d7c651026331b629dd9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
diff --git a/openrc/conf.d/zram-init b/openrc/conf.d/zram-init
index 06871f3..9d6ce70 100644
--- a/openrc/conf.d/zram-init
+++ b/openrc/conf.d/zram-init
@@ -54,7 +54,7 @@ mlim0= # no hard memory limit
 back0= # no backup device
 notr0= # keep the default on linux-3.15 or newer
 maxs0=1 # maximum number of parallel processes for this device
-algo0=zstd # zstd (since linux-4.18), lz4 (since linux-3.15), or lzo.
+algo0=lz4 # zstd (since linux-4.18), lz4 (since linux-3.15), or lzo.
            # Size: zstd (best) > lzo > lz4. Speed: lz4 (best) > zstd > lzo
 labl0=zram_swap # the label name
 uuid0= # Do not force UUID
@@ -74,7 +74,7 @@ mode1=1777
 owgr1= # No reason to change the default "root:root"
 notr1= # keep the default on linux-3.15 or newer
 maxs1=2
-algo1=zstd
+algo1=lz4
 labl1=tmp_dir
 uuid1=
 args1=
@@ -90,7 +90,7 @@ mode2=1777
 owgr2= # No reason to change the default "root:root"
 notr2= # keep the default on linux-3.15 or newer
 maxs2=1
-algo2=zstd
+algo2=lz4
 labl2=var_tmp_dir
 uuid2=
 args2=
@@ -100,7 +100,7 @@ type3=- # Only format the filesystem but actually do not mount it
 flag3=btrfs
 size3=1024
 maxs3=1
-algo3=zstd
+algo3=lz4
 labl3=zbtrfs
 uuid3=
 args3=
@@ -114,7 +114,7 @@ type3=swap
 flag3=
 size3=512
 maxs3=1
-algo3=zstd
+algo3=lz4
 labl3=zram_swap2
 uuid3=
 args3=