file stoarage type

Tollef Fog Heen tfheen at
Fri Aug 19 09:30:44 CEST 2011

]] Matt Schurenko 

| Could you be so kind as to answer another question? I am wondering if
| I should use malloc or file for the storage type. I have read that if
| your cache is small enough to remain mostly in memory it is best to
| use malloc, but if it will exceed the amount of physical RAM you have
| available that mmap performs better than relying on your system's use
| of swap space. Is this accurate?

Yes, it's generally accurate.

Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64

More information about the varnish-misc mailing list