Hi<br><br><div class="gmail_quote">On Mon, May 14, 2012 at 9:15 AM, 姚伟斌 <span dir="ltr"><<a href="mailto:nbubingo@gmail.com" target="_blank">nbubingo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello, folks,<br>
<br>
I have a question. Does the varnish often sync the shared memory file<br>
named "_.vsm" with the disk? I saw many disk IOs with varnish:<br></blockquote><div><br></div><div>No. But Linux does sync the shmlog to disk as Linux hasn't properly implemented the flag that keeps stuff off the disk. You can try to either move the shmlog to a memory based filesystem or tune /proc/sys/vm/*dirty* and friends. Modern Linux distros seem to prefer syncing stuff to disk very aggresivly. </div>
</div><div><br></div>-- <br><img src="http://www.varnish-software.com/sites/default/files/varnishsoft_white_190x47.png"><div>Per Buer, <br>Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer<br><i>Varnish makes websites fly!</i><div>
<a href="http://www.varnish-software.com/whitepapers" target="_blank">Whitepapers</a> | <a href="http://www.youtube.com/watch?v=x7t2Sp174eI" target="_blank">Video</a> | <a href="https://twitter.com/varnishsoftware" target="_blank">Twitter</a> <br>
<br></div></div><br>