file vs malloc performance
straightflush at gmail.com
Fri Apr 26 21:25:28 CEST 2013
I was reading some tuning guides and came across Krystian's blog post
http://kly.no/posts/2010_01_26__Varnish_best_practices__.html which notes
On Linux, -sfile performs far better than -smalloc once you start hitting
Assuming we have a dataset that we know is going to be larger than RAM, can
I confirm, even with non-SSD's that Varnish is more performant with -sfile
over -smalloc b/c swap is going to be slower than mmap() against a file ?
What happens if the dataset is larger than the file ?
We are looking to host multiple sites through our varnish cluster which is
certainly not going to all fit into RAM so we want to choose the right
option here and we dont have an SSD option.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc