diff mbox series

[OSSTEST,55/82] host reuse: Bump host share reuse bonus

Message ID 20201007180024.7932-56-iwj@xenproject.org (mailing list archive)
State New, archived
Headers show
Series Reuse test hosts | expand

Commit Message

Ian Jackson Oct. 7, 2020, 5:59 p.m. UTC
From: Ian Jackson <ian.jackson@eu.citrix.com>

In test jobs this is now contending with the variation bonus.

If we fail to vary properly this time, we get another go in the next
flight, so this is not so critical.

This increases the amount of test host reuse.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 ts-hosts-allocate-Executive | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive
index c1002fc9..b216186a 100755
--- a/ts-hosts-allocate-Executive
+++ b/ts-hosts-allocate-Executive
@@ -673,7 +673,7 @@  sub hid_recurse ($$) {
     $prevfail_bonus //= 7.0*86400;
     my $prevfail_equiv_bonus = $prevfail_bonus * (6.5 / 7.0);
 
-    my $share_reuse_bonus = $r{hostalloc_bonus_sharereuse} // 10000;
+    my $share_reuse_bonus = $r{hostalloc_bonus_sharereuse} // 20000;
 
     my $cost= $start_time
 	+ $duration_for_cost