public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Gnu make option "‘--max-load[=load]’" - is it supposed to work under cygwin?
Date: Tue, 11 Dec 2018 18:29:00 -0000	[thread overview]
Message-ID: <03888e16-1863-7df2-f59b-1bf2528ce61b@gmail.com> (raw)
In-Reply-To: <6b067517eb08db5e6d735e6f966b41e4@internetgruppen.dk>

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

      reply	other threads:[~2018-12-11 18:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-11 10:23 Niels Kristian "Ænkå" Jensen
2018-12-11 18:29 ` Marco Atzeri [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=03888e16-1863-7df2-f59b-1bf2528ce61b@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).