Think of a load balancer which is to balance the load according to the available (remaining) processing power of its units. How would you calculate this parameter to compare?
I'm trying to implement this in C#
and so far I can query the CPU
usage in percentage but that doesn't do since different machines might be using different processors. Perhaps if I could find out the processing power of each machine multiplied by its free CPU
percentage, it would be a good estimate.
But what are the important parameters of a processor to include and how to aggregate them into one single number?