On 4/02/12 4:48 PM, Baptiste wrote:
What kind of NIC do you currently use?
I guess it's a Broadcom :)
Indeed, I am using Broadcom BCM5708's. I see lots of comments about them being problematic, particularly with firmware 1.9.6 (which I have), but I haven't confirmed if that's a contributing factor to the high cpu usage of haproxy, or if its really even a problem at all.

Concerning your CPU consumption, it looks normal: 16% in userland for
HAProxy itself and 38% in system, for syscall generated by HAProxy.
There is nothing weird with those numbers. (Willy can confirm).
By the way, what is the CPU speed of machine?

There are several machines involved, some with 2.0GHz, others with 2.5GHz. Given that my numbers appear correct, I'll either have to do some CPU upgrades or add more servers.

Concerning your conf, I ca see two thing:
1. you can disable option splice, unless your objects are very big, it
won't have any improvement on http.
Ok.
2. since you're using option http-server-close, connections against
the server are very short. so your leastconn algorythm is not
appropriate. Just use roundrobin.
Ok, thanks for the recommendation, I'll switch to RR.

Thanks,
Anton

Reply via email to