On Thu, 2006-06-22 at 16:07 +0900, Denis Solovyov wrote: > I asked the initial question, and I meant total machine load, not only > CPU load. Several tasks such as huge backups can freeze the system > because of both CPU and disk load even running with lowest priority. I > thought it was better to freeze a single task than let that task freeze > the system.
I think that script could be useful, but on a heavily loaded system (as indicated by the load average), checking every second (the default) seems excessive -- a heavily loaded system won't have a significant change in the numbers that script is looking at with that kind of frequency. Personally, I'd end up using '-t 30' or '-t 60' or something. This also gives the tasks that are causing the high load more time on the CPU rather than having to compete with niceload (without testing, I'm not sure of how significant of a different this would be, but it most likely depends on the nature of the tasks). Sorry we got off on a tangent on your thread. -- Andy Bakun <[EMAIL PROTECTED]> _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
