Messages in this thread | | | From | (Måns Rullgård) | Subject | Re: how to turn off, or to clear read cache? | Date | Wed, 20 Aug 2003 19:28:02 +0200 |
| |
Jeff Garzik <jgarzik@pobox.com> 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 mru@users.sf.net 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 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/
| |