LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Ldirector Performance Testing

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Ldirector Performance Testing
From: Anil Pillai <rcamphor@xxxxxxxxx>
Date: Thu, 28 Oct 2010 11:29:26 +0530
Below is the the output of commands.


[root@DR01 ~]# ipvsadm -L -n
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.16.183:8080 wlc
  -> 192.168.16.178:8080          Route   1      0          59
  -> 192.168.16.176:8080          Route   1      0          59
  -> 192.168.16.177:8080          Route   1      0          81

[root@DR01 ~]# ipvsadm -L -n --stats
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port               Conns   InPkts  OutPkts  InBytes
OutBytes
  -> RemoteAddress:Port
TCP  192.168.16.183:8080             23514   164005        0 23122438
0
  -> 192.168.16.178:8080              8532    59554        0  8380480
0
  -> 192.168.16.176:8080              7628    53138        0  7459184
0
  -> 192.168.16.177:8080              7354    51313        0  7282774
0

[root@DR01 ~]# ipvsadm -L -n --connection
IPVS connection entries
pro expire state       source             virtual            destination

--connection, didn;t give any output.

Yes, i get 150 on each server when tested simultaneously.


On Wed, Oct 27, 2010 at 8:03 PM, Henrique Fernandes <sf.rique@xxxxxxxxx>wrote:

> Can you please post the outputs of this comands in the diretord.
>
> #ipvsadm -L -n
>
> #ipvsadm -L --n --stats
>
> #ipvsadm -L -n --connection
>
>
> And if you use ab to test both servers at same time you get 150 on each ?
>
>
>
> []'sf.rique
>
>
> On Wed, Oct 27, 2010 at 10:50 AM, Anil Pillai <rcamphor@xxxxxxxxx> wrote:
>
> > Hi,
> >
> > I have a LVS/DR setup (ldirectord) with One Director and two Real
> Servers.
> > On Real Servers i have Apache Webserver running on port 8080.
> > Each Apache is capable of serving 150 TPS.
> > Now when i did load testing via Virtual IP, i am still getting same TPS
> > (150).
> > For load testing i have used apache benckmark (ab) tool.
> > As per my understanding via Load Balancer (VIP) TPS should increase and
> > should get around 300 TPS.
> >
> > Not sure where i am going wrong. Can anyone help me on this ?
> >
> > Below is the Setup Details:
> >
> > Director (Just acts as director only):
> >
> > 10.50.57.55 -> Virtual IP
> > 10.50.57.45 -> Physical IP
> >
> > Real Server 1:
> > 10.50.57.22 -> Physical IP on eth0
> > lo:0      Link encap:Local Loopback
> >
> >          inet addr:10.50.57.55  Mask:255.255.255.255
> >
> >          UP LOOPBACK RUNNING  MTU:16436  Metric:1
> >
> > Real Server 2:
> > 10.50.57.23 -> Physical IP on eth0
> >  lo:0      Link encap:Local Loopback
> >
> >          inet addr:10.50.57.55  Mask:255.255.255.255
> >
> >          UP LOOPBACK RUNNING  MTU:16436  Metric:1
> >
> > # Global Directives
> > checktimeout=3
> > checkinterval=6
> > autoreload=yes
> > logfile="/var/log/ldirectord.log"
> > quiescent=yes
> > # HTTP services
> > virtual=10.50.57.55:8080
> > service=http
> > scheduler=rr
> > protocol=tcp
> > checktype=negotiate
> > real=10.50.57.22:8080
> > real=10.50.57.23:8080
> > request="test/lvs.html"
> > receive="Test Page"
> >
> >
> > Added Below line in sysctl.conf on Real Servers:
> > net.ipv4.conf.lo.arp_ignore = 1
> > net.ipv4.conf.lo.arp_announce = 2
> > net.ipv4.conf.all.arp_ignore = 1
> > net.ipv4.conf.all.arp_announce = 2
> >
> >
> > Regards,
> > _______________________________________________
> > Please read the documentation before posting - it's available at:
> > http://www.linuxvirtualserver.org/
> >
> > LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> > Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> > or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> >
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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