From 94b1c61bd615a46411a80f07e6c88d504f592ed4 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 3 Apr 2015 17:39:14 +0200 Subject: 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 --- modules/user/aszlig/profiles/workstation/default.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/user') 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; -- cgit 1.4.1