18c2ecf20Sopenharmony_ciWhat: /sys/kernel/uids/<uid>/cpu_shares 28c2ecf20Sopenharmony_ciDate: December 2007, finally removed in kernel v2.6.34-rc1 38c2ecf20Sopenharmony_ciContact: Dhaval Giani <dhaval@linux.vnet.ibm.com> 48c2ecf20Sopenharmony_ci Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> 58c2ecf20Sopenharmony_ciDescription: 68c2ecf20Sopenharmony_ci The /sys/kernel/uids/<uid>/cpu_shares tunable is used 78c2ecf20Sopenharmony_ci to set the cpu bandwidth a user is allowed. This is a 88c2ecf20Sopenharmony_ci propotional value. What that means is that if there 98c2ecf20Sopenharmony_ci are two users logged in, each with an equal number of 108c2ecf20Sopenharmony_ci shares, then they will get equal CPU bandwidth. Another 118c2ecf20Sopenharmony_ci example would be, if User A has shares = 1024 and user 128c2ecf20Sopenharmony_ci B has shares = 2048, User B will get twice the CPU 138c2ecf20Sopenharmony_ci bandwidth user A will. For more details refer 148c2ecf20Sopenharmony_ci Documentation/scheduler/sched-design-CFS.rst 15