From: Wei Liu Subject: Re: [PATCH for-4.6] libxl: increase hotplug timeout to 40s Date: Tue, 4 Aug 2015 11:26:12 +0100 Message-ID: <20150804102612.GY26074@zion.uk.xensource.com> References: <1438682575-44290-1-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZMZQH-0004ju-Lt for xen-devel@lists.xenproject.org; Tue, 04 Aug 2015 10:26:17 +0000 Content-Disposition: inline In-Reply-To: <1438682575-44290-1-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: xen-devel@lists.xenproject.org, Wei Liu , Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tue, Aug 04, 2015 at 12:02:55PM +0200, Roger Pau Monne wrote: > The default libxl timeout for hotplug scripts execution is too low, when > launching 40 HVM guests in parallel, all using the same file as disk, > execution times of ~20s are expected. Increase the timeout to 40s in order > to be sure hotplug scripts have enough time to execute. > = > Signed-off-by: Roger Pau Monn=E9 > Reported-by: Konrad Rzeszutek Wilk > --- > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu As I understand this from the discussion in the other thread, there is no regression in hotplug scripts. Increasing the timeout is a reasonable solution for 4.6. Acked-by: Wei Liu Might be worth mentioning this is short term solution in commit message though. > --- > tools/libxl/libxl_internal.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > = > diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h > index 911de2d..0e79cde 100644 > --- a/tools/libxl/libxl_internal.h > +++ b/tools/libxl/libxl_internal.h > @@ -86,7 +86,7 @@ > = > #define LIBXL_INIT_TIMEOUT 10 > #define LIBXL_DESTROY_TIMEOUT 10 > -#define LIBXL_HOTPLUG_TIMEOUT 10 > +#define LIBXL_HOTPLUG_TIMEOUT 40 > /* 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 > -- = > 1.9.5 (Apple Git-50.3)