Re: 2.6.38-rc echo 3 > /proc/sys/vm/drop_caches repairs mplayerdistortions

From: Johannes Weiner
Date: Tue Mar 15 2011 - 14:59:23 EST


linux-mm cc'd

On Mon, Mar 14, 2011 at 10:34:31PM +0100, Hans de Bruin wrote:
> Since the start of the start of 2.6.38-rc I sporadic have problems
> with mplayer. A mpeg stream sometimes gets distorted when mplayer
> starts. An example is at http://www.xs4all.nl/~bruinjm/mplayer.png .
> I do not know how to trigger the behaviour, so bissecting is not
> possible. Since yesterday however I found a way to 'repair' mplayer:
>
> echo 3 > /proc/sys/vm/drop_caches
>
> This repairs mplayer while it is running.

While echo is running? Or does one cache drop fix the problem until
mplayer exits? Could you describe exactly the steps you are going
through and the effects they have?

Thanks!

> My latop is runs on nfsroot, and the mpegstreams are payed over nfs
> or http. I can have two instances of mplayer running the same mpeg
> stream over nfs or http with only one instance distorded.
>
> --
> Hans
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/