<div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div class="gmail_default" style="font-size:small">memory vs disk cache</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail_default">This is an issue that has plagued Asterisk since day one. Basically there is no solution available because there is no way to set aside memory to be kept from a growing disk cache. I did some research and this looks like a bad design from the Kernel people. Meanwhile all you can do us every 60 seconds:</span></blockquote><div><span class="gmail_default"></span><span style="font-weight:bolder;background-color:rgb(246,248,250);color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:18.7px">echo 3 | sudo tee /proc/sys/vm/drop_caches</span></div><div><span class="gmail_default">Asterisk should be able to reserve memory and force it to stay locked in memory, exactly like Mariadb does with</span></div><div><span class="gmail_default">memlock=1<br></span></div><div><span class="gmail_default">Would the Asterisk developers consider something like this?</span></div>
</blockquote></div></div>
</div>