More objects in malloc storage?
Per Buer
perbu at varnish-software.com
Tue May 15 20:53:30 CEST 2012
Hi
On Tue, May 15, 2012 at 4:14 PM, Richard Zuidhof <richard at zuidhof.nl> wrote:
> Due to a bug in 3.0.0 or 3.0.1 we had to switch back to file storage
> instead of malloc last summer. Until now I had not bothered to change it
> back after upgrading to 3.0.2 because I thought the increase in efficiency
> would not matter too much for a relatively small server. To my surprise
> there was an unexpected side effect. After I switched the config from 2G
> file to 1500M malloc the number of objects in the Varnish cache increased
> from 58000 to 115000. Less memory, more objects.Is this by design? Can
> anyone explain this?
>
-sfile put objects at 4k boundaries if I recall correctly. If you have many
small objects the overhead is significant.
--
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120515/94582a10/attachment.html>
More information about the varnish-misc
mailing list