From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-043.btinternet.com (mailomta8-re.btinternet.com [213.120.69.101]) by sourceware.org (Postfix) with ESMTPS id 6012D3858408 for ; Fri, 14 Apr 2023 15:51:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6012D3858408 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dronecode.org.uk Received: from re-prd-rgout-002.btmx-prd.synchronoss.net ([10.2.54.5]) by re-prd-fep-043.btinternet.com with ESMTP id <20230414155118.RTZV21016.re-prd-fep-043.btinternet.com@re-prd-rgout-002.btmx-prd.synchronoss.net>; Fri, 14 Apr 2023 16:51:18 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 63FE976D0520E524 X-Originating-IP: [81.129.146.164] X-OWM-Source-IP: 81.129.146.164 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeltddgleegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfufhfhvfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpedvheeffffhveeufeevveekveekleehjeetheegvedvfefghfelvddvhedvteeuveenucfkphepkedurdduvdelrddugeeirdduieegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdeingdpihhnvghtpeekuddruddvledrudegiedrudeigedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepuehrihgrnhdrkfhnghhlihhssefuhhgrfidrtggrpdhrtghpthhtoheptgihghifihhnqdgrphhpshestgihghifihhnrdgtohhmpdhrvghvkffrpehhohhsthekuddquddvledqudegiedqudeigedrrhgrnhhgvgekuddquddvledrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrhepjhhonhhtuhhrnhgvhiessghtihhnthgvrhhnvght rdgtohhmpdhgvghokffrpefiuedpoffvtefjohhstheprhgvqdhprhguqdhrghhouhhtqddttddv X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.106] (81.129.146.164) by re-prd-rgout-002.btmx-prd.synchronoss.net (5.8.814) (authenticated as jonturney@btinternet.com) id 63FE976D0520E524; Fri, 14 Apr 2023 16:51:18 +0100 Message-ID: <993e7488-b5a2-cc8f-c898-fd5c3ceda934@dronecode.org.uk> Date: Fri, 14 Apr 2023 16:51:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: cygport 0.36.2-1 Content-Language: en-GB References: <30f1d642-a044-a898-a9d7-ff6744f2f2a5@dronecode.org.uk> <5502290c-8747-ca07-8d1e-94bac8f7cbea@Shaw.ca> From: Jon Turney To: "cygwin-apps@cygwin.com" , Brian Inglis In-Reply-To: <5502290c-8747-ca07-8d1e-94bac8f7cbea@Shaw.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,BODY_8BITS,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,KAM_NUMSUBJECT,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 13/04/2023 17:51, Brian Inglis via Cygwin-apps wrote: > On 2023-04-13 10:27, Jon Turney via Cygwin-apps wrote: >> On 13/04/2023 17:20, Jon Turney via Cygwin-apps wrote: >>> The following packages have been uploaded to the Cygwin distribution: >>> * cygport-0.36.1-1 > >> Oops. Wrong list. Sorry. > > No worries ;^> > > While you're here, I just recently noticed that xargs has a flag: > >     -P, --max-procs[ =]max-procs > > so we can easily use `nproc`, $((`nproc`+1)) like make, or > $((`nproc`-1)) to be nice, to handle parallelizable commands on long > lists of files, perhaps for Preparing debuginfo source files? Perhaps. I suspect that step maybe largely I/O bound, since I think it mainly copies a lot of files. (maybe it doesn't need to, and hard links would work just as well, idk) Ideally, the first step in making some performance improvements would be to actually profile the existing code in some way, to generate some evidence which identifies places where effort would be best spent, rather than randomly parallelizing whatever strikes your fancy... but then again, I'm not working on it, so you can do whatever you like...