Modify the program of Listing 5.7so that the partitioning of the range depend son the relative speed of the participating nodes. One easy approach is to make the ranges proportional to the CPU operating frequency or the calculated bogomips. Both numbers are available in the/proc/cpuinfopseudo-file. The master can collect the numbers and reply back to the worker nodes with the calculated ranges. If we represent as mithei-node’s bogomips, the percentage of the rangeαi that should be assigned to no deican be calculated as
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here