From fae17644b9ef2382994bf3ce7d288e08211c42ef Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sun, 1 Sep 2024 20:34:09 +0200 Subject: migrate more stuff --- content/posts/2021-02-03-gentoo-no-desktop-lag.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'content/posts/2021-02-03-gentoo-no-desktop-lag.md') diff --git a/content/posts/2021-02-03-gentoo-no-desktop-lag.md b/content/posts/2021-02-03-gentoo-no-desktop-lag.md index 812b7d4..d5c9d20 100644 --- a/content/posts/2021-02-03-gentoo-no-desktop-lag.md +++ b/content/posts/2021-02-03-gentoo-no-desktop-lag.md @@ -23,10 +23,10 @@ tags: systemctl enable --now portage.slice ``` - CPUShares option defaults to 1024, `systemd` will create a user slice for + `CPUShares` option defaults to 1024, `systemd` will create a user slice for each user with an active session, and all processes that user run will be - assigned to that slice, anything that a user may run will receive 4 times the - CPU time of processes assigned to the portage slice. + assigned to that slice, anything that a user may run will receive 4 times + the CPU time of processes assigned to the portage slice. ```sh ➜ ~ cat /sys/fs/cgroup/cpu,cpuacct/user.slice/cpu.shares @@ -48,5 +48,5 @@ tags: The `cgroup.procs` file is present in every cgroup and contains a list of processes that are members of that particular cgroup. Writing a PID to this - file will move all threads in that process at once to the cgroup. And that, - is awesome :D + file will move all threads in that process at once to the cgroup, and that, + is awesome. -- cgit v1.2.3