Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Amin Vakil
infrastructure
Commits
174544ff
Verified
Commit
174544ff
authored
Apr 27, 2022
by
Jan Alexander Steffens (heftig)
Browse files
archbuild: Distribute CPU and IO resources equally among users
parent
927178ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/archbuild/files/user-.slice.d/local.conf
0 → 100644
View file @
174544ff
[
Slice
]
CPUWeight
=
100
IOWeight
=
100
roles/archbuild/tasks/main.yml
View file @
174544ff
...
...
@@ -62,6 +62,9 @@
-
mkpkg@.timer
-
mkpkg@.service
-
name
:
install user-.slice snippet
copy
:
src=user-.slice.d dest=/etc/systemd/system owner=root group=root mode=0644
-
name
:
start and enable archbuild mounts
service
:
name={{ item }} enabled={{ "yes" if archbuild_fs == 'tmpfs' else "no" }} state={{ "started" if archbuild_fs == 'tmpfs' else "stopped" }}
with_items
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment