Varnishd and the disk IO

rickytato rickytato rickytato at r2consulting.it
Tue May 15 22:41:25 CEST 2012


I use a simple tmpfs and work well:

# Varnish
tmpfs /usr/local/var/varnish tmpfs rw,size=256M 0 0

2012/5/14 Per Buer <perbu at varnish-software.com>

> Hi
>
> On Mon, May 14, 2012 at 9:15 AM, 姚伟斌 <nbubingo at gmail.com> 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
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120515/d51dd7b4/attachment.html>


More information about the varnish-misc mailing list