LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: apachebench not increasing troughput

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: apachebench not increasing troughput
From: Jan Klopper <janklopper@xxxxxxxxx>
Date: Tue, 01 Mar 2005 13:28:32 +0100
Mack,

The director is indeed not forwarding ssh (22), (is use it see if any other server than the director has taken over the VIP, (failing noarp, failvoer to secundary director etc) Saves me on finding out to which mac address the packes for VIP go to.

How can i check for persistent connctions on the server side?
AB lets me choose wheter or not it should use keepalive connections. (-k Use HTTP KeepAlive feature)
If i don;t use it i get 570 pages/sec.
If i do use it, i get aprox 1500 pages/sec.

I have a troughput of 400Kbytes per sec, will test packages soon. (need to let my head/ears rest from the machines buzzing next to me :P ) The requested pages are extremely small (13 bytes), but there might be whole lot of http/tcp overhead involved which is not counted inside tht 400Kbytes per seccond amount.

Thanks a lot.

Greets
Jan

Mack.Joseph@xxxxxxxxxxxxxxx wrote:

Joseph Mack PhD, High Performance Computing & Scientific Visualisation
LMIT, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.john@xxxxxxx

lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx wrote on 03/01/2005 06:05:17
AM:


From the client i can connect with ssh to the VIP (gives
me the active director)

I take it that the director is not forwarding ssh?


From the client i can browse to the VIP gives me semi
random, (altough usually the same) realserver.

Is apache making persistent connections?

When i do a AB (apachebench) from the client to each of
the rip's i get aprox 560 pages/sec.
When i do a AB from the client to the VIP, i get almost
the same. (560 pages/sec)

When i ab the VIP, i see the load rising on all servers.
(and see apache processes in top)

When i use persistent connections i get 3 times more pages/sec.

I have a troughput of 460Kbytes/sec.

The important measure is the number of packets/sec - see the performance
section of the HOWTO. Your network could be the bottleneck if the
packets are small.

Joe




<Prev in Thread] Current Thread [Next in Thread>