Varnish: The One-Line Turbo-Booster
By sru on Apr 14, 2009 in Caching in General, Varnish
Just found this in Varnish’s Trac:
On linux I saw a 10-20x decrease in IO from reading the disk
If that’s true, it clearly show’s the power of a single line of added code:
(void) madvise(p, sz, MADV_RANDOM);
Hopefully this will have a similar effect on other operating systems as well.
