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
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
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
_
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
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/
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