Re: Low performance in solaris 9

From: Willy Tarreau <>
Date: Tue, 29 Apr 2008 21:56:11 +0200

On Tue, Apr 29, 2008 at 04:52:14PM +0200, Aleksandar Lazic wrote:
> On Die 29.04.2008 05:58, Manuel Soto wrote:
> >Hello,
> > I'm a newbie in haproxy testing this product in Solaris 9. All our
> > results are far from haproxy standard throughput. We are testing 1,
> > 10, 100, 200 threads for about 200 secs. 44 bytes and 10Kb objects.
> [snipp]
> >Does any body has experience in Solaris 9 or have some advise.
> Which version of haproxy do you use?
> Ahat shows:
> ./haproxy -f examples/haproxy.cfg -Vd

Also, it is very important on solaris to build with FD_SETSIZE (or something like this, the option is in the makefile and the readme and I don't have it at hand). Solaris defaults to 256 file descriptors by default for one process, and above that you cannot establish any connection, which looks like your case. Also, you should enable poll() support, which is faster than select (although solaris emulates select with poll).

You should also check your system's fd limits. I remember there were two params such as rlim_fd_cur and rlim_fd_max. Don't push them too far, some old applications *might* break. But I know people running them at 4096 without problem.

Willy Received on 2008/04/29 21:56

This archive was generated by hypermail 2.2.0 : 2008/04/29 22:02 CEST