blob: 28f14695a8523594ebcc806ae0a12832b032a851 [file] [log] [blame]
Dhaval Giani0594fe02007-12-12 11:18:59 +05301What: /sys/kernel/uids/<uid>/cpu_shares
2Date: December 2007
3Contact: Dhaval Giani <dhaval@linux.vnet.ibm.com>
4 Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
5Description:
6 The /sys/kernel/uids/<uid>/cpu_shares tunable is used
7 to set the cpu bandwidth a user is allowed. This is a
8 propotional value. What that means is that if there
9 are two users logged in, each with an equal number of
10 shares, then they will get equal CPU bandwidth. Another
11 example would be, if User A has shares = 1024 and user
12 B has shares = 2048, User B will get twice the CPU
13 bandwidth user A will. For more details refer
J. Bruce Fields9b8eae72008-02-07 00:13:37 -080014 Documentation/scheduler/sched-design-CFS.txt