public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH-SERIES proxmox-{resource-scheduling, perl-rs}] fix scoring issue with overcommitted node
@ 2023-03-21 12:33 Fiona Ebner
  2023-03-21 12:33 ` [pve-devel] [PATCH proxmox-resource-scheduling 1/2] pve ha: fix scoring issue when a node is overcommitted compared to others Fiona Ebner
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Fiona Ebner @ 2023-03-21 12:33 UTC (permalink / raw)
  To: pve-devel

The current algorithm is blind in cases where the static node stats
are the same and there is (at least) one node that is overcommitted
when compared to the others.

The problem is that using the linear average produces the same values
for the alternatives (except for the overcommitted node). Fix it by
using a nonlinear average.

The patch proxmox-perl-rs 2/2 requires a build-dependency bump for
proxmox-resource-scheduling.


proxmox-resource-scheduling:

Fiona Ebner (2):
  pve ha: fix scoring issue when a node is overcommitted compared to
    others
  pve ha: fix typo in comment

 src/pve_static.rs | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)


proxmox-perl-rs:

Fiona Ebner (2):
  pve: test: resource scheduling: use dedicated functions for tests
  pve: test: resource scheduling: add test with overcommitted node

 pve-rs/test/resource_scheduling.pl | 102 +++++++++++++++++++++--------
 1 file changed, 73 insertions(+), 29 deletions(-)

-- 
2.30.2





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

end of thread, other threads:[~2023-03-21 14:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-21 12:33 [pve-devel] [PATCH-SERIES proxmox-{resource-scheduling, perl-rs}] fix scoring issue with overcommitted node Fiona Ebner
2023-03-21 12:33 ` [pve-devel] [PATCH proxmox-resource-scheduling 1/2] pve ha: fix scoring issue when a node is overcommitted compared to others Fiona Ebner
2023-03-21 12:33 ` [pve-devel] [PATCH proxmox-resource-scheduling 2/2] pve ha: fix typo in comment Fiona Ebner
2023-03-21 12:33 ` [pve-devel] [PATCH proxmox-perl-rs 1/2] pve: test: resource scheduling: use dedicated functions for tests Fiona Ebner
2023-03-21 12:33 ` [pve-devel] [PATCH proxmox-perl-rs 2/2] pve: test: resource scheduling: add test with overcommitted node Fiona Ebner
2023-03-21 14:25 ` [pve-devel] applied-series: [PATCH-SERIES proxmox-{resource-scheduling, perl-rs}] fix scoring issue " Thomas Lamprecht

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