xref: /OK3568_Linux_fs/kernel/Documentation/ABI/removed/sysfs-kernel-uids (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/kernel/uids/<uid>/cpu_shares
2*4882a593SmuzhiyunDate:		December 2007, finally removed in kernel v2.6.34-rc1
3*4882a593SmuzhiyunContact:	Dhaval Giani <dhaval@linux.vnet.ibm.com>
4*4882a593Smuzhiyun		Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
5*4882a593SmuzhiyunDescription:
6*4882a593Smuzhiyun		The /sys/kernel/uids/<uid>/cpu_shares tunable is used
7*4882a593Smuzhiyun		to set the cpu bandwidth a user is allowed. This is a
8*4882a593Smuzhiyun		propotional value. What that means is that if there
9*4882a593Smuzhiyun		are two users logged in, each with an equal number of
10*4882a593Smuzhiyun		shares, then they will get equal CPU bandwidth. Another
11*4882a593Smuzhiyun		example would be, if User A has shares = 1024 and user
12*4882a593Smuzhiyun		B has shares = 2048, User B will get twice the CPU
13*4882a593Smuzhiyun		bandwidth user A will. For more details refer
14*4882a593Smuzhiyun		Documentation/scheduler/sched-design-CFS.rst
15