Hi

On Mon, May 14, 2012 at 9:15 AM, 姚伟斌 <[email protected]> wrote:

> Hello, folks,
>
> I have a question. Does the varnish often sync the shared memory file
> named "_.vsm" with the disk? I saw many disk IOs with varnish:
>

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.

-- 
Per Buer,
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to