[PATCH] Update cpu.weight default to match documented default

Matt Corallo lpxdfsfs at mattcorallo.com
Wed Aug 24 01:56:03 CEST 2022



On 8/19/22 6:08 AM, Fiona Ebner wrote:
> Hi,
> 
> On 16.08.22 05:49, Matt Corallo wrote:
>> Proxmox documentation describes the default CPU weight as 1024 in
>> numerous places. However, when unset, the Linux default CGROUP
>> weight is 100.
>>
> 
> I'd rather update the documentation in all places, because most likely
> it just wasn't adapted to mention the cgroup2 default yet. Some places
> already do mention both defaults, e.g. 'man 5 qm.conf'

Hmm, am I understanding that correctly that now I have to figure out if I'm using cgroup2 or cgroup1 
to figure out if the default is 1024 or 100? Or are modern PVE's all running cgroup2 and the UI 
simply needs to be updated universally to say that the default is now 100?

Matt




More information about the pve-devel mailing list