Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ACE round-robin load balance

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,

5 REPLIES

Re: ACE round-robin load balance

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

New Member

Re: ACE round-robin load balance

Hi!

It was a exactly and accurate answer for me.

Very thanks.

Regards,

There wis not stickiness.

Silver

Re: ACE round-robin load balance

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

New Member

Re: ACE round-robin load balance

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,

Silver

Re: ACE round-robin load balance

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

674
Views
10
Helpful
5
Replies