public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH pve-common 0/4] add generic CGroup module
@ 2020-10-30  9:42 Alexandre Derumier
  2020-10-30  9:42 ` [pve-devel] [PATCH pve-common 1/4] move PVE::LXC::CGroup to PVE::CGroup Alexandre Derumier
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Alexandre Derumier @ 2020-10-30  9:42 UTC (permalink / raw)
  To: pve-devel

This move Cgroup module from LXC to pve-common,
to be able to use it in qemu-server too.
(and add support for cgroupv2 only for qemu)

I have also included a bugfix for cpushares from cgroup v1,
when value is not defined,it's currently set to 100 instead 1024.
(can be trigerred by pct --delete cpuunits)


Alexandre Derumier (4):
  move PVE::LXC::CGroup to PVE::CGroup
  Cgroups: remove specific lxc code
  bugfix: cpushares : default value is 1024 for cgroup v1
  systemd: add CPUWeight encoding

 src/Makefile       |   1 +
 src/PVE/CGroup.pm  | 544 +++++++++++++++++++++++++++++++++++++++++++++
 src/PVE/Systemd.pm |   2 +-
 3 files changed, 546 insertions(+), 1 deletion(-)
 create mode 100644 src/PVE/CGroup.pm

-- 
2.20.1




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-05 10:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-30  9:42 [pve-devel] [PATCH pve-common 0/4] add generic CGroup module Alexandre Derumier
2020-10-30  9:42 ` [pve-devel] [PATCH pve-common 1/4] move PVE::LXC::CGroup to PVE::CGroup Alexandre Derumier
2020-10-30  9:42 ` [pve-devel] [PATCH pve-common 2/4] Cgroups: remove specific lxc code Alexandre Derumier
2020-11-05 10:35   ` Wolfgang Bumiller
2020-10-30  9:42 ` [pve-devel] [PATCH pve-common 3/4] bugfix: cpushares : default value is 1024 for cgroup v1 Alexandre Derumier
2020-10-30  9:42 ` [pve-devel] [PATCH pve-common 4/4] systemd: add CPUWeight encoding Alexandre Derumier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal