From patchwork Tue Sep 24 21:00:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 174303 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4663390ill; Tue, 24 Sep 2019 14:06:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqydrsgjc8U7A4KLgxV5plq3HhchZlUuQukzfVlpdQZzBQhS+TeeOTqRKtBIhlybMC1JZETP X-Received: by 2002:a1c:b745:: with SMTP id h66mr2499883wmf.70.1569359204657; Tue, 24 Sep 2019 14:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569359204; cv=none; d=google.com; s=arc-20160816; b=s/67fq65PF5x4sagpdYfT1YjelOUjyHjjbxen4ZhrxGNyOIMv9Xvu0FXdsOyXaJAe9 HuVY+uO4PktubaLaYXMJEQ3pPeuucBFq1etuFPn2p6Sy+X9syrHo8MZu4gRaTdJ/RCs3 O4+aIXH1caEavj4G322gSkPJSVnZ6Qnbo9L/TvSBcWzVmmMUoeKqk0JzMmeOgJ3HZ0zb qFEBOV2Udv8fORp1j/v4P9ruVv12I4Uv27nhflB4x3RUfR20h5n1Pibby2vK3mFroN+b MT5lLhtooMKIwJjUdtYcpohyXRb5Eg6RdS+GZFZSsplo3G0JQrucPKcCY7dedAnrcAgF 1MzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=UOwxHWCw5vo47KIS9zU1ApIX4RnyzrGBUBwelWBJL7Y=; b=ghz08xLch1ets52QpmBVFbklT1pWicWiTKrfq2ZreoAOwJ9vp8CadHLCzETlWGrpTO 0DJpZJZGXF59SNhywcZbAZ+KW1/E4SoskCh2MuZllscRIYTPmU+WIWFt+WBGYzvEWf7N TNn9wLiW/J0GHGLQZgCFmJlpk6BksUrY6m8jjiIwY1Z467V/GL6D8dIK6cCbQkwIjoFl U87TgiGZAGgFhZoUj7217vTRk8+JQJhn/VFCaFSm+A5LQP7OLOXqbLOpMWLFAN3+TRZp a/yXBqE8IMw+lNy/BxXIpgRtv/JHlpZu5g+p9daxztsnoCrTG+XQ7znpoXBd31lLoG5Q jIMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=zDWTNlon; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id qu18si1573700ejb.80.2019.09.24.14.06.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Sep 2019 14:06:44 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=zDWTNlon; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCs1C-0006rP-F0 for patch@linaro.org; Tue, 24 Sep 2019 17:06:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55605) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCrw3-0002Zz-Ll for qemu-devel@nongnu.org; Tue, 24 Sep 2019 17:01:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCrw1-0004Vk-7J for qemu-devel@nongnu.org; Tue, 24 Sep 2019 17:01:23 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:53496) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCrw0-0004TH-Ti for qemu-devel@nongnu.org; Tue, 24 Sep 2019 17:01:21 -0400 Received: by mail-wm1-x331.google.com with SMTP id i16so1872688wmd.3 for ; Tue, 24 Sep 2019 14:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UOwxHWCw5vo47KIS9zU1ApIX4RnyzrGBUBwelWBJL7Y=; b=zDWTNlonuqvkhNbI3OKbzXrhnXFxcA6zSCURe7uzssKINJuDB0BMJHT0032fNTEJ7o qqPKj3OgSLw/yZW792hJAGI0NKCUCFJk3/hSArUXZzGBhb4kMvPu1O4P5lLEVCwTmnin fjV3Kyi4t1NKQgAIY9xCBAZeqIeeTuDbbFa57ZWzFm7soDo+1pvkuHvgbab0oNIZPEds ncNCVIOMycTNJfVRgbRWd4BYrBpEDJvlVUGe75YdWRPhzvpilmT5/iQKmnSLRR46w+r6 bxFSLYTC+6TbtWIbuFU4m+6qWezoJ8q2oXwDuprEElQcQ/ZG5YxlqScVHbVflvrdrrIP fKZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UOwxHWCw5vo47KIS9zU1ApIX4RnyzrGBUBwelWBJL7Y=; b=pJPw5AHse3/1yqsqqCkf/Q545H0qYtv73h6lrJNHppOklXA2XupAYi2S+o/3zJKcJF OX4yU0fiIrmSXabApNNVElHnaDgMj+4kmy8wn1+2iWWYne+ZecAGKqssPumWo6sJ27w+ ui1zpon0AeQnfjSAfOlTq4cgYduOtEg4wyDvYGVx3KwEhiDbh8qeoR7VjeYGoC+Qq27I AiverWCnZx0tf0qDuOlGn7BPvexlISLJwuLlVCH41E+/J4w1mWDY5TnyAxbxfXlVUQL+ GaKuRlXP3ln4g/CA72wJVK26mDxqRWPRlIAKyyTy+I5WZZ9oLDwJsx3uyHtLDd3lY50w D36w== X-Gm-Message-State: APjAAAUArC0qhijC5ANYFr/93Daf5ZSOH2zm6W15Gim7+r6LM7GsH+tY 0/JBCKcAPHz3fdqNc7pqq4vCHLrwHiv/FA== X-Received: by 2002:a1c:9ecb:: with SMTP id h194mr2428049wme.35.1569358875847; Tue, 24 Sep 2019 14:01:15 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b16sm4859565wrh.5.2019.09.24.14.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2019 14:01:11 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9F78D1FF99; Tue, 24 Sep 2019 22:01:07 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v3 09/33] tests/migration/postcopy: trim migration bandwidth Date: Tue, 24 Sep 2019 22:00:42 +0100 Message-Id: <20190924210106.27117-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190924210106.27117-1-alex.bennee@linaro.org> References: <20190924210106.27117-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::331 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Thomas Huth , Juan Quintela , jsnow@redhat.com, f4bug@amsat.org, "Dr. David Alan Gilbert" , Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Dr. David Alan Gilbert" On slow hosts with tcg we were sometimes finding that the migration would complete during precopy and never get into the postcopy test. Trim back the bandwidth a bit to make that much less likely. Signed-off-by: Dr. David Alan Gilbert Signed-off-by: Alex Bennée Message-Id: <20190923131022.15498-3-dgilbert@redhat.com> --- tests/migration-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/tests/migration-test.c b/tests/migration-test.c index 9c62ee5331b..221a33d0834 100644 --- a/tests/migration-test.c +++ b/tests/migration-test.c @@ -753,7 +753,7 @@ static int migrate_postcopy_prepare(QTestState **from_ptr, * quickly, but that it doesn't complete precopy even on a slow * machine, so also set the downtime. */ - migrate_set_parameter_int(from, "max-bandwidth", 100000000); + migrate_set_parameter_int(from, "max-bandwidth", 30000000); migrate_set_parameter_int(from, "downtime-limit", 1); /* Wait for the first serial output from the source */