14
5
Fork
You've already forked techstack-support
0

Improving LXC resource distribution #6

Open
opened 2023年02月19日 21:53:46 +01:00 by fnetX · 3 comments
Owner
Copy link

Currently, our LXC config uses hard upper limits for each container, which might not be very efficient, and indeed, there are currently unused resources in our systems.

A more efficient approach could be to do minimum guarantees (for example as suggested here), and use some spare resources for everyone to take.

Any opinions on that?

Currently, our LXC config uses hard upper limits for each container, which might not be very efficient, and indeed, there are currently unused resources in our systems. A more efficient approach could be to do minimum guarantees (for example [as suggested here](https://facebookmicrosites.github.io/cgroup2/docs/fbtax-results.html)), and use some spare resources for everyone to take. Any opinions on that?
Author
Owner
Copy link
Likely relevant: https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#protections https://www.kernel.org/doc/html/latest/scheduler/sched-util-clamp.html

In my daily job I use LXCs by Proxmox VE. May be I can help on that topic.

Do we have some sort of controller? Or we have our own framework to handle LXCs?

In my daily job I use LXCs by Proxmox VE. May be I can help on that topic. Do we have some sort of controller? Or we have our own framework to handle LXCs?
Author
Owner
Copy link

We have wrapper scripts about plain LXC commands in https://codeberg.org/Codeberg-Infrastructure/scripted-configuration/src/branch/main

But we basically just use plain lxc-create with a custom config file.

We have wrapper scripts about plain LXC commands in https://codeberg.org/Codeberg-Infrastructure/scripted-configuration/src/branch/main But we basically just use plain lxc-create with a custom config file.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg-Infrastructure/techstack-support#6
Reference in a new issue
Codeberg-Infrastructure/techstack-support
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?