Load Balancing
I was looking at that code and something seems wrong, or I'm missing something.
We currently get the system load which is generally a float like 0.07 and then compare it against the values set in the ACP like 2.5
The ACP is done like that for legibility, but what I don't see is how those or the CPU values are normalized. Meaning CPU load *10 or APC/100 I would think. Am I missing something?
Re: Load Balancing
Reply #1 –
Wouldn't it be when the load reaches 2.5 it triggers? That would make more sense than something normalized.
Re: Load Balancing
Reply #3 –
OK, got it, the numbers just seemed really high to me, thanks for the explain.
Re: Load Balancing
Reply #4 –
Yeah, it looks pretty high... dunno.
Maybe 20 and 30?