How to increase Varnish throughput?
Solution 1:
I mostly recommand tuning thread_pool_min and thread_pool_max, the other values do not help too much. -p thread_pools=2 \ -p thread_pool_min=500 \ -p thread_pool_max=5000 \
Specifically setting thread_pools to the numbers of CPUs does not help at all and might slow down your machine. It's just a guess, but maybe that already fixes your issue! :)
You will find very good explanations here: http://book.varnish-software.com/4.0/chapters/Tuning.html