Re: RFC: Lightweight synchronization mechanism for gnumach v3

2016-04-19 Thread Agustina Arzille
On 04/18/2016 04:50 PM, Samuel Thibault wrote: - Instead of creating thread descriptors with malloc, I place them at the top of the stack. This might be questionable too. Is the goal just to save the allocation? I'm not sure it's worth making the code more complex just for this (think ab

Re: Build times of hurd and glibc for different versions of gnumach, hurd and glibc

2016-04-19 Thread Samuel Thibault
Samuel Thibault, on Tue 19 Apr 2016 12:18:01 +0200, wrote: > (note that fields such as "self > seconds" seem to have a bug: they should be 100x bigger, most probably > yet another issue with the announcement of the kernel clock rate): BTW, I fixed that, it was a dumb bug in glibc. Samuel

Re: Build times of hurd and glibc for different versions of gnumach, hurd and glibc

2016-04-19 Thread Samuel Thibault
Samuel Thibault, on Tue 19 Apr 2016 12:18:01 +0200, wrote: > Svante Signell, on Tue 19 Apr 2016 12:08:07 +0200, wrote: > > > Looking at ps -feMj, it seems that it's ext2fs which consumes much more > > > CPU time, thus increasing overall wallclock time. It'd probably be > > > interesting to profile

Re: Warning: glibc-2.22-6 is broken on Hurd

2016-04-19 Thread Samuel Thibault
Svante Signell, on Tue 19 Apr 2016 11:46:18 +0200, wrote: > As seen on #hurd: > > starting /hurd/startup fails: > "Unexpected error: Invalid argument" The fixed 2.22-7 just got accepted, it'll land on mirrors within ~6-12h. Samuel

Re: Shared mappings not being inherited by children

2016-04-19 Thread Samuel Thibault
Samuel Thibault, on Sun 03 Apr 2016 11:27:48 +0200, wrote: > Richard Braun, on Sat 02 Apr 2016 20:55:58 +0200, wrote: > > On Sat, Apr 02, 2016 at 01:35:49PM -0300, Agustina Arzille wrote: > > > As a workaround, we could always use 'vm_map', no matter what, since the > > > idea that 'vm_allocate' ha

Re: Build times of hurd and glibc for different versions of gnumach, hurd and glibc

2016-04-19 Thread Richard Braun
On Tue, Apr 19, 2016 at 12:18:01PM +0200, Samuel Thibault wrote: > The last remark makes me think that the performance issue being raised > is in the kernel, not in userland. I expect it's the VP table backing the page cache. I'm currently continuing Justus' work in the last GSoC to back VM object

Re: Build times of hurd and glibc for different versions of gnumach, hurd and glibc

2016-04-19 Thread Svante Signell
On Sun, 2016-04-17 at 22:24 +0200, Samuel Thibault wrote: > Hello, > > Thanks for the investigation.  I have added the attached patch to the > gnumach running on the buildds. That'll revert to the old page cache > policy, which seems to be reverting to the previous performance. Build times are no

Warning: glibc-2.22-6 is broken on Hurd

2016-04-19 Thread Svante Signell
As seen on #hurd: starting /hurd/startup fails: "Unexpected error: Invalid argument"