diff options
author | aszlig <aszlig@nix.build> | 2018-07-14 04:18:18 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-07-14 04:42:40 +0200 |
commit | 753d37c21993283ac93352adb0c01a0cddce186d (patch) | |
tree | 48c439f1b287de529b8a7d8341aafb0da5da16c6 /pkgs/profpatsch/nix-http-serve/default.nix | |
parent | 70c116b879164250d707d8e5aec052203fec93ce (diff) |
profiles/workstation: Refine zswap configuration
Since kernel 4.18 contains the zstd compression module in the crypto API, it really makes sense to use that instead of the default (lzo) as it seems to have lower CPU usage with higher compression ratios. Another change I've made is to use z3fold for the pooling, so that 3 pages are cramped into one page of the pool. I did also have a look at zsmalloc, but it seems to come with the cost of additional CPU usage. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/profpatsch/nix-http-serve/default.nix')
0 files changed, 0 insertions, 0 deletions