Is there a particular formula to calculate the amount of cpu resources that is allocated for a process when you "nice" it?
Asked
Active
Viewed 202 times
1 Answers
1
It depends on what scheduler you are using.
See for example
- http://oreilly.com/catalog/linuxkernel/chapter/ch10.html
- http://www.informit.com/articles/article.aspx?p=101760
Also source code of Linux scheduler.
It's rather complicated by it's nature (trying to optimize CPU time, performance and responsiveness).
![](../../users/profiles/68344.webp)
Olli
- 768
- 6
- 16