Re: [lvs-users] lvs - how to estimate weights

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] lvs - how to estimate weights
From: "Malcolm Turnbull" <malcolm@xxxxxxxxxxxxxxxx>
Date: Thu, 13 Nov 2008 11:40:00 +0000

The short answer is no.
It depends on your application.

Run them all on the same weight for a while and see how they get
loaded, then decide if you need to play with the weights or just add
more servers.

In a layer 4 balanced cluster I normally recommend no greater than 40%
utilisation as a rule of thumb to cope with peaks in demand.

2008/11/13 Alex <linux@xxxxxxxxxxx>:
> [snip from lvs docs]
> During configuration, you assign a weight to each real server. This is an
> integer reflecting each server's processing capacity relative to that of the
> others. It is the ratio (2/1, 20/10, 200/100) that is significant. For
> example, a weight of 2000 assigned to a server indicates that it has twice
> the computing power of a server assigned a weight of 1000.You should be
> prepared to assign accurate weights
> [end snip]
> So WEIGHT is an integer reflecting each server's processing capacity based on:
> - memory,
> - processor speed,
> - number of processors
> Now, we have 3 real servers, all having only one processor, as follow:
> Server1:
> Server2:
> P3_1GHz_512MB
> Server3:
> CELERON_850MHz_128MB
> Can somebody tell me how to estimate weight for each?
> Regards,
> Alx
> _______________________________________________
> mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to


Malcolm Turnbull. Ltd.
Phone: +44 (0)870 443 8779

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