[lkml]   [2003]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: how to turn off, or to clear read cache?
Jeff Garzik <> writes:

>> > Will it clear the cache?
>> It will probably clear some cache to make room for cache from hda.
>> perl -e '@f[0..100000000]=0'
>> will do it faster.
> Using fillmem will do it better :)

[39 lines of C code]

If you already have that piece of code, of course.

Måns Rullgård You can write faster programs in C, but you can write programs faster in Perl.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.071 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site