Re: An idea for prefetching swapped memory...

Jörn Engel (joern@wohnheim.fh-wedel.de)
Mon, 7 Apr 2003 14:19:19 +0200


On Mon, 7 April 2003 13:48:17 +0200, Måns Rullgård wrote:
> Christophe Saout <christophe@saout.de> writes:
>
> > Are you sure this is working? When I'm watching a video ofer NFS on
> > my machine which is idle (just X and mplayer, gnome in background,
> > 256 MB of memory, 512 swap), after 30 minutes or so, the playback
> > starts to jump. The cpu usage is below 10%, and it even does this
> > when both X and mplayer are renice to -19 (!). So the VM swapped
> > everything out and after 30 minutes it starts to swap out X oder
> > mplayer itself, which is immediately swapped back in but the video
> > jumps... :-(
>
> How much of your memory is in use? Are you sure there isn't a memory
> leak somewhere in mplayer?

s/mplayer/X11/

The behaviour on my noteboot (512MB, no swap) is that X keeps grabbing
more memory until either I or OOM take measures.
The interesting part about it is that Mozilla and gcfclient seem to
cause the memory leak - X frees up to 400MB when one of those is
closed - but according to top, X owns that memory.

Anyway, I am quite sure that this is not a kernel problem, so please
take lkml out of any replies. :)

Jörn

-- 
"Translations are and will always be problematic. They inflict violence 
upon two languages." (translation from German)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/