<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Arial">Thanks. Josh Smith made pretty
much the same astute observation.<br>
<br>
</font></font>
<div class="moz-cite-prefix">On 9/16/2012 12:06 PM, Liam Proven
wrote:<br>
</div>
<blockquote
cite="mid:CAMTenCEpQHWwnXDp5L3X75TZCfw3da-nvor3w4OLwvHgNPpORA@mail.gmail.com"
type="cite">
<pre wrap="">On 16 September 2012 00:16, John Hupp <a class="moz-txt-link-rfc2396E" href="mailto:ubuntu@prpcompany.com"><ubuntu@prpcompany.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I'm curious about this observation: If I do a find search on the root
directory, it ordinarily takes a minute or two -- as one would expect if it
were examining everything afresh.
But if I follow that up with a different find search on the root, it
finishes in a few seconds.
Does find cache file system information and reuse it under certain
conditions? Or does Linux itself cache some sort of information from an
initial search that a subsequent search benefits from?
</pre>
</blockquote>
<pre wrap="">
This is precisely what a disk cache is *for*. It is the purpose of its
existence. It caches the indices of, well, pretty much all the
directories of your disk, so next time, the search is purely in
memory.
</pre>
</blockquote>
<br>
</body>
</html>