From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6748E42DE8; Thu, 6 Jul 2023 14:49:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2974E410FA; Thu, 6 Jul 2023 14:49:39 +0200 (CEST) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id 5A69C40A79 for ; Thu, 6 Jul 2023 14:49:38 +0200 (CEST) Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 0AD933F1C7 for ; Thu, 6 Jul 2023 12:49:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1688647778; bh=BcMZAYUSqEPaaxOlAYn5KmY0zCvdMZVgdT4m2ZGHXcI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=EEchY4UwzO3rTTu97W5sLgVgr2+wTU5nldFiPAYcQ7Lf6neGsUR0z4RpNBR3M2niI /bd8ZPV4Vzx7uWT9Kxm3ZRaFuEQ+6TjG0hbB/dcJltvgTg+jFwDcR05ot1EBmK4JrS 06OtGs3d9hEjber81tv7O/3uole2leDmQUDroC5HCv+ZX27zcM6vDD0VyjEBkYuY4k SKNLLJKiBA/AWSMSaK2KmfxmMNLxXtiVpiqkpxsYkU886RG6bGJYs3WLgCWGxcW37A I3eavb7yvEcV2TWZHsQstnkM8n5H8rVqnqKTxIEPZT+iE8NkregJJwvAqax7pwuxD8 PZBBX3MREwAog== Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-1b8a44ee130so5706865ad.1 for ; Thu, 06 Jul 2023 05:49:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688647776; x=1691239776; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BcMZAYUSqEPaaxOlAYn5KmY0zCvdMZVgdT4m2ZGHXcI=; b=I7cMQEAL+t+i0G+R6lL8gwdIjEScHcPtLPZGeMW/V3lJ7SBY/XtYUG0gbx539d2imj 83kffK5vXVUBh2qvA2eodSQ4IIFKwiDmEo76I0m+LbuDIGeL14AoeobsCTUcMCPnIHMr pmn3HVSSKa2DN0QEzYMVEVsZED8MfCJTS55lo8aSv/Guoc13tcDLS2Ft8HlyBWxEm6mB qBZ18PgX1799dqHrEFXZDtwRgx2ziXlWAzrHpGQ33gKTk2YRmB7COeZCFbMkRoQ6MItN ehdJblk5BbCmADqZgRggLId8f2t/OaPAKIJqi3u1QoeZ5Ee8ZnEH2Fhwbc8w0W/PAEEf 9R9Q== X-Gm-Message-State: ABy/qLbxX7i6301/wbVorc0YMbnIQ2IvObDyCoMogeCnKu+42Ef8p2QE fckwJxNczhOClTXayhFIRywmWMXJvBvgyyXDglK17NqAp5OLJapQK5J+UMBA+w1JVSDl6m9QS1c P24zshb9IwgfnR9HVZuvuYgfkIY/P+Mx44eym X-Received: by 2002:a17:902:7405:b0:1b8:177e:c805 with SMTP id g5-20020a170902740500b001b8177ec805mr1240086pll.42.1688647776732; Thu, 06 Jul 2023 05:49:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlEemA3rQJCwwi8bSNk31YoZbtf3mqTOwX7+oIJ8bofqgGSKfYNs6Of68Ge/hHSZZBOFrUIDLQM+Akxwn7g2nBY= X-Received: by 2002:a17:902:7405:b0:1b8:177e:c805 with SMTP id g5-20020a170902740500b001b8177ec805mr1240072pll.42.1688647776417; Thu, 06 Jul 2023 05:49:36 -0700 (PDT) MIME-Version: 1.0 References: <20230629125838.1995751-1-christian.ehrhardt@canonical.com> <5843892.MhkbZ0Pkbq@thomas> In-Reply-To: <5843892.MhkbZ0Pkbq@thomas> From: Christian Ehrhardt Date: Thu, 6 Jul 2023 14:49:10 +0200 Message-ID: Subject: Re: [PATCH] doc: ensure sphinx output is reproducible To: Thomas Monjalon Cc: dev , Luca Boccassi , david.marchand@redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, Jul 3, 2023 at 5:29=E2=80=AFPM Thomas Monjalon wrote: > > 29/06/2023 14:58, christian.ehrhardt@canonical.com: > > From: Christian Ehrhardt > > > > By adding -j we build in parallel, to make building on multiprocessor > > machines more effective. While that works it does also break > > reproducible builds as the order of the sphinx generated searchindex.js > > is depending on execution speed of the individual processes. > [...] > > -if Version(ver) >=3D Version('1.7'): > > - sphinx_cmd +=3D ['-j', 'auto'] > > What is the impact on build speed on an average machine? Hi, I haven't tested this in isolation as it was just a mandatory change on the Debian/Ubuntu side. And the time for exactly and only the doc build is hidden inside the concurrency of meson. But I can compare a full build [1] and a full build with the change [2]. That is an average build machine and it is 35 seconds slower with the change to no more do doc builds in parallel. [1]: https://launchpadlibrarian.net/673520160/buildlog_ubuntu-mantic-amd64.= dpdk_22.11.2-2_BUILDING.txt.gz [2]: https://launchpadlibrarian.net/674783718/buildlog_ubuntu-mantic-amd64.= dpdk_22.11.2-3_BUILDING.txt.gz --=20 Christian Ehrhardt Senior Staff Engineer and acting Director, Ubuntu Server Canonical Ltd