NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/53285: Build times tripled with make/job.c 1.193
The following reply was made to PR bin/53285; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, sjg%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, gson%gson.org@localhost (Andreas Gustafsson)
Cc:
Subject: Re: bin/53285: Build times tripled with make/job.c 1.193
Date: Sun, 13 May 2018 09:14:31 -0400
On May 13, 12:50pm, kre%munnari.OZ.AU@localhost (Robert Elz) wrote:
-- Subject: Re: bin/53285: Build times tripled with make/job.c 1.193
| Before giving up completely, perhaps it would be worth trying changing the
| "sleep(1)" into a much smaller usleep() or nanosleep() - which would have
| the same effect, of avoiding busy waiting, while not adding nearly as much
| delay (if it happens that the sleep needs to be a second occasionally, then
| that might mean 100 * usleep(10000) rather than 1 sleep(1), but it seems that
| most of the time, the wait does not need to be nearly that long).
Or change this into a better/cheaper form of IPC? Sleeping without someone
to wake you up does not sound right.
christos
Home |
Main Index |
Thread Index |
Old Index