<div dir="auto"><div>I want to cache critical files indefinitely regardless of them being hot or stale until they're purged (by the app).</div><div dir="auto"><br></div><div dir="auto">Thanks<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Feb 15, 2017 4:30 AM, "Rainer Duffner" <<a href="mailto:rainer@ultra-secure.de">rainer@ultra-secure.de</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="elided-text"><br><div><blockquote type="cite"><div>Am 14.02.2017 um 21:25 schrieb Ebayer Ebayer <<a href="mailto:ebaystardust@gmail.com" target="_blank">ebaystardust@gmail.com</a>>:</div><br class="m_4796626733402542808Apple-interchange-newline"><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Is there a more deterministic way besides fully trusting the MMU? I really don't think the MMU will execute well on what I'm setting to accomplish. Some more info:</span><div dir="auto" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div dir="auto" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">* I run Linux 2.6.32 (RH's)</div><div dir="auto" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div dir="auto" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">* I don't trust /dev/shm as a memory store</div><div dir="auto" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div dir="auto" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">* I want the kernel to keep files cached for a pre determined length of time Xmns</div><div dir="auto" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div dir="auto" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">* Don't want to think too hard about how the MMU evicts pages and how that affects caching exactly</div></div></blockquote></div><br><div><br></div><div><br></div></div><div>You are overthinking this problem.</div><div><br></div><div>Get a better OS if you don’t trust your current one.</div><div><br></div><div><br></div><div>How large is your dataset? How much of that is „hot“?</div><div>What’s your specific use-case?</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br>______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br></blockquote></div><br></div></div></div>