From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BB86C433DB for ; Wed, 17 Feb 2021 11:59:06 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E80F6024A for ; Wed, 17 Feb 2021 11:59:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E80F6024A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:48276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCLU0-0002Ce-4E for qemu-devel@archiver.kernel.org; Wed, 17 Feb 2021 06:59:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCLTC-0001lA-9M for qemu-devel@nongnu.org; Wed, 17 Feb 2021 06:58:14 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:46019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCLT9-0002SJ-Tp for qemu-devel@nongnu.org; Wed, 17 Feb 2021 06:58:13 -0500 Received: by mail-wr1-x42e.google.com with SMTP id v7so17076630wrr.12 for ; Wed, 17 Feb 2021 03:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=a3nbVNGutJMcVPW7dranXbkKWMcxoXpBBKBGT+dOQ6o=; b=TNn27DlwkrEdsPQ6YRe0D7umQsMzBGjJUVHew6GiQve/gRvwp3Aeo67blO7H/FYChe MBO1ggrE7IyX2UFM/E2uPTyPZahV9GSps/YKfpEcwsPvjBnh8zYik9TDJ0cOojMY5miD tfzr0fh7fVywxghNCDN5HuHdAyMQ5HFBudOU9pi3t2nVBGTXqjBVlA3hsebOcK86RA3e R2U08ilgBSvSRNQlL6duB5xEZH2UjXUwRwMCai+3m3F8ft1G6hWXltvfRRH+48ShiBXK MbRCwk96JuBeJ1cE5HVhSOjZaU6NDnuTgvptXNgCV72NngxXifXj6DtCif0v4KXES+2V yErg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=a3nbVNGutJMcVPW7dranXbkKWMcxoXpBBKBGT+dOQ6o=; b=dhLAT4NC0zjKdYzbyvavDtt+qm6ano8UEuwiZP3XCsSZKOwLDw6OyWKEiJDbtxSg0W HujRsM3K8JIf9VHD5AV1E8P6PN/JFTIpiBSMXHw2TbA6Hhbn7hKFO7hBop6WdIxPdEd/ t/aPwIlNF5OI/6HulfJr/eqDgy/PsvQpaLv1JSeDIfrRZxnwLHOSSxUFTeNOMJ6qPeJD 81S5aaw7iwrKdzFF9Kh+P8v2UVDaHpoxBfl4v6ZbUIuzsTiKtQ+JmGaDUXUZPKf1oP/9 6xBNqur2t13qdzsu7tCsbm2D+ZNh72XRc9PM2CKwHR8mbTLTLhtFfTceNtvNTjry429G PQ+A== X-Gm-Message-State: AOAM531hzNEF0Ey+byCc49Wo/U8HgaZRlYpI7WRk1yQwlBrBg5MMvnTN zrcKPGSBPMOqwnwrAnwjWqOm9CrHI9udYQ== X-Google-Smtp-Source: ABdhPJwJfJrn4AwxJ0n4vemsy5jpU0ZuCQcsf3tUftwFmORQfAZYPHKF5u/yOw/Sh/XD6b54I1czxw== X-Received: by 2002:adf:e943:: with SMTP id m3mr22788300wrn.179.1613563089496; Wed, 17 Feb 2021 03:58:09 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id n186sm2673050wmn.22.2021.02.17.03.58.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Feb 2021 03:58:08 -0800 (PST) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E3E721FF7E; Wed, 17 Feb 2021 11:58:07 +0000 (GMT) References: <20210217102531.1441557-1-thuth@redhat.com> User-agent: mu4e 1.5.8; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Thomas Huth Subject: Re: [PATCH] travis.yml: Limit simultaneous jobs to 3 Date: Wed, 17 Feb 2021 11:57:52 +0000 In-reply-to: <20210217102531.1441557-1-thuth@redhat.com> Message-ID: <87czwyucs0.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Thomas Huth writes: > Even though the host machines that run the Travis CI jobs have > quite a lot of CPUs (e.g. nproc in an aarch64 job reports 32), the > containers on Travis are still limited to 2 vCPUs according to: > > https://docs.travis-ci.com/user/reference/overview/#approx-boot-time > > So we do not gain much when compiling with a job number based on > the output of "getconf _NPROCESSORS_ONLN" - quite the contrary, the > aarch64 containers are currently aborting quite often since they > are running out of memory. Thus let's rather use a fixed number > like 3 in the jobs here, so that e.g. two threads can actively run > while a third one might be waiting for I/O operations to complete. > This should hopefully fix the out-of-memory failures in the aarch64 > CI jobs. > Queued to testing/next, thanks. > Signed-off-by: Thomas Huth > --- > See also this URL for the explanation of the 32 vs 2 CPUs on aarch64: > https://travis-ci.community/t/nproc-reports-32-cores-on-arm64/5851 > > .travis.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/.travis.yml b/.travis.yml > index fc27fd6330..cc39a447e8 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -88,7 +88,7 @@ git: > # Common first phase for all steps > before_install: > - if command -v ccache ; then ccache --zero-stats ; fi > - - export JOBS=3D$(($(getconf _NPROCESSORS_ONLN) + 1)) > + - export JOBS=3D3 > - echo "=3D=3D=3D Using ${JOBS} simultaneous jobs =3D=3D=3D" >=20=20 > # Configure step - may be overridden --=20 Alex Benn=C3=A9e