ACE round-robin load balance

Unanswered Question
Jul 20th, 2008
User Badges:

Hi!


The serverfarm contains 2 rserver.

We use default round-robin algorithm for load-balance.

Our experience ACE send every second connection to same server.

2 here 2 there etc.


Is it normally ?


Regards,

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Syed Iftekhar Ahmed Mon, 07/21/2008 - 00:05
User Badges:
  • Blue, 1500 points or more


Is stickiness configured?

If yes then you wont get an even distribution.


I would recommend clearing the serverfarm statistics (clear serverfarm ) and then monitor (show serverfarm detail) the distribution of connections.You should be looking at "total

connections" column and not the "Current conns" column.


Round robin algorithm doesn't care about the current number of connections, it only takes into account the total number of connections sent. Current connections can be more on 1 server vs other just because of HTTP1.1 persistence (where multiple GETS are sent on a single TCP connection).


If you want to loadbalance on "current connection" basis then change the predictor to

Least connection.


Syed Iftekhar Ahmed


KAROLY KOHEGYI Mon, 07/21/2008 - 00:15
User Badges:

Hi!


It was a exactly and accurate answer for me.


Very thanks.


Regards,


There wis not stickiness.

ciscocsoc Mon, 07/21/2008 - 00:18
User Badges:
  • Silver, 250 points or more

Hi,


On a lightly loaded ACE you may see this. The ACE has two network processors which work independently. Both implement the RR algorithm on the same servers in the serverfarm. Hence you may see what looks like an error in the distribution.


HTH


Cathy

KAROLY KOHEGYI Mon, 07/21/2008 - 00:25
User Badges:

Hi Cathy!


It was very intresting remarks.


when i clear the serverfarm counter RR work correctly. ( 1-1 in teh test environment )

Earlier i see 2-2 distribution.


where is the true ???

which algorithm gives 1-1 distribution ?


Regards,

ciscocsoc Mon, 07/21/2008 - 00:43
User Badges:
  • Silver, 250 points or more

Hi,


Over the long term, in the absence of stickiness then the load balance algorithms will even out. The key in my previous reply was that the NPs act independently. There is no way of forcing an exact 1-1 distribution. Whether you see 1-1 or 2-2 is a matter of chance - depending on how the NPs see the serverfarms and make their decisions.


Kind Regards


Cathy

Actions

This Discussion