15 lines · plain
1What: /sys/kernel/uids/<uid>/cpu_shares2Date: December 2007, finally removed in kernel v2.6.34-rc13Contact: 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 used7 to set the cpu bandwidth a user is allowed. This is a8 proportional value. What that means is that if there9 are two users logged in, each with an equal number of10 shares, then they will get equal CPU bandwidth. Another11 example would be, if User A has shares = 1024 and user12 B has shares = 2048, User B will get twice the CPU13 bandwidth user A will. For more details refer14 Documentation/scheduler/sched-design-CFS.rst15