Re: CentOS Stream installation

2023-02-18 Thread Paul Smith
On Sun, 2023-02-05 at 23:46 +0100, Bruno Haible wrote:
> Paul Smith wrote:
> > How many CPUs did you give to the VM?  It shouldn't matter since
> > we're doing multiprocessing here but... maybe...?  I was using 4G
> > RAM and 4 CPUs in my guest.
> 
> I am using 1 CPU in that VM.

For some completely unfathomable reason if I reduce my CPU count to 1
then I also see these failures on CentOS Stream 8 (haven't tried any
others)!!

GNU make is NOT multithreaded so I just can't figure out what could
possibly cause this behavior.  I tried with older versions of GNU make
(e.g., 4.2.1) and see the same thing so this is not a regression.

I'm going to look into it and see if I can find something.



Re: CentOS Stream installation

2023-02-18 Thread Paul Smith
On Sat, 2023-02-18 at 16:55 -0500, Paul Smith wrote:
> On Sun, 2023-02-05 at 23:46 +0100, Bruno Haible wrote:
> > Paul Smith wrote:
> > > How many CPUs did you give to the VM?  It shouldn't matter since
> > > we're doing multiprocessing here but... maybe...?  I was using 4G
> > > RAM and 4 CPUs in my guest.
> > 
> > I am using 1 CPU in that VM.
> 
> For some completely unfathomable reason if I reduce my CPU count to 1
> then I also see these failures on CentOS Stream 8 (haven't tried any
> others)!!
> 
> I'm going to look into it and see if I can find something.

I believe I have a fix for this.  It worked reliably on a 1 CPU system
after 15 runs.

This is actually a real issue that might reduce the amount of
parallelism we could achieve, even on multi-CPU systems, so a good
find.




Re: Regression on Cygwin: Problems with parallel make in 4.4

2023-02-18 Thread Paul Smith
On Wed, 2023-02-15 at 19:34 +0100, Bruno Haible wrote:
> > I may be misremembering but I thought that you had tried forcing
> > the pipe jobserver option on GNU/Hurd and it didn't help.
> 
> This must be a misunderstanding. I never said that. I don't even know
> how to do this, within the framework of GNU make's test suite.

Sorry, I thought there was a way to do it via configure but I see there
was not (easily).

I've made a change that causes GNU/Hurd to not use the mkfifo()-based
jobserver, and go back to using pipe().

I am not sure if there is an alternative, or what to do about Cygwin. 
I haven't been able to create any test environments that can reproduce
these issues so I don't know what the actual problem is.



Re: Regression on Cygwin: Problems with parallel make in 4.4

2023-02-18 Thread Paul Smith
On Wed, 2023-02-15 at 13:57 -0500, Ken Brown wrote:
> If I simply run 'make -j13 world' without using the Build script, it
> doesn't hang.  I don't know if this provides any clue as to where the
> problem is.

Speaking for myself, it doesn't give me any clues.  I don't see why it
should matter.  But there seem to be a lot of complexities around
cygwin and its support for complex POSIX concepts, so I can't say for
sure.  Maybe someone more familiar with how Cygwin emulates mkfifo()
might have some insights.