Skip to contentSkip to conversation

sg-report-host-history: Reduce limit from 2000 to 200

PATCH New Ian Jackson 1 participant 1 message Nov 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sg-report-host-history: Reduce limit from 2000 to 200

Currently the "sg-report-host-history" part of most flights is taking an inordinate amount of time. Hours. These are serialised and this is a big problem, seriously impeding throughput.

Reducing this limit by a factor of 10 will reduce the available history when we are looking at host-specific problems. It is an emergency fix.

I am working on an arrangement which will avoid having to rescan all of history each time and which will instead reuse previous output.

---
 sg-report-host-history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sg-report-host-history +1 -1
index 18b538e9..bd7391e0 100755
@@ -28,7 +28,7 @@ use POSIX;
 
 use Osstest::Executive qw(:DEFAULT :colours);
 
-our $limit= 2000;
+our $limit= 200;
 our $flightlimit;
 our $htmlout = ".";
 our @blessings;
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel