X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=W7YNGAWZgxqsijnH
	Wpq2m4G9CvTHGK76PbnfK9GWVBra0FOqjotXiOOJMr7PJEO3VOmT3IkjBzhdB4Bf
	VoNY7eO8vvpIrzyZxXRT1bVrllr2PWE2Yxu0MwzXF+qs9WIbuSoWkEmJ5V9Q1IQ7
	Pq+278kgFvtgaS6Lj28tnJrI5aY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=S72Hxf4YLZqNT1tN2sIjEf
	AG2sU=; b=Hjre2FJNcJwmycKLf755iBLDujyAdE5EU4ITDDJiGLlCFSkOqEZUqJ
	jWNZ7DyZUZkY1S0af7pTmoxFpJem2z1Qq3T7OZqa/7iJZAwQUxmi+45kacVCS39d
	00Kn+SafWxIX/K4QeRDgMmUEN8Uq4Vh2kp16g8kvA6wy6BFEZ0n9E=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,FOREIGN_BODY,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=auf, EMail, E-Mail, wwwavastcom
X-HELO: mail-wr1-f42.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=subject:to:references:from:message-id:date:user-agent:mime-version         :in-reply-to:content-transfer-encoding;        bh=C0wS5dPGKuLo7z3PcGzNI68DmBDzrqQeimvIc3u2iuY=;        b=Y1fGIsiaBFsHhZDob2KTu7Qxu0GfGYzW+GLHF9kvVBO6oCqVx6nogPB2mbvJrMz11N         Gnlyftai2qpKB2tiJ7BLBN83K9Im2aYEuJMWYtde57jJbHaevZkLUnR4ioX61ZZG68S+         WsAhm0yqOD0MnyPTl+OmvxfvvMP2B7Vlepv+uocP9+xWXOibZ/mr2Ng/vrAhthyfn04c         DWbn35Fgvv4dBVJyp4U1OLckD5wCEgUTLmKr2MQ0j9pynj/LD5MLWNHTw7zURCMOTa0r         10WtKL5O31ggVeqEgz8JhOAblp0/mfKbV+tgQsy1BwVOc6VVi3LFhVU6NPAp2c3lIb1P         yjJg==
Subject: =?UTF-8?B?UmU6IEdudSBtYWtlIG9wdGlvbiAi4oCYLS1tYXgtbG9hZFs9bG9hZF0=?= =?UTF-8?Q?=e2=80=99=22_-_is_it_supposed_to_work_under_cygwin=3f?=
To: cygwin@cygwin.com
References: <6b067517eb08db5e6d735e6f966b41e4@internetgruppen.dk>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <03888e16-1863-7df2-f59b-1bf2528ce61b@gmail.com>
Date: Tue, 11 Dec 2018 19:29:47 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3
MIME-Version: 1.0
In-Reply-To: <6b067517eb08db5e6d735e6f966b41e4@internetgruppen.dk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

Am 11.12.2018 um 11:23 schrieb Niels Kristian "Ænkå" Jensen:
> Hello all,
> 
> I am having a strange problem with Gnu make and one problem, which is a 
> derived from it:
> 
> 1) Sometimes, at seemingly random places in the make execution, "make 
> -j`nproc` (parameters...)" simply stops. A process keeps running on one 
> CPU, full load, forever. We have been trying lots of different versions 
> of make and the cygwin1.dll, trying to locate anything that could be 
> reproducing the behaviour, to no avail. We have seen this on Win7, Win 
> Server 2012 and Win10.

In general this problem are due to concurrency of the various
parallel runs.
Most of the builds do not show the problem but from time to
time we have seen some case and then we reduce the -jX value.

Less than 10% of my packages are built with -j1


> 2) As a work-around, I tried to replace option "-j" with "-l 5.5" (don't 
> start new executors if load avg. is above 5.5.)
> 
> This does not seem to work - execution time is almost equal to "-j1" 
> that is just one executor.
> 
> Is the "load" option supposed to work?

I have some doubts that make is correctly interpreting the load avg
on cygwin. Looking at the old build logs I would say no

features/load ........................................... N/A

> 
> I've only run it on systems without the "procps" package installed (I 
> avoid packages, that are not needed).
> 
> Best regards,
> Niels Kristian Jensen
> 

Regards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

