RE: RES: RES: Help with kQueue

2013-05-31 Thread Lukas Tribus
Hi Fred, Seems with kqueue the CPU usage, reduces in 50%, which is great. Yep, the polling system is very important to performance, and select() is basically the worst of them. Do you know if they plan to add FTP Protocol support ? I can't speak for Willy, but I did not see anything

RES: Help with kQueue

2013-05-30 Thread Fred Pedrisa
HA-Proxy version 1.4.20 2012/03/10 Copyright 2000-2012 Willy Tarreau w...@1wt.eu Build options : TARGET = freebsd CPU = generic CC = gcc Default settings : maxconn = 1024, bufsize = 8030, maxrewrite = 1030, maxpollevents = 200 Encrypted password support via crypt(3): no

RES: Help with kQueue

2013-05-30 Thread Fred Pedrisa
Hello, Lr.cfg and l2cr.cfg are both the same files :) -Mensagem original- De: Lukas Tribus [mailto:luky...@hotmail.com] Enviada em: quinta-feira, 30 de maio de 2013 12:46 Para: Fred Pedrisa; haproxy@formilux.org Assunto: RE: Help with kQueue # /proxy/haproxy -vv -c -f l2cr.cfg

RES: Help with kQueue

2013-05-30 Thread Fred Pedrisa
# ./haproxy -d -f /proxy/l2cr.cfg -n 8192 Available polling systems : kqueue : pref=300, test result OK poll : pref=200, test result OK select : pref=150, test result FAILED Total: 3 (2 usable), will use kqueue. Using kqueue() as the polling mechanism. Here is what happens

RE: RES: Help with kQueue

2013-05-30 Thread Lukas Tribus
Hi Fred, Here is what happens with the latest version, looks like it will use kqueue !! but select fail ? :D I guess you have a maxsock FD_SETSIZE condition, which in recent releases disables select(). See [1] and [2]. I'm not sure what bug/change you run into, but I guess its enough to know

RES: RES: Help with kQueue

2013-05-30 Thread Fred Pedrisa
, but would be cool having native support for active mode ! Sincerely, Fred -Mensagem original- De: Lukas Tribus [mailto:luky...@hotmail.com] Enviada em: quinta-feira, 30 de maio de 2013 20:09 Para: Fred Pedrisa; haproxy@formilux.org Assunto: RE: RES: Help with kQueue Hi Fred, Here