file vs malloc

Angelo Höngens A.Hongens at
Fri Nov 26 16:41:57 CET 2010

Per wrote in his survey result: "62% use -s file, which I find somewhat surprising. -s file doesn't really perform that well under pressure on rotating hard drives due to some changes in recent Linux and FreeBSD kernels."

But does anyone have a link to (or write up) some explanation for dummies on cache file types? I know there's 'file' and 'malloc', but I don't know the difference or the pros and cons.

I tried searching the wiki, but I my google-fu lacks sometimes ;)


With kind regards,
Angelo Höngens
Systems Administrator
tourism internet software solutions
Ringbaan Oost 2b
5013 CA Tilburg
T: +31 (0)13 5811088
F: +31 (0)13 5821239
mailto:A.Hongens at

More information about the varnish-misc mailing list