Subj : Nice value and thread priority To : comp.programming.threads From : Vinay N Karanth Date : Mon Jul 18 2005 05:12 pm Hello I am trying to understand the scheduling in Linux. >From one of the topics in this list http://groups-beta.google.com/ group/linux.kernel/browse_frm/ thread/c2... Here it mentions that for the threads with policy SCHED_OTHER have soft priority over the 'nice' range of -20 to +19 (static priority of 100-139) But when I see the process details with "top -b- n 1" command the priorities of the tasks shown are all in 10 to 30 value range and the nice valuesare -20 to 19 Can anybody please explain me the relationship between the nice value and the priority needed for thread scheduling in real time. Thanx Vinay .