Re: [pve-devel] [RFC v1/2 manager] pvestatd: add simple container cpuset balancing

2016-10-23 Thread Dietmar Maurer
just a side note. I see that you try to avoid using sort(), and I fully agree that this is nice to have if you work on larger datasets. But we have very few entries, so I would prefer using sort(). > + # We need to keep cpus_by_count sorted: > + # 1) Since cpus can only be used once the

[pve-devel] [RFC v1/2 manager] pvestatd: add simple container cpuset balancing

2016-10-20 Thread Wolfgang Bumiller
--- PVE/Service/pvestatd.pm | 171 1 file changed, 171 insertions(+) diff --git a/PVE/Service/pvestatd.pm b/PVE/Service/pvestatd.pm index 98e5844..0d51574 100755 --- a/PVE/Service/pvestatd.pm +++ b/PVE/Service/pvestatd.pm @@ -15,6 +15,7 @@ use PVE: