> On Sat, 28 Jul 2007, Rene Herman wrote:
> > On 07/27/2007 09:43 PM,
david@lang.hm wrote:
> >> On Fri, 27 Jul 2007, Rene Herman wrote:
> >> > On 07/27/2007 07:45 PM, Daniel Hazelton wrote:
> >> > > Questions about it:
> >> > > Q) Does swap-prefetch help with this?
> >> > > A) [From all reports I've seen (*)]
> >> > > Yes, it does.
> >> >
> >> > No it does not. If updatedb filled memory to the point of causing
> >> > swapping (which noone is reproducing anyway) it HAS FILLED MEMORY and
> >> > swap-prefetch hasn't any memory to prefetch into -- updatedb itself
> >> > doesn't use any significant memory.
> >>
> >> however there are other programs which are known to take up significant
> >> amounts of memory and will cause the issue being described (openoffice
> >> for example)
> >>
> >> please don't get hung up on the text 'updatedb' and accept that there
> >> are programs that do run intermittently and do use a significant amount
> >> of ram and then free it.
> >
> > Different issue. One that's worth pursueing perhaps, but a different
> > issue from the VFS caches issue that people have been trying to track
> > down.
>
> people are trying to track down the problem of their machine being slow
> until enough data is swapped back in to operate normally.
>
> in at some situations swap prefetch can help becouse something that used
> memory freed it so there is free memory that could be filled with data
> (which is something that Linux does agressivly in most other situations)
>
> in some other situations swap prefetch cannot help becouse useless data is
> getting cached at the expense of useful data.
>
> nobody is arguing that swap prefetch helps in the second cast.