public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Gnu make option "‘--max-load[=load]’" - is it supposed to work under cygwin?
@ 2018-12-11 10:23 Niels Kristian "Ænkå" Jensen
  2018-12-11 18:29 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Niels Kristian "Ænkå" Jensen @ 2018-12-11 10:23 UTC (permalink / raw)
  To: cygwin

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.

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've only run it on systems without the "procps" package installed (I 
avoid packages, that are not needed).

Best regards,
Niels Kristian Jensen

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Gnu make option "‘--max-load[=load]’" - is it supposed to work under cygwin?
  2018-12-11 10:23 Gnu make option "‘--max-load[=load]’" - is it supposed to work under cygwin? Niels Kristian "Ænkå" Jensen
@ 2018-12-11 18:29 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2018-12-11 18:29 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-11 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-11 10:23 Gnu make option "‘--max-load[=load]’" - is it supposed to work under cygwin? Niels Kristian "Ænkå" Jensen
2018-12-11 18:29 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).