Re: Piranha on same subnet

Mustapha Hadim <[email protected]> Fri, 12 Sep 2003 15:53:28 +0200
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
Hello list,

We need some help about the load monitoring used in Piranha.
Indeed, we have almost developped a new scheduling technique
for Piranha (or more exactly a new weight assigning technique
for the real servers in Piranha). The technique uses the CPU load
and the memory load given by the free command. We use the ratio
of the used memory over the whole memory as the memory load.
As in Piranha, we use the first result of uptime as the CPU load.
Then, what I would like to do is to combine these two values
according to a certain function to get the CPU and memory load
together, in the same value. Then using the new load, one can
compute the new weight of a real server. The question is what is
this function; namely how to combine the CPU load and memory
load into a function that reflects at most the real load of the
system ?

Many thanks is advance for any hint.

Mustapha