Based on kernel version 2.6.26. Page generated on 2008-07-16 21:12 EST.
1 What: /sys/kernel/uids/<uid>/cpu_shares 2 Date: December 2007 3 Contact: Dhaval Giani <dhaval[AT]linux.vnet.ibm[DOT]com> 4 Srivatsa Vaddagiri <vatsa[AT]linux.vnet.ibm[DOT]com> 5 Description: 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 14 Documentation/scheduler/sched-design-CFS.txt