Hi Chris,

> No, there's one regexp on a rarely-used backend.
>
> Here's our (redacted) config:
> https://gist.github.com/chrisotherwise/cfdd04216d622437f5fe
>
> Here's the output from haproxy -vv:
> https://gist.github.com/chrisotherwise/23067a39fd59449d52f1
>
> Here's the output from sar when we were not too busy:
> https://gist.github.com/chrisotherwise/b2f22379eb5192ea5b45
>
> Here's the output from a pidstat of haproxy:
> https://gist.github.com/acme/02f065091d9f246ceaa3


Ok, 2 suggestions here:
- use keep-alive, replace "option httpclose" with "option http-keep-alive"
  and configure "timeout http-keep-alive" to some seconds (the optimal
  value depends on your application, try starting with 5s)
- you are using Linux 3.5, try enabling splicing with "option splice-auto"


Those 2 suggestions should decrease the load a lot.



> We have 3 x 1Gb NIC. Things get hot at around 1.1Gb/s

This may be another problem. What NIC are we talking about here exactly?
Moving this to a 10Gig NIC could help as well (especially if those are not
high end 1Gig NICs).




Regards,

Lukas

                                          

Reply via email to