LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Can i use LVS with CPU, BW, Mem

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Can i use LVS with CPU, BW, Mem
From: タズー = star <kos_au@xxxxxxxxxxx>
Date: Tue, 10 Jul 2007 22:05:39 -0800
my function
//                LB = wc * CPU + wb * band  // 
//               wc = min( 1, max( 0, 0.5 + CPU - band ) )  //
//               wb = min( 1, max( 0,0.5 + band - CPU ) )  //

 
 
such as.....real server 1 has cpu 100% bandwidth 100Mbps.use cpu 30% Bandwidth 
50%.to cal in my function LB = 0.50.
real server 2 use cpu 60% Bandwidth 20%.
to cal in my function LB = 0.56.
 
so director will choose real server 2 to service next client.
 
how could i do?
_________________________________________________________________
Call friends with PC-to-PC calling -- FREE
http://get.live.com/messenger/overview

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