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 7A17E433E5; Mon, 27 Nov 2023 18:01:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D7C6402E8; Mon, 27 Nov 2023 18:01:13 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 0F504402E8 for ; Mon, 27 Nov 2023 18:01:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701104471; x=1732640471; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=op+Za/JoDzo77O6lXOAHtgknBmf/nJnuzbG+Fn0M2DQ=; b=jyaNceSLICXLJprsgjAkyrEj8LimZuv/JaxppWjWIHq/BgPZCWGhTkVW nVWCec0P/NnwQakRYbCUbXfNisTf7J8Grr4bnPc2d2NQRV5cMhULNYPPU UeInLMWJn7sTdnlmZeqL6tXNpyk/hu02+u6NZMnM9iKgS6dDa/pZYrRXN h/HDH63RRhzl8pMai/JvCAExsVzXtST3XhgSYx9cxCysqSt3UP6rRyKE0 vByvHKi5hYOuidAojhUSkmRVS1jERQidYwGYtbduoAeG0WAwG13pPZ8zA Nzx3M8Ylu9/XDRsOaZFeC7NkVAPdvpixJR4425IGwyjIthEEV8mriN4r/ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="392493966" X-IronPort-AV: E=Sophos;i="6.04,231,1695711600"; d="scan'208";a="392493966" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2023 09:01:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10907"; a="771996284" X-IronPort-AV: E=Sophos;i="6.04,231,1695711600"; d="scan'208";a="771996284" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 27 Nov 2023 09:01:08 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 27 Nov 2023 09:01:08 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 27 Nov 2023 09:01:07 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Mon, 27 Nov 2023 09:01:07 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.41) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Mon, 27 Nov 2023 09:01:06 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n27h/CKxvYPh5grsOGdfci7PGERFwoh0Wpu/kqN6mWuY6T7kx3riK2GQIrAcZK3Uz9tcL4zSPFbiPqOZQ6yFlYllX4Y9L3kqbTmEY/SKLqsM2/QGi/WVyZlUQMvr8p0b7pFKPPePaTVj70pHjjL68teeHvaHu5YRLCmQGnXo6X4vr5VKouugHOO1byYqNpdWyGjiVsRkZGXh2x4ZOpeUACSa+z1nYQZiMxyvOsR0cdBn3nwAulTeLo/tZlFeSuNN43D5oBJfm/4h2NIAanJGh4eLXRLl6wvgMuRz7S63C1jULWXfyguGXFwBq6r/59lM56mCcE5i46kQ8a3hOxPbxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7AIYl9p2QFGcCjIgEls/tRWV+hF5YBajfepGtSGZUR4=; b=fe9jNkd4KEBQF4u9g4U06FUbbuUXxwDBBc5nLebef2w1kPoJoOfsFhZZq77fJIlWXejCRVBXOJUA0z/0roZZvxTmJI1b7Ak1qHCyw8WSfnrxUyOMSH+WUJUyj4UZvh+PN+3sSoKqtCbinTZp3LWaSZOt5N4Yk5TsNZmSMYlHeqGNWIvndY4njJemQ1f49OTEEy+ycMqrREzNuI1lBuPGvRK92vzX9pYIGQRTFZfZHKHo3gm2de1vs86On7e7kdHuAI5axgweRfldMfrhX/BHPSZawmP0KnRz+eOWjw1/IAbHDLnjKWFuqSJYzSZRCx+KoEZ5Dxcc8lCpWOXFTsJ8DA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by PH7PR11MB7641.namprd11.prod.outlook.com (2603:10b6:510:27b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27; Mon, 27 Nov 2023 17:00:58 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::4782:d54a:209d:cb49]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::4782:d54a:209d:cb49%7]) with mapi id 15.20.7025.022; Mon, 27 Nov 2023 17:00:57 +0000 Date: Mon, 27 Nov 2023 17:00:48 +0000 From: Bruce Richardson To: Thomas Monjalon CC: Luca Boccassi , Christian Ehrhardt , , Subject: Re: [PATCH] doc: ensure sphinx output is reproducible Message-ID: References: <20230629125838.1995751-1-christian.ehrhardt@canonical.com> <5843892.MhkbZ0Pkbq@thomas> <7653904.8F6SAcFxjW@thomas> Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7653904.8F6SAcFxjW@thomas> X-ClientProxiedBy: DUZPR01CA0099.eurprd01.prod.exchangelabs.com (2603:10a6:10:4bb::24) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH7PR11MB7641:EE_ X-MS-Office365-Filtering-Correlation-Id: df7c94d6-51ed-439b-20b2-08dbef6a6cdf X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1wFXHf3L8THKPEj1DK+XWfut6OKdoGDgJ4qHdF862dj/Xy45qw/uK9L4yD7U0dJ1g6DZBMUtsz41awu6NLeiOuCKW+Z1GJ7Kdp+7QzMeJZHCXbaahHTSGhQpowFpUjmAiGk51ZGrdAnDPiQiZiaRIrBDpQroymVfiG6wAXftFdeHbS3DWOd5zGsuisRRrD2PMzlfSjDZ1/sCvjQUkxMxZTTpTr3rMc463bn1TGdKChO9WlK+RfVY2OEfKueSDhsxaqDkhMI+ETIfUqeTyAXEstCHANTgQ9zmvNTScAzC81Jr+SBrriizdW8E+gVNvq4dhFM/tllgLuQ/2MoHTO25RKRXOcpgd+YgETCZrooryW8xqEy/Yr6MBnvjDXu8b074X+UMcYKAHyrm7muyCasAF2qHIkaZIC7L61FRB9chrykEoyJOYzZsN4kHvYP+kHvWozzYROCEQaKPyMcQ/qINWIxgWKpam2BAdThqftAD4u7NL21/YOAiFEg49AQIMZoU34mbWE48Q+SicYqxLYTnmbo68Ys4oZKjgtri+DhJgd3SxLTuejnT+veSfVWSquzT X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(136003)(396003)(376002)(346002)(39860400002)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(6666004)(8936002)(8676002)(4326008)(6512007)(6506007)(53546011)(66556008)(66476007)(66946007)(54906003)(6916009)(316002)(6486002)(478600001)(38100700002)(41300700001)(86362001)(26005)(44832011)(2906002)(83380400001)(82960400001)(5660300002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L0VuQVFHVWR6ZUNMK3BYRHZ3OW5PTHpVR25YOWs0MGxjS0t4b1E2d3FZaC9Q?= =?utf-8?B?RzdvRmV4OGpMRHo5RFRnMjJBUTJxR2xZS290b1hwVUliMkRhM1hlbDZBZExh?= =?utf-8?B?S2xaYS9YTmJPR3hncWZqQThiY3UwUC9xUzdXQzU3S2ZqRDJGdWZlVWxENnVU?= =?utf-8?B?MjhvV3hNaUx3OHU1K1BFTGtSL0RXN1FzSkJFQ1RTQVMyV0NJdzN2R1FETVZV?= =?utf-8?B?dWQ4U1pMMEhja1B1WklGNGlsWXByRXRNdmZmZS90VDI5VmZCVDNkTVZEVVpJ?= =?utf-8?B?ZW5ZUXg2UHlWQTM1UlFXdnRnTlN0REFNZ2tvVXlwdnVHb2xCZ0JJWmNNSy9V?= =?utf-8?B?TnFjMkdMRkNIRUJNanZEam5SQXJpM1c2ZDN6S09rUHNKSW5RVUd4UEx4S3lq?= =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7c94d6-51ed-439b-20b2-08dbef6a6cdf X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2023 17:00:57.7962 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4IgYbbP/HoSlEE4Jq+uMEAXtYxlYrBw4upSAb69lsRDFOmu3/4kO4SvN/0XNvcY70nABXhaLYmGHPFjR9VkKHBFzY7OJAYP9KeEathKSm3k= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB7641 X-OriginatorOrg: intel.com 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, Nov 27, 2023 at 05:45:52PM +0100, Thomas Monjalon wrote: > 06/07/2023 14:49, Christian Ehrhardt: > > On Mon, Jul 3, 2023 at 5:29 PM 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) >= Version('1.7'): > > > > - sphinx_cmd += ['-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. > > I would prefer adding an option for reproducible build > (which is not a common requirement). > Taking a slightly different tack, is it possible to sort the searchindex.js file post-build, so that even reproducible builds get the benefits of parallelism? /Bruce