Re: major performance decrease in total throughput with HAproxy 1.4.20

2012-08-18 Thread Willy Tarreau
On Thu, Aug 16, 2012 at 01:43:50PM -0400, Saul Waizer wrote: Well, it turns out it was the option httpclose that was set on the defaults I commented out both httpclose and http-server-close and I got the desired throughput, 2k+ req/sec, then I enabled http-server-close and ran the test

Re: major performance decrease in total throughput with HAproxy 1.4.20

2012-08-17 Thread Baptiste
Hi, To summary, with httpclose, you have around 100 rps. With no option, you get 2K rps (which means your servers can do http keepalives). when you enable option http-server-close only, you have also 2K rps, because HAProxy does HTTP keepalive on the server side. 2 options: 1. there is a magic

Re: major performance decrease in total throughput with HAproxy 1.4.20

2012-08-17 Thread Amol
@formilux.org Sent: Friday, August 17, 2012 3:35 AM Subject: Re: major performance decrease in total throughput with HAproxy 1.4.20 Hi, To summary, with httpclose, you have around 100 rps. With no option, you get 2K rps (which means your servers can do http keepalives). when you enable option http

Re: major performance decrease in total throughput with HAproxy 1.4.20

2012-08-16 Thread Saul Waizer
Hey Willy, thanks for your response, answers bellow: - Is this load stable or does it vary a lot during the test ? The load is pretty stable, it doesn't seem to go up more than .70 max - Do you have conntrack loaded on the LB ? Its installed, any specific command you want me to try? - Is the

Re: major performance decrease in total throughput with HAproxy 1.4.20

2012-08-16 Thread Baptiste
Any ideas? Thanks Hi, Could be interesting to have a look at HAProxy logs :) They may provide useful information about network and application response time (enable the http-server-close option). cheers

Re: major performance decrease in total throughput with HAproxy 1.4.20

2012-08-16 Thread Saul Waizer
Well, it turns out it was the option httpclose that was set on the defaults I commented out both httpclose and http-server-close and I got the desired throughput, 2k+ req/sec, then I enabled http-server-close and ran the test again and still got the desired throughput, enabling httpclose made it

Re: major performance decrease in total throughput with HAproxy 1.4.20

2012-08-16 Thread Amol
@formilux.org Sent: Thursday, August 16, 2012 1:16 AM Subject: Re: major performance decrease in total throughput with HAproxy 1.4.20 Hi Saul, On Wed, Aug 15, 2012 at 02:43:57PM -0400, Saul Waizer wrote: Hey list, I am having a strange issue with my latest implementation of HAproxy. I have 2 openAM

RE: major performance decrease in total throughput with HAproxy 1.4.20

2012-08-16 Thread Lukas Tribus
i am trying to understand why option httpclose would be a problem? With httpclose in your configuration, you need 2 tcp session per *request* on your haproxy box. When you disable httpclose and enable only http-server-close, then you will use keepalive between the client and haproxy. With

major performance decrease in total throughput with HAproxy 1.4.20

2012-08-15 Thread Saul Waizer
Hey list, I am having a strange issue with my latest implementation of HAproxy. I have 2 openAM servers (tomcat) behind my haproxy box running version 1.4.20 on Ubuntu 10 X_86, all properly configured to be behind a load balancer. I used Jmeter to test the openAM servers individually and both

Re: major performance decrease in total throughput with HAproxy 1.4.20

2012-08-15 Thread Willy Tarreau
Hi Saul, On Wed, Aug 15, 2012 at 02:43:57PM -0400, Saul Waizer wrote: Hey list, I am having a strange issue with my latest implementation of HAproxy. I have 2 openAM servers (tomcat) behind my haproxy box running version 1.4.20 on Ubuntu 10 X_86, all properly configured to be behind a load