diff options
author | Christian Segundo | 2024-09-01 20:34:09 +0200 |
---|---|---|
committer | Christian Segundo | 2024-09-01 20:34:09 +0200 |
commit | fae17644b9ef2382994bf3ce7d288e08211c42ef (patch) | |
tree | 66305cadf6371bb777f8c2e7fa62db4930621e4c /content/posts/2021-02-03-gentoo-no-desktop-lag.md | |
parent | 82c70566e88d9260d68f69ab59e6761197d828ec (diff) | |
download | check-caps-lock-fae17644b9ef2382994bf3ce7d288e08211c42ef.tar.gz |
migrate more stuff
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. |