LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] How can I improve LVS performance?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] How can I improve LVS performance?
From: Paulo Rodrigues <paulo.s.rodrigues@xxxxxxxxx>
Date: Wed, 5 Aug 2009 00:58:14 +0100
Hello,
I'm sure it must be something very obvious, but somehow I'm failing this: I
have a very simple LVS setup, one virtualserver, and two squid realservers.
I've been using ab to check how many webpages this setup can serve over one
minute, by:

ab -k -c20 -t60 http://195.22.4.25/

and the maximum it does is around 6000 pages; from the LVS itself, running
the same command but against the realservers

ab -k -c20 -t60 http://192.168.200.60/
ab -k -c20 -t60 http://192.168.200.61/

gives around 40000 webpages from each! All hosts are connected over gigabit
ethernet.

The config file (ldirectord.cf) is:

checktimeout = 60
checkinterval = 10
quiescent = yes
virtual = 195.22.4.25:80
        protocol = tcp
        scheduler = lc
        real = 192.168.200.60:80 masq 5
        real = 192.168.200.61:80 masq 5
        service = http

I've also tried forwading instead of natting, but with pretty much the same
results.
Anyone have an idea what I could be doing wrong here?

Thanks for your attention,
Paulo Rodrigues
_______________________________________________
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>