[Ffmpeg-devel] [PATCH] Show Subversion revision number in the version string

Corey Hickey bugfood-ml
Tue Jun 20 02:08:27 CEST 2006


The Wanderer wrote:
>>> Try after cold boot.
>> Or, as root on Linux with a fairly recent kernel:
>>
>> echo 3 > /proc/sys/vm/drop_caches
> 
> I don't know what this does, but without it (and as non-root, which is
> how I run my configures/compiles), another datapoint:

I didn't mean compile as root; just run the above as root. I forgot to
mention running 'sync' first; it does make a difference.

>From http://kernelnewbies.org/Linux_2_6_16:

Add /proc/sys/vm/drop_caches. Writing to this will cause the kernel to
drop clean caches, dentries and inodes from memory, causing that memory
to become free. This is mainly useful for benchmarking, for getting
consistent results between filesystem benchmarks without rebooting. To
free pagecache: "echo 1 > /proc/sys/vm/drop_caches", to free dentries
and inodes: "echo 2 > /proc/sys/vm/drop_caches", to free pagecache,
dentries and inodes: "echo 3 > /proc/sys/vm/drop_caches". As this is a
non-destructive operation and dirty objects are not freeable, the user
should run `sync' first


-Corey




More information about the ffmpeg-devel mailing list