Re: [pve-devel] cluster resource scheduler question

2022-11-23 Thread DERUMIER, Alexandre
Ah ok, got it, thanks. I had totally missed HA/Usage/Static.pm , which is used in recompute_online_node_usage. I was a bit lost between perl && rust, but I begin to understand how it's working. (Nice code BTW ;) Le mercredi 23 novembre 2022 à 12:28 +0100, Fiona Ebner a écrit : > Am 23.11.22

Re: [pve-devel] cluster resource scheduler question

2022-11-23 Thread Fiona Ebner
Am 23.11.22 um 11:18 schrieb DERUMIER, Alexandre: > After doing some test, > > > if I understand, the node static infos max-mem, max-cpu are only used > to have percents to be able to compare each node. > > and the nodeusage is compute with the sum of static mem/cpu of the > services running on

Re: [pve-devel] cluster resource scheduler question

2022-11-23 Thread Thomas Lamprecht
Am 23/11/2022 um 10:09 schrieb Fiona Ebner: >> I'm not sure to understand, but the video seem to say that vm is >> migrated to the least "loaded" node. > yes, the video is misleading there. The static node CPU and memory > values and the configured CPU and memory for guests will be used to > approx

Re: [pve-devel] cluster resource scheduler question

2022-11-23 Thread DERUMIER, Alexandre
After doing some test, if I understand, the node static infos max-mem, max-cpu are only used to have percents to be able to compare each node. and the nodeusage is compute with the sum of static mem/cpu of the services running on this node. But I really don't see where it's node in the rust co

Re: [pve-devel] cluster resource scheduler question

2022-11-23 Thread Fiona Ebner
Am 22.11.22 um 17:43 schrieb DERUMIER, Alexandre: > Hi, > > I was looking at the proxmox 7.3 video > https://www.proxmox.com/en/training/video-tutorials/item/what-s-new-in-proxmox-ve-7-3 > > showing the new cluster resource scheduling with static-ressource. > > I'm not sure to understand, but th