<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><font face="Helvetica, Arial,
sans-serif">I'm surprised you're seeing a large difference; I
observe the effects of the hardware disk-based caching myself
but I don't see a big difference between run 1 and 2. I can't
really turn that off, and wouldn't want to because doing so
would alter the real-world scenario of running your code in the
wild. Nevertheless, to keep this from happening to you, run
this before you run your Perl app:<br>
<br>
find /dedup >/dev/null<br>
<br>
This is precisely the reason why we are taking the best time out
of 2 runs when each contestant's code is benchmarked. I will
run the above command every time before benchmarking any code to
assure fairness.<br>
<br>
--Tommy Butler<br>
<br>
On 12/29/2013 01:32 PM, Joel Berger wrote:<br>
</font></div>
<blockquote
cite="mid:CAAMA-9ODtjMh2bnq19DAPn96TVbYkev2qbmXoDXnc2WzV2iyAg@mail.gmail.com"
type="cite">
<div dir="ltr"><font face="Helvetica, Arial, sans-serif">Hi all,</font>
<div><font face="Helvetica, Arial, sans-serif"><br>
</font></div>
<div><font face="Helvetica, Arial, sans-serif">As I am testing,
the first time I run my script it takes significantly longer
than subsequent runs, soon afterwards. Is there some amount
of disk-buffering happening? Can we control this for a
consistent outcome?</font></div>
<div><font face="Helvetica, Arial, sans-serif"><br>
</font></div>
<div><font face="Helvetica, Arial, sans-serif">Thanks,</font></div>
<div><font face="Helvetica, Arial, sans-serif"><br>
</font></div>
<div><font face="Helvetica, Arial, sans-serif">Joel Berger</font><font
face="Helvetica, Arial, sans-serif"><br>
</font></div>
</div>
</blockquote>
</body>
</html>