[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.2] libxl: Increase device model startup timeout to 1min.



commit ba7d8144fd004cc1431d53b3a95d1755158f2444
Author:     Anthony PERARD <anthony.perard@xxxxxxxxxx>
AuthorDate: Tue Jul 7 16:09:13 2015 +0100
Commit:     Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CommitDate: Fri Sep 18 16:30:10 2015 +0100

    libxl: Increase device model startup timeout to 1min.
    
    On a busy host, QEMU may take more than 10s to load and start.
    
    This is likely due to a bug in Linux where the I/O subsystem sometime
    produce high latency under load and result in QEMU taking a long time to
    load every single dynamic libraries.
    
    Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    (cherry picked from commit 9acfbe14d7261b03e3b3f4dc3c850ba2a7093e1f)
    
    Conflicts:
        tools/libxl/libxl_internal.h
    (cherry picked from commit bbbd29a25d090f1180d14210358c6d7ccdebef85)
    (cherry picked from commit fe66a76a2d6e30f2cd3aea6b2c8cb41f20ca6ea2)
    (cherry picked from commit 6d81366482a2fbc418cc96bd2d9875ae99da612c)
---
 tools/libxl/libxl_internal.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h
index 636c91b..5a0d681 100644
--- a/tools/libxl/libxl_internal.h
+++ b/tools/libxl/libxl_internal.h
@@ -83,7 +83,9 @@
 #define LIBXL_INIT_TIMEOUT 10
 #define LIBXL_DESTROY_TIMEOUT 10
 #define LIBXL_HOTPLUG_TIMEOUT 10
-#define LIBXL_DEVICE_MODEL_START_TIMEOUT 10
+/* QEMU may be slow to load and start due to a bug in Linux where the I/O
+ * subsystem sometime produce high latency under load. */
+#define LIBXL_DEVICE_MODEL_START_TIMEOUT 60
 #define LIBXL_QEMU_BODGE_TIMEOUT 2
 #define LIBXL_XENCONSOLE_LIMIT 1048576
 #define LIBXL_XENCONSOLE_PROTOCOL "vt100"
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.2

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.