Commit e1db111
authored
feat(kernel): Enable lz4, lz4hc and zstd zram compression (#16268)
Enabling the kernel Crypto API compression modules for LZ4, LZ4HC, and ZSTD expands our supported zram compression options so we can tune memory-compression behavior per workload across our x86_64 and aarch64 fleet.
This change is intended as a performance and resilience improvement (compression-only) rather than a security feature, and it helps avoid a one-size-fits-all compression choice by allowing us to standardize on the best algorithm per environment based on measured results.
Note that the default option has not changed and new compression algorithms need to be explicitly set.
root [ /home/azureuser ]# modprobe zram
root [ /home/azureuser ]# cat /sys/block/zram0/comp_algorithm
lzo [lzo-rle] lz4 lz4hc zstd1 parent d0c06aa commit e1db111
19 files changed
Lines changed: 101 additions & 29 deletions
File tree
- SPECS-EXTENDED/kernel-ipe
- SPECS-SIGNED
- kernel-64k-signed
- kernel-signed
- kernel-uki-signed
- SPECS
- kernel-64k
- kernel-headers
- kernel
- toolkit
- resources/manifests/package
- scripts/kernel_config_checker/kernel_configs_json
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2120 | 2120 | | |
2121 | 2121 | | |
2122 | 2122 | | |
| 2123 | + | |
| 2124 | + | |
2123 | 2125 | | |
| 2126 | + | |
2124 | 2127 | | |
2125 | 2128 | | |
2126 | 2129 | | |
| |||
7624 | 7627 | | |
7625 | 7628 | | |
7626 | 7629 | | |
7627 | | - | |
7628 | | - | |
7629 | | - | |
| 7630 | + | |
| 7631 | + | |
| 7632 | + | |
7630 | 7633 | | |
7631 | 7634 | | |
7632 | 7635 | | |
| |||
7814 | 7817 | | |
7815 | 7818 | | |
7816 | 7819 | | |
| 7820 | + | |
| 7821 | + | |
7817 | 7822 | | |
7818 | 7823 | | |
7819 | 7824 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2623 | 2623 | | |
2624 | 2624 | | |
2625 | 2625 | | |
| 2626 | + | |
| 2627 | + | |
2626 | 2628 | | |
| 2629 | + | |
2627 | 2630 | | |
2628 | 2631 | | |
2629 | 2632 | | |
| |||
10670 | 10673 | | |
10671 | 10674 | | |
10672 | 10675 | | |
10673 | | - | |
10674 | | - | |
10675 | | - | |
| 10676 | + | |
| 10677 | + | |
| 10678 | + | |
10676 | 10679 | | |
10677 | 10680 | | |
10678 | 10681 | | |
| |||
10898 | 10901 | | |
10899 | 10902 | | |
10900 | 10903 | | |
| 10904 | + | |
| 10905 | + | |
10901 | 10906 | | |
10902 | 10907 | | |
10903 | 10908 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
463 | 466 | | |
464 | 467 | | |
465 | 468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
383 | 386 | | |
384 | 387 | | |
385 | 388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2120 | 2120 | | |
2121 | 2121 | | |
2122 | 2122 | | |
| 2123 | + | |
| 2124 | + | |
2123 | 2125 | | |
| 2126 | + | |
2124 | 2127 | | |
2125 | 2128 | | |
2126 | 2129 | | |
| |||
7624 | 7627 | | |
7625 | 7628 | | |
7626 | 7629 | | |
7627 | | - | |
7628 | | - | |
7629 | | - | |
| 7630 | + | |
| 7631 | + | |
| 7632 | + | |
7630 | 7633 | | |
7631 | 7634 | | |
7632 | 7635 | | |
| |||
7814 | 7817 | | |
7815 | 7818 | | |
7816 | 7819 | | |
| 7820 | + | |
| 7821 | + | |
7817 | 7822 | | |
7818 | 7823 | | |
7819 | 7824 | | |
| |||
0 commit comments