Re: [PATCH hurd] rumpdisk: Try to reduce memory usage

2024-12-28 Thread Damien Zammit via Bug reports for the GNU Hurd
On 12/29/24 8:56 AM, Samuel Thibault wrote: > Damien Zammit via Bug reports for the GNU Hurd, le sam. 28 déc. 2024 06:39:04 > +, a ecrit: >> + setenv ("RUMP_MEMLIMIT", "16m", 1); > Did you test this a lot? > > We'd probably want to disable rump-side caching rather than putting > pressure on i

Re: [PATCH hurd] rumpdisk: Try to reduce memory usage

2024-12-28 Thread Samuel Thibault
Hello, Damien Zammit via Bug reports for the GNU Hurd, le sam. 28 déc. 2024 06:39:04 +, a ecrit: > + setenv ("RUMP_MEMLIMIT", "16m", 1); Did you test this a lot? We'd probably want to disable rump-side caching rather than putting pressure on it. Samuel

[PATCH hurd] rumpdisk: Try to reduce memory usage

2024-12-27 Thread Damien Zammit via Bug reports for the GNU Hurd
--- rumpdisk/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rumpdisk/main.c b/rumpdisk/main.c index ca166274..ca9deea1 100644 --- a/rumpdisk/main.c +++ b/rumpdisk/main.c @@ -123,6 +123,8 @@ main (int argc, char **argv) setenv ("RUMP_NCPU", "1", 1); setenv ("RUMP_VERBOSE", "1"

Re: memory usage

2007-08-19 Thread Samuel Thibault
Samuel Thibault, le Mon 20 Aug 2007 02:06:18 +0200, a écrit : > Hi, > > Samuel Thibault, le Mon 06 Aug 2007 21:10:02 +0200, a écrit : > > Also, something odd: say I have a big file /tmp/foo > > > > $ cat /tmp/foo > /dev/null > > ... "inactive" grows in vmstat, takes some time... > > $ cat /tmp/fo

Re: memory usage

2007-08-19 Thread Samuel Thibault
Hi, Samuel Thibault, le Mon 06 Aug 2007 21:10:02 +0200, a écrit : > Also, something odd: say I have a big file /tmp/foo > > $ cat /tmp/foo > /dev/null > ... "inactive" grows in vmstat, takes some time... > $ cat /tmp/foo > /dev/null > takes almost no time since it's all cached. > $ find /var -pri

Re: memory usage

2007-08-06 Thread Samuel Thibault
Just a few more details: my box has 400MB memory, and inactive was evolving between 58 and 64MB, so there was plenty of memory free for the directories/files entries to be cached without having to eject my big file. This is all with the >2GB support. Samuel _

Re: memory usage

2007-08-06 Thread Samuel Thibault
Samuel Thibault, le Mon 06 Aug 2007 21:10:02 +0200, a écrit : > $ find /var/log -printf "" Err, that was find /var -printf "" actually. Find /var/log doesn't trigger the issue, probably because there are not enough directories/files. Samuel ___ Bug-hu

Re: memory usage

2007-08-06 Thread Samuel Thibault
Also, something odd: say I have a big file /tmp/foo $ cat /tmp/foo > /dev/null ... "inactive" grows in vmstat, takes some time... $ cat /tmp/foo > /dev/null takes almost no time since it's all cached. $ find /var/log -printf "" ... "inactive" falls down to the original value $ cat /tmp/foo > /dev/

Re: memory usage

2007-08-06 Thread Samuel Thibault
Samuel Thibault, le Mon 06 Aug 2007 20:45:53 +0200, a écrit : > I've ported xosview to GNU/Hurd and had a look during a gcc compilation: > approximately only half the memory is used. I had a look at > vm/vm_pageout.c and noticed: > > /* When vm_page_external_count exceeds vm_page_external_li

memory usage

2007-08-06 Thread Samuel Thibault
I've ported xosview to GNU/Hurd and had a look during a gcc compilation: approximately only half the memory is used. I had a look at vm/vm_pageout.c and noticed: /* When vm_page_external_count exceeds vm_page_external_limit, * allocations of externally paged pages stops. */ #ifndef