RSS Feed for This PostCurrent Article

Varnish: The One-Line Turbo-Booster

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.

Trackback URL

Leave a Reply