LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Problem in calculating load weight from priority in Linux (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/problem-in-calculating-load-weight-from-priority-in-linux-4175669346/)

imranmumtaz92 02-11-2020 01:23 AM

Problem in calculating load weight from priority in Linux
 
I am trying to calculate the load weight from process priority.I have studied a research paper which can be downloaded from the link:https://www.researchgate.net/publica...n_Linux_Kernel
On its PDF page 7 you can see a table.I am trying to find out how the load weight is computed from priority.I have googled that out and found the following formula:Weight=1024/(1.25)^nice but this is not in accordance with the values given with the research paper (whose link is given above).I am not getting some exact formula to find(Load weight from priority/niceness?) that out.

joshep 03-04-2020 10:27 PM

above formula is right to calculate the weight. Take all the values carefully. maybe this time you will find the correct answer.


All times are GMT -5. The time now is 04:44 AM.