[Xen-devel] [OSSTEST PATCH] sg-report-host-history: Reduce limit from 2000 to 200

Ian Jackson posted 1 patch 2 weeks ago
Failed in applying to current master (apply log)
sg-report-host-history | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

[Xen-devel] [OSSTEST PATCH] sg-report-host-history: Reduce limit from 2000 to 200

Posted by Ian Jackson 2 weeks ago
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.

CC: Jürgen Groß <jgross@suse.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 sg-report-host-history | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sg-report-host-history b/sg-report-host-history
index 18b538e9..bd7391e0 100755
--- a/sg-report-host-history
+++ b/sg-report-host-history
@@ -28,7 +28,7 @@ use POSIX;
 
 use Osstest::Executive qw(:DEFAULT :colours);
 
-our $limit= 2000;
+our $limit= 200;
 our $flightlimit;
 our $htmlout = ".";
 our @blessings;
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel