about summary refs log tree commit diff
path: root/modules/user
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-04-03 17:39:14 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-04-03 17:39:14 +0200
commit94b1c61bd615a46411a80f07e6c88d504f592ed4 (patch)
tree2408159fce6472567196925e7d27c5c69d2bb013 /modules/user
parente2aaef872758180d79e7cd500d0c5bd57c1d9a42 (diff)
aszlig/workstation: Disable KSM again.
I wanted to use it for my countless XTerms, so I patched xterm+zsh to
use madvise() with MADV_MERGEABLE on every allocation and the results
weren't *that* bright:

pages_shared: 83
pages_sharing: 1498
pages_unshared: 942
pages_volatile: 1

With 20 terminals, so roughly 5.85 MB "saved" and ~9 for 120 instances.
That really isn't worth the CPU overhead, thus I'm turning it off again.

So, I need a better strategy to support my habit of running hundreds of
terminals (or better: shells, because that's really what's actually
eating up my RAM).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/aszlig/profiles/workstation/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix
index c862965e..0c7c4f75 100644
--- a/modules/user/aszlig/profiles/workstation/default.nix
+++ b/modules/user/aszlig/profiles/workstation/default.nix
@@ -28,7 +28,6 @@ in {
     '') ++ import ./packages.nix pkgs;
 
     hardware = {
-      enableKSM = true;
       pulseaudio.enable = true;
       pulseaudio.package = pkgs.pulseaudio.override {
         useSystemd = true;