<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I wonder if disk latency is the problem?. As a test you could put the<br>
index.fs file into a tmpfs and see if that improves things, or cat<br>
index.fs > /dev/null to try and force it into the fs cache.<br></blockquote><div><br></div><div>Hmm, it would seem not... the cat happens instantly:</div><div><br></div><div><font size="1" face="courier new, monospace"> (env)tsa@sp2772c:~/sports$ time cat Data_IndexDB.fs > /dev/null</font></div>
<div><font size="1" face="courier new, monospace"><br></font></div><div><font size="1" face="courier new, monospace"> real 0m0.065s</font></div><div><font size="1" face="courier new, monospace"> user 0m0.000s</font></div>
<div><font size="1" face="courier new, monospace"> sys 0m0.064s</font></div><div> </div><div>The database isn't even very big:</div><div><br></div><div><font face="courier new, monospace" size="1"> rw-r--r-- 1 tsa tsa 233M Jan 18 14:34 Data_IndexDB.fs</font></div>
<div> </div><div>Which makes me wonder why it takes so long to load it into memory.... it's just a bit frustrating that the server has 7gb of RAM and it's proving to be so difficult to get ZODB to keep ~300 megs of it up in there. Or, indeed, if linux already has the whole .fs file in a memory cache, where are these delays coming from? There's something I don't quite understand about this whole situation...</div>
<div><br></div><div>- Claudiu</div></div>