diff options
Diffstat (limited to 'content/posts/2021-02-03-gentoo-no-desktop-lag.md')
-rw-r--r-- | content/posts/2021-02-03-gentoo-no-desktop-lag.md | 10 |
1 files changed, 5 insertions, 5 deletions
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. |