[OpenAFS] Force client to cache directory

Derek Atkins warlord@MIT.EDU
Mon, 04 Jan 2010 13:48:46 -0500


Scott Peshak <scott@sourceallies.com> writes:

> I use something similar to this:
>
> find /afs/foo/bar/ -type f -exec md5sum {} \;

Why not just cat {} \> /dev/null \;

It takes less CPU and still pulls in the file..  So you're purely IO
bound and not potentially CPU-bound (using md5sum).

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available