Flint Asked: 2011-02-18 09:55:57 +0800 CST2011-02-18 09:55:57 +0800 CST 2011-02-18 09:55:57 +0800 CST How "nice" determines amount of cpu resource to give 772 Is there a particular formula to calculate the amount of cpu resources that is allocated for a process when you "nice" it? central-processing-unit linux nice process-priority 1 Answers Voted Best Answer Olli 2011-02-18T10:28:56+08:002011-02-18T10:28:56+08:00 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).
It depends on what scheduler you are using.
See for example
Also source code of Linux scheduler.
It's rather complicated by it's nature (trying to optimize CPU time, performance and responsiveness).