On Mon, 13 Oct 2003, Michael Hipp wrote: > Is there any way to tell the system to give a certain process no more > than x% of the CPU? > > 'nice' seems to only change the scheduling priority, but a single > process can still use 100% indefinitely if there is no competition. I > have an app I want to throttle even if the system is otherwise idle. >
Under the 2.2.x kernels there was the kernel fair-scheduling patch which did this. I don't know that there is anything like that under 2.4.x. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lonni J Friedman [EMAIL PROTECTED] Linux Step-by-step & TyGeMo http://netllama.ipfox.com _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
