[MPlayer-users] [Patch] Disable file syatem driver cache

Zongyao Qu zongyao.qu at gmail.com
Sat Dec 17 06:39:19 CET 2011


> I have no idea whether this is the right thing to do on OS X, but it
> cannot go in like this, as both F_NOCACHE and F_RDAHEAD are OS X
> extensions.

Agreed, I think some #ifdef to make sure it is only called in the
target OSs will be safe.

> It's not held, or at least not directly. The OS will report cached
> memory in Inactive memory, and will release it as soon as there is VM
> pressure on inactive memory. In general, OS X and FreeBSD will try to
> use any RAM that is not being used for file system caching.

I thought it was true, but there are many users complained to me about
this, especially, when the file size is over mem size.

Some of the threads.
http://code.google.com/p/mplayerx/issues/detail?id=437



More information about the MPlayer-users mailing list