On Thu, Jul 3, 2014 at 11:00 AM, Maxime Brugidou
<[email protected]> wrote:
> Hi all,
>
> We have been trying to get better performance from our simple haproxy
> setup since we encountered issues when getting over 15k session/sec.
>
> Our simple test setup to reproduce the issue:
> * 1 server with 2 CPUs Xeon (E5 core i7) with 6 cores each with
> hyperthreading on (24 cores total)
>   * 1 Intel I350 Gigabit ethernet interface
>   * CentOS 6.5 kernel 2.6.32-431.11.2.el6.centos.plus.x86_64
>   * 1 haproxy 1.5.1 recompiled (1.4 from the distribution had the same
> issues anyway)
>   * 1 nginx on the same host with one simple worker serving a very
> small static file (< 10 bytes)
> * 4 client servers running siege with a simple HTTP GET / at
> concurrency 500 each, in the same VLAN
>
> We only get session rate of ~16k per second which seems very low. The
> interesting symptom is that we get 100% CPU for the haproxy process
> with very low connection rate.

Maxime:

Some ideas:

- what happens if you up the size of the request ?
- what results do you get with haproxy 1.4 ?
- have you tried gdb -p $(pidof haproxy) --batch --ex "set pagination
0" --ex "thread apply all bt" ? Sometimes a few random stacktrace
samples help you stumble upon an idea of where your bottleneck is.


-- 
Sasha Pachev

Fast Running Blog.
http://fastrunningblog.com
Run. Blog. Improve. Repeat.

Reply via email to