Hi,

On 12.02.2012 12:54, Baptiste wrote:
lukasz<at>jagiello<dot>org

Hi,

When speaking about virtualization, there are so many factors to take
into account.

- which hypervisor are we speaking about ?
VMWare ESXi 5.0
- what phisical NIC are using?
 Broadcom Corporation Broadcom NetXtreme II BCM5716 1000Base-T
- have you reserved both CPU and memory resources dedicated to the LB VM?
Yes
- 2 vCPUs may be counter-productive, try with a single one
- what kind of platform is this, which protocols, etc...
FreeBSD based, PFSense 2.0
- some top command output may be interresting too
####################################################################################################

last pid: 4417; load averages: 0.39, 0.39, 0.41 up 0+03:06:53 13:16:47
43 processes:  1 running, 42 sleeping
CPU:  0.7% user,  0.0% nice,  3.7% system,  3.9% interrupt, 91.6% idle
Mem: 143M Active, 13M Inact, 86M Wired, 23M Buf, 239M Free
Swap: 256M Total, 256M Free

  PID USERNAME  THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
21153 www         1  50    0 78168K 53488K kqread  0   1:05  9.96% haproxy
20994 www         1  48    0 75096K 51084K kqread  0   0:56  6.98% haproxy
47172 root        1  45    0  4948K  2536K select  0   6:30  1.95% syslogd
28115 root        1  76    0 43356K 17136K accept  1   0:06  0.00% php
11387 root        1  45    0 43356K 18416K accept  0   0:06  0.00% php
45128 root        1  44    0  3316K   924K piperd  1   0:04  0.00% logger
44876 root        1  44    0  7960K  4736K bpf     0   0:04  0.00% tcpdump
51723 root        1  44    0  3316K  1344K select  0   0:03  0.00% apinger
61582 root        1  44    0 43356K 16932K accept  0   0:02  0.00% php
60511 root        1  47    0 43356K 18248K accept  1   0:02  0.00% php
56598 root        1  44    0  6724K  3476K kqread  1   0:01  0.00% lighttpd
13054 root        1  44    0  5988K  3968K select  1   0:01  0.00% racoon
15747 root        1  76   20  3656K  1492K wait    0   0:01  0.00% sh
13628 root        1  44    0  8232K  6776K select  0   0:00  0.00% bsnmpd
 6216 root        1  44    0  7992K  3556K select  0   0:00  0.00% sshd
 3474 _ntp        1  44    0  3316K  1348K select  1   0:00  0.00% ntpd
 4002 root        1  44    0  7992K  3496K select  1   0:00  0.00% sshd

####################################################################################################

last pid: 44224; load averages: 0.52, 0.42, 0.42 up 0+03:07:23 13:17:17
45 processes:  2 running, 43 sleeping
CPU:  3.2% user,  0.0% nice, 15.2% system, 28.3% interrupt, 53.4% idle
Mem: 145M Active, 13M Inact, 86M Wired, 23M Buf, 237M Free
Swap: 256M Total, 256M Free

  PID USERNAME  THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
21153 www         1  49    0 78168K 54228K RUN     1   1:08  8.98% haproxy
20994 www         1  48    0 75096K 51628K kqread  0   0:58  7.96% haproxy
47172 root        1  45    0  4948K  2536K select  1   6:31  1.95% syslogd
28115 root        1  76    0 43356K 17136K accept  0   0:06  0.00% php
11387 root        1  44    0 43356K 18416K accept  0   0:06  0.00% php
45128 root        1  44    0  3316K   924K piperd  1   0:04  0.00% logger
44876 root        1  44    0  7960K  4740K bpf     1   0:04  0.00% tcpdump
51723 root        1  44    0  3316K  1344K select  0   0:03  0.00% apinger
61582 root        1  44    0 43356K 16932K accept  0   0:02  0.00% php
60511 root        1  47    0 43356K 18248K accept  1   0:02  0.00% php
56598 root        1  44    0  6724K  3476K kqread  0   0:01  0.00% lighttpd
13054 root        1  44    0  5988K  3968K select  1   0:01  0.00% racoon
15747 root        1  76   20  3656K  1492K wait    0   0:01  0.00% sh
13628 root        1  44    0  8232K  6776K select  1   0:00  0.00% bsnmpd

