lkml.org 
[lkml]   [2004]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: clearing filesystem cache for I/O benchmarks
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi!

    Benjamin Rutt wrote:
    > How can I purge all of the kernel's filesystem caches, so I can trust
    > that my I/O (read) requests I'm trying to benchmark bypass the kernel
    > filesystem cache?

    Some time ago I was looking for that, too, and found "cfree". Have a
    look at <http://gizmolabs.org/~andrew/andrewweb/project.php?pid=3&tab=0>

    It's a small utility and kernel module for linux-2.4 written by
    Andrew de los Reyes. It allows to clear portions of the buffer cache
    (e.g. for a complete sub-directory). I haven't analyzed it so I can't
    say if it does things correctly, though.

    HTH

    - - andreas

    - --
    Andreas Haumer | mailto:andreas@xss.co.at
    *x Software + Systeme | http://www.xss.co.at/
    Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
    A-1100 Vienna, Austria | Fax: +43-1-6060114-71
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.1 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFBA2s2xJmyeGcXPhERAuaTAKCaxNRjhbzf3G5uL1lsXYg41eF+jQCeP808
    DNcut1YDptMCNsvAeXrt+d8=
    =xPh9
    -----END PGP SIGNATURE-----

    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.023 / U:2.692 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site