LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Issues with weighted round robin

To: himanshu.raina@xxxxxxxxxx, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] Issues with weighted round robin
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Thu, 29 Jul 2010 11:50:10 +0100
Hi

Firstly, your reply to the list didn't go through because somehow you
mangled the address.

On Thu, 2010-07-29 at 16:09 +0530, Himanshu Raina wrote:
> I understood the connection establishment and the termination part. So
> one way of dealing with this is to assign weights accordingly. Knowing
> that the server with higher weight processes request much faster you
> should assign maximum weight to it. Like in my case when I changed the
> weight from 7:3 to 9:1 the number of active connections reduced on the
> server which was earlier having higher number of active connections and
> every new connection in this case was given to the server with higher
> weight. Correct me if I'm wrong.

Please supply the --stats output as requested after running for a while.
The "snapshot" view of active/inactive connections is not very helpful
in this discussion.

The faster server can move more connections more quickly from active to
inactive than the slower, so can appear to be handling fewer connections
when viewed in this way. You need to look at the "big picture" after
it's been running for a while to get a true view of how requests are
being spread between realservers.

Graeme


_______________________________________________
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>