Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 5908e6b738e3357af42c10e1183753c70a0117a9 authored by Linus Torvalds on 25 February 2019, 00:46:45 UTC
Linux 5.0-rc8
Tip revision: 5908e6b
sysfs-kernel-uids
What:		/sys/kernel/uids/<uid>/cpu_shares
Date:		December 2007
Contact:	Dhaval Giani <dhaval@linux.vnet.ibm.com>
		Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Description:
		The /sys/kernel/uids/<uid>/cpu_shares tunable is used
		to set the cpu bandwidth a user is allowed. This is a
		propotional value. What that means is that if there
		are two users logged in, each with an equal number of
		shares, then they will get equal CPU bandwidth. Another
		example would be, if User A has shares = 1024 and user
		B has shares = 2048, User B will get twice the CPU
		bandwidth user A will. For more details refer
		Documentation/scheduler/sched-design-CFS.txt
back to top