From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by sourceware.org (Postfix) with ESMTPS id 37CBE3858D3C for ; Thu, 2 Mar 2023 06:32:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 37CBE3858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x529.google.com with SMTP id f13so63459704edz.6 for ; Wed, 01 Mar 2023 22:32:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677738768; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=c+AF6yisd7TgEhQ2Wv3COyKaGvA65U77x6LwNEybBME=; b=imfzWeLX7ceV2GxarDCKScTtlKCmqrEh1s3zKkYNpI2yAjTB3Am6Co0c9QG0flIQLj 7Uj/oMp+578UlKWISV55YYzRSxdHnYlV+10mXNCbYCcmAunnW8CmyVHY9Lbt1WPGPefs Bj7sDjzWJgC62wVejZ5+2x/QCZFQQ6yUukCHrWtEhtjnRZ/TNszo6rjr0M32VBFkjbVM VAu9fjrrCrTwpe0dAFthDJYHmAKBoH8Ln78VogIR+4eTy5Vb+fEJu2I3Zi+S+blOfRr6 /qce0BXzqED2KRbry9w+uggFY4Qs8RRhVbdGbzmDSK680+M6MJkFPxmA2WLsALukioa5 QZVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677738768; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c+AF6yisd7TgEhQ2Wv3COyKaGvA65U77x6LwNEybBME=; b=TjdJIXMTxOXMGmT0Ga5q+nr7qob3itnvxK6Q/POam8xhSMSrnq4owz2dyhd02MFg/O XQXQ8Xj/dvmwx82QS5bTAZg4gLBMgMhDy1fhUSeGPCAM8UuFQNqWKjUwA2nhq0u2maAP 3WGk6XITIvq07A62/BgMrb6WjTqz8fsNZS2MxhfeMbZorGvhblPMzfrFTdLhi262Sm8y zPSgNfu24e/oZgzEsh3x4qrrPPkwjqAAwRr89G5c5TDfW/DgMGgPN2hDC+YgYxO8hUXy YpfkRlxAY411iyASksui3v1wmbXgKv6wjYBr1Wa39CYO+6rimLTEE/zjXre0cnzy53bp JXvg== X-Gm-Message-State: AO0yUKXc84VzPOKs7TYUeZqQ4a0frVegXb5zGpKVFQ9TwSA/7kSnLkBj lHeI3hyOuoWJANlOfGXCRL8dYaiRm2I= X-Google-Smtp-Source: AK7set+i+wVbmcUGNn1ddWK62xmhXAvVanjSovMI2eSILxk8JdVG+xpfD4StpeqXiGKCk79mzGzi7w== X-Received: by 2002:a17:907:20ca:b0:87b:d2b3:67ca with SMTP id qq10-20020a17090720ca00b0087bd2b367camr9281218ejb.75.1677738767723; Wed, 01 Mar 2023 22:32:47 -0800 (PST) Received: from ?IPV6:2001:a61:12a9:1801:c946:276:29cd:f5e4? ([2001:a61:12a9:1801:c946:276:29cd:f5e4]) by smtp.gmail.com with ESMTPSA id d10-20020a1709061f4a00b008d9ddd2da88sm6662973ejk.6.2023.03.01.22.32.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Mar 2023 22:32:47 -0800 (PST) Message-ID: <61225711-c84e-bc40-ea60-e8a838d5002b@gmail.com> Date: Thu, 2 Mar 2023 07:32:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Heads up: Problems with parallel make To: cygwin-apps@cygwin.com References: <9c9fb865-5f11-67ec-81a5-9c1ee37b5ee1@cornell.edu> <871214fe-aa00-5c51-7145-82737e830fcc@Shaw.ca> <6c9c801e-7ec6-5093-afd7-8111fc4692a3@Shaw.ca> <6876bcc9-3747-1a7e-bab8-c89ba7a39cc8@cornell.edu> <4891b215-8bbc-431a-db83-f2c980538ffd@gmail.com> <87o7poxof0.fsf@Rainer.invalid> <39257fa6-df12-41d0-57fa-e26113a8efc6@cornell.edu> <02cfd113-9e50-7ac9-29f2-0e09eba50f84@gmail.com> <6558e650-14af-0590-f941-abe1ae22b8aa@gmail.com> <8091faf0-36f7-7432-5eb8-020c31d347bb@cornell.edu> <018c363b-ec06-37a6-ec52-09923381643e@Shaw.ca> Content-Language: it From: Marco Atzeri In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 27.02.2023 23:45, Ken Brown via Cygwin-apps wrote: > On 2/27/2023 4:41 PM, Brian Inglis via Cygwin-apps wrote: >> Looks like the 4.4.1 release disables FIFO on Hurd and Cygwin. >> Will be interesting to see if it is based on config test, for clues to >> what it does not like, or just system? > > In the case of HURD, it's because of failing tests in the test suite. In > the case of Cygwin, it's because of the problem I reported, in which > parallel make using a FIFO sometimes hangs when building TeX Live. > > Anyone who wants to test this with their own builds can build make with > >   CPPFLAGS=-DJOBSERVER_USE_FIFO=1 > > That will re-enable the use a FIFO for the jobserver.  One can then > force make to use a pipe on a given project by using the make option > >   --jobserver-style=pipe > > I plan to do this myself, since I hope to debug the FIFO problem the > next time I see it.  It's not easy to catch, because it doesn't happen > with every build of TeX Live.  And when it does happen, the build has > typically been going on for close to two hours before it hangs. > but it could be > P.S. Marco, I don't know how much trouble you want to go to on this, but > when you release make-4.4.1, you might also make a test release with > CPPFLAGS set as above.  That would make it easier for adventurous people > to try builds that use a FIFO. uploaded 2 versions 4.4.1-1 default is built with CPPFLAGS=-DJOBSERVER_USE_FIFO=1 so it should behave like 4.4-1 previous build 4.4.1-2 test is vanilla build, so it should be built with pipe the build logs are not very clear, so I need to dig more on them. From my tests building qpdf, both are paralleling and maybe the -2 is slight faster, but it could be due on machine load real 19m38.493s user 106m36.519s sys 7m58.323s real 18m51.680s user 105m14.277s sys 7m12.061s Regards Marco