3

Is there a particular formula to calculate the amount of cpu resources that is allocated for a process when you "nice" it?

Flint
  • 631
  • 5
  • 10
  • 18

1 Answers1

1

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).

Olli
  • 768
  • 6
  • 16