Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cpu scheduling in Linux is not nice ?

Status
Not open for further replies.

mingx98

Technical User
Mar 16, 2000
78
0
0
CA
anyone think so ?
1 , I can't get wio percentage with TOP,
2 when do a heavy IO task, cpu is difficult to
release

any one has same experience or view point aboot this ?

Thanks
 
Umm.
How about some details on this? What are you running, what is your hardware like, etc..I don't notice any resource
hogging or abnormally long resource waits on any
of the servers or workstations at my POB. Maybe your experience is not typical. Or maybe it is flamebait.

There are good books explaining the system i/o structs
and calls internal to the kernel: "Linux Kernel Internals"
from addison-wesley by a group of euro programmers is ext-
remely decent for the 2.0+kernels.

 
Hi,

Have you looked at the 'nice' command ? This allows you to alter the priority of tasks so that they can be given more or less priority. The default priority is zero and you can change it to plus +20 to -19 (if I remember correctly!). For example : 'nice -n -15 /usr/sbin/sendmail -q &'

See 'info nice' for full information as the man page doesn't say much.

Rgds
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top