LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Weighted Round Robin: Maximum Weight

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Weighted Round Robin: Maximum Weight
From: "Francois JEANMOUGIN" <Francois.JEANMOUGIN@xxxxxxxxxxxxxxxxx>
Date: Tue, 30 Nov 2004 10:03:33 +0100

Horms :
> Sorry, to answer your actual question, yes 1000 is a valid weight.
> The weights are integers, but sometimes they are assigned to an
> atomic_t, so they can only be 24bits. That is,
> values so 0 to (2^24-1) should work.

Are you sure there is no other limitation somewhere in the code (like parsing
the weights or something like that). I remember I had problems with 5 digits
weights. I can't check it now, and I upgraded ipvs/keepalived since, but...
The limit can be in the parsing of configuration files for ldirectord or
keepalived (I use keepalived).

François.

Décharge / Disclaimer

Ce message et toutes les pièces jointes (ci-après le "message") sont 
confidentiels et établis à l'intention exclusive des destinataires. Toute 
utilisation ou diffusion non autorisée est interdite. Tout message électronique 
étant susceptible d'altération, 123Multimédia et ses filiales déclinent toute 
responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié.

This message and any attachments (the "message") are confidential and intended 
solely for the addressees. Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration. Therefore neither 123Multimédia nor any 
of its subsidiaries or affiliates shall be liable for the message if altered, 
changed or falsified.


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