1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 09:26:03 +00:00
webvirtcloud/computes
catborise 54487052e5 fix(computes): Balance moves small VMs rather than a large one for the same balance
The proposal took, step by step, the move that most lowered the sums of
squared loads, so a large VM went first. On a host with an 8 GiB VM and
two small ones it moved the large VM away and a small one back, where
moving the two small VMs evens the hosts out as well.

The proposal is now made twice: once taking the move that lowers the
sums most, once the move that lowers them most for the memory it moves.
The one that evens the hosts out more is taken, and of two that do it as
well, the one that moves less memory.
2026-11-16 09:02:30 +03:00
..
api fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
migrations fix(computes): a libvirt host is one compute, and a compute's VMs stay on their host 2026-11-12 09:19:03 +03:00
templates fix(computes): the Balance page shows each host's load as bars 2026-11-16 08:11:47 +03:00
tests fix(computes): Balance moves small VMs rather than a large one for the same balance 2026-11-16 09:02:30 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
apps.py fix: track migrations; installs apply them instead of generating them 2026-10-04 01:08:11 +03:00
balance.py fix(computes): Balance moves small VMs rather than a large one for the same balance 2026-11-16 09:02:30 +03:00
forms.py fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
jobs.py feat(computes): Balance proposes migrations that even out the hosts 2026-11-16 07:37:10 +03:00
models.py fix(computes): hosts that do not answer no longer keep the Computes page from the others 2026-11-13 16:38:42 +03:00
urls.py feat(computes): Balance proposes migrations that even out the hosts 2026-11-16 07:37:10 +03:00
utils.py fix(admin): two administrators at once leave a superuser and one user per address 2026-11-13 14:54:51 +03:00
validators.py fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
views.py fix(computes): the Balance page shows each host's load as bars 2026-11-16 08:11:47 +03:00