Re: Replacing IPC tables with radix trees (was: VM cache policy change)

2015-03-28 Thread Samuel Thibault
Justus Winter, le Fri 27 Mar 2015 12:30:47 +0100, a écrit : > some adjustments of the debug interface (which I assume I can change > freely, right?). Yes. Samuel

Replacing IPC tables with radix trees (was: VM cache policy change)

2015-03-27 Thread Justus Winter
Quoting Justus Winter (2015-02-24 17:15:22) > Quoting Samuel Thibault (2015-02-24 01:04:19) > > I tried to start a gcc-5 build, it gets stuck at the tar x stage, with > > gnumach printing: > > > > no more room for vm_map_find_entry in 80223e20 (kmem_map_store) > > no more room for kmem_realloc in

Re: VM cache policy change

2015-02-24 Thread Justus Winter
Quoting Samuel Thibault (2015-02-24 01:04:19) > I tried to start a gcc-5 build, it gets stuck at the tar x stage, with > gnumach printing: > > no more room for vm_map_find_entry in 80223e20 (kmem_map_store) > no more room for kmem_realloc in 80223e20 (kmem_map_store) >[...] > ipc_port

Re: VM cache policy change

2015-02-23 Thread Samuel Thibault
Samuel Thibault, le Sun 22 Feb 2015 21:24:48 +0100, a écrit : > Justus Winter, le Sat 21 Feb 2015 16:02:00 +0100, a écrit : > > c) chance of swapping deadlocks. > > I can experiment with the patch series on the buildds. I tried to start a gcc-5 build, it gets stuck at the tar x stage, with gnumac

Re: VM cache policy change

2015-02-22 Thread Richard Braun
On Sat, Feb 21, 2015 at 04:02:00PM +0100, Justus Winter wrote: > He mentions three problems preventing the patch to be merged as-is: And I'll mention another one. Assuming the system doesn't freeze because of a swap deadlock (and I only name it that way because I've read it happened and it looks

Re: VM cache policy change

2015-02-22 Thread Justus Winter
Quoting Samuel Thibault (2015-02-22 21:24:48) > Justus Winter, le Sat 21 Feb 2015 16:02:00 +0100, a écrit : > > c) chance of swapping deadlocks. > > I can experiment with the patch series on the buildds. That'd be nice :) Justus

Re: VM cache policy change

2015-02-22 Thread Samuel Thibault
Justus Winter, le Sat 21 Feb 2015 16:02:00 +0100, a écrit : > c) chance of swapping deadlocks. I can experiment with the patch series on the buildds. Samuel

VM cache policy change

2015-02-21 Thread Justus Winter
es by introducing a list of clean pages and evicting those first. I cannot comment on c). * [PATCH gnumach 1/3] VM cache policy change This is Richard's patch, unchanged. * [PATCH gnumach 2/3] vm: keep track of clean pages Hat tip to coccinelle for writing most of this patch for me :) * [PATCH

[PATCH gnumach 1/3] VM cache policy change

2015-02-21 Thread Justus Winter
From: Richard Braun This patch lets the kernel unconditionnally cache non empty unreferenced objects instead of using a fixed arbitrary limit. As the pageout daemon evicts pages, it collects cached objects that have become empty. The effective result is a graceful adjustment of the number of obje

Re: [PATCH] VM cache policy change.

2012-07-16 Thread Thomas Schwinge
Hi! On Mon, 16 Jul 2012 22:44:33 +0200, Richard Braun wrote: > On Mon, Jul 16, 2012 at 10:30:23PM +0200, Thomas Schwinge wrote: > > I have logs for »ps -w 0 -AF hurd-long«, »vmstat«, »slabinfo« for all > > runs, directly after booting, and some time after the glibc »make check«, > > please tell m

Re: [PATCH] VM cache policy change.

2012-07-16 Thread Richard Braun
On Mon, Jul 16, 2012 at 10:30:23PM +0200, Thomas Schwinge wrote: > I have logs for »ps -w 0 -AF hurd-long«, »vmstat«, »slabinfo« for all > runs, directly after booting, and some time after the glibc »make check«, > please tell me which you'd like to see; it's a lot of data already. Thanks for this

Re: [PATCH] VM cache policy change.

2012-07-16 Thread Thomas Schwinge
hey are currently used on the public hurd box darnassus.sceen.net. Here is what I see for my testload going from originally gnumach-image-1.3.99-486-dbg version 2:1.3.99.dfsg.git20120710-1 to your 2:1.3.99.dfsg.git20120710-1+rbraun.1 (»VM cache policy change.« from »Tue, 10 Jul 2012 19:00:46 +0200«). Unfortunately,

Re: [PATCH] VM cache policy change.

2012-07-15 Thread Samuel Thibault
Hello, Running it on the buildds, I'm getting frequent ext2fs.static: /usr/src/hurd-debian/./libports/port-ref.c:31: ports_port_ref: Assertion `pi->refcnt || pi->weakrefcnt' failed. Samuel

Re: [PATCH] VM cache policy change.

2012-07-10 Thread Richard Braun
On Tue, Jul 10, 2012 at 08:24:30AM +0200, Richard Braun wrote: > On Tue, Jul 10, 2012 at 03:15:00AM +0200, Samuel Thibault wrote: > > I'm currently uploading new hurd, gnumach & netdde packages. > > The bug fixes have been committed, but not the VM cache patch, which is > included in my gnumach pa

Re: [PATCH] VM cache policy change.

2012-07-09 Thread Richard Braun
On Tue, Jul 10, 2012 at 03:15:00AM +0200, Samuel Thibault wrote: > Richard Braun, le Tue 10 Jul 2012 03:03:09 +0200, a écrit : > > Debian packages with the patch and the required bug fixes are available > > at my repository : > > I guess they are all already in upstream gits? > > I'm currently up

Re: [PATCH] VM cache policy change.

2012-07-09 Thread Samuel Thibault
Richard Braun, le Tue 10 Jul 2012 03:03:09 +0200, a écrit : > On Mon, Jul 09, 2012 at 04:44:57PM +0200, Richard Braun wrote: > > Note that you need up-to-date versions of both GNU Mach [1] and the > > Hurd [2] to test this patch, as it needs important bug fixes to avoid > > file system crashes and

Re: [PATCH] VM cache policy change.

2012-07-09 Thread Richard Braun
On Mon, Jul 09, 2012 at 04:44:57PM +0200, Richard Braun wrote: > Note that you need up-to-date versions of both GNU Mach [1] and the > Hurd [2] to test this patch, as it needs important bug fixes to avoid > file system crashes and kernel panics. Debian packages with the patch and the required bug

[PATCH] VM cache policy change.

2012-07-09 Thread Richard Braun
This patch lets the kernel unconditionnally cache non empty unreferenced objects instead of using a fixed arbitrary limit. As the pageout daemon evicts pages, it collects cached objects that have become empty. The effective result is a graceful adjustment of the number of objects related to memory