####################################################################################################

last pid: 62088; load averages: 0.37, 0.39, 0.41 up 0+03:07:43 13:17:37
43 processes:  1 running, 42 sleeping
CPU:  0.0% user,  0.0% nice,  1.5% system,  3.7% interrupt, 94.8% idle
Mem: 146M Active, 13M Inact, 86M Wired, 23M Buf, 236M Free
Swap: 256M Total, 256M Free

  PID USERNAME  THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
21153 www         1  50    0 80216K 55464K kqread  0   1:10  9.96% haproxy
20994 www         1  48    0 75096K 52084K kqread  0   1:00  8.98% haproxy
47172 root        1  45    0  4948K  2536K select  0   6:32  0.98% syslogd
28115 root        1  76    0 43356K 17136K accept  0   0:06  0.00% php
11387 root        1  45    0 43356K 18416K accept  0   0:06  0.00% php
45128 root        1  44    0  3316K   924K piperd  0   0:04  0.00% logger
44876 root        1  44    0  7960K  4740K bpf     0   0:04  0.00% tcpdump
51723 root        1  44    0  3316K  1344K select  1   0:03  0.00% apinger
61582 root        1  44    0 43356K 16932K accept  1   0:02  0.00% php
60511 root        1  47    0 43356K 18248K accept  1   0:02  0.00% php
56598 root        1  44    0  6724K  3476K kqread  1   0:01  0.00% lighttpd
13054 root        1  44    0  5988K  3968K select  0   0:01  0.00% racoon
15747 root        1  76   20  3656K  1492K wait    0   0:01  0.00% sh
13628 root        1  44    0  8232K  6776K select  1   0:00  0.00% bsnmpd
 6216 root        1  44    0  7992K  3556K select  0   0:00  0.00% sshd

####################################################################################################

last pid: 62088; load averages: 0.37, 0.39, 0.41 up 0+03:07:43 13:17:37
43 processes:  1 running, 42 sleeping
CPU:  0.0% user,  0.0% nice,  1.5% system,  3.7% interrupt, 94.8% idle
Mem: 146M Active, 13M Inact, 86M Wired, 23M Buf, 236M Free
Swap: 256M Total, 256M Free

  PID USERNAME  THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
21153 www         1  50    0 80216K 55464K kqread  0   1:10  9.96% haproxy
20994 www         1  48    0 75096K 52084K kqread  0   1:00  8.98% haproxy
47172 root        1  45    0  4948K  2536K select  0   6:32  0.98% syslogd
28115 root        1  76    0 43356K 17136K accept  0   0:06  0.00% php
11387 root        1  45    0 43356K 18416K accept  0   0:06  0.00% php
45128 root        1  44    0  3316K   924K piperd  0   0:04  0.00% logger
44876 root        1  44    0  7960K  4740K bpf     0   0:04  0.00% tcpdump
51723 root        1  44    0  3316K  1344K select  1   0:03  0.00% apinger
61582 root        1  44    0 43356K 16932K accept  1   0:02  0.00% php
60511 root        1  47    0 43356K 18248K accept  1   0:02  0.00% php
56598 root        1  44    0  6724K  3476K kqread  1   0:01  0.00% lighttpd
13054 root        1  44    0  5988K  3968K select  0   0:01  0.00% racoon
15747 root        1  76   20  3656K  1492K wait    0   0:01  0.00% sh
13628 root        1  44    0  8232K  6776K select  1   0:00  0.00% bsnmpd
 6216 root        1  44    0  7992K  3556K select  0   0:00  0.00% sshd

####################################################################################################

- which version of haproxy? have you compiled it from sources or is
1.4.18 Package of the Pfsense bundle
this the one from your distro?
- are you using client side keepalives?
No

and any kind of information which may help.
I use nginx on my backend servers

As you can see, saying you have performance issues without giving a
minimal set of information prevent us from helping you accurately.
Thank you for trying to help me, sorry for the minimal information I gave you.
Right now I don't know which information I could give furthermore.


--

Sebastian Fohler
Far-Galaxy Networks
Web: http://www.far-galaxy.de
Tel.: +49 (0)173 8796211
E-Mail: [email protected]


Reply via email to