From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079058315638.tru64-unix-managers.marc@archive.invalid> From: Jon Eidson Date: Wed, 30 Jun 1999 23:51:53 +0000 To: tru64-unix-managers Subject: SUMMARY: Priority Scheduling Utility X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079058315638 First off, BIG THANKS to all who responed. I have definately looked at the new class_scheduling that comes w/version 4.0d. While it does not do exactly what I'm wanting, it is a definate start. The "autonice" feature look closer to what I'm wanting. I'll investigate it as well. I've also need to take the time to look at NQS. While my users tend to submit jobs by using "&" I'm not as sure about NQS ... but will investigate it also. All messages follow. Thanks again! Jon Eidson (J.Eidson@tcu.edu) --------------------------------------------------------------------------- My origional message: > Does there exist some sort of prioritizing utility that could monitor > users using large amounts of CPU and progressively "nice" their priorities > down? I've got some users that tend to burn a lot of CPU and when > they all dont nice to the same values they start complaining. I'd like > to let them have some non-niced priority but starting nicing their > jobs after awhile. > > Thanks again and I'll summarize. > Jon. --------------------------------------------------------------------------- From: Paul Henderson You might want to use class scheduling for this. See Tom Webster's summary posted today. Regards, Paul -- Paul Henderson Tru64 Unix Engineering, Compaq Computer Corporation mail: henderson@unx.dec.com || 200 Rt 9, Manalapan, NJ 07726 --------------------------------------------------------------------------- >From billm@zk3.dec.com Wed Jun 30 18:39:10 1999 Hi Jon, look at the class scheduling introduced in 4.0d ! (man class_admin) hth, /marco -- Marco Bill Peter UNIX Support Engineering Group Compaq Computer Corporation Nashua New England USA --------------------------------------------------------------------------- From: harish arora Hi jon, If you look into the man pages of class_scheduling,it will provide you great help but it's available from 4.0D version onwards. Thanks Harish Arora Unix system administrator --------------------------------------------------------------------------- From: Daniel S. Riley At the very crudest level, there are some process subsystem attributes you can set: autonice (autonice) When enabled (1), applications that use more than 600 seconds of CPU time will automatically increase their nice values (that is, lower their scheduling priorities). Default value: 0 (disabled) autonice-penalty The nice value that is assigned to a process after it has used an amount of CPU time that exceeds the value of the autonice-time attribute. Default value: 4 autonice-time The amount of CPU time, in seconds, that a process can use before it is assigned the nice value that is specified by the autonice-penalty attribute. Default value: 600 A typical entry in /etc/sysconfigtab would look something like this: proc: autonice = 1 autonice-penalty = 10 autonice-time = 300 Probably requires a reboot to take effect. --------------------------------------------------------------------------- From: Richard Bemrose Hi, It would seem that you require a Network Queueing System (NQS). We solved similar problems but rolling out Generic-NQS (www.gnqs.org) and set all queues to run at nice level 5. To enforce the user to submit his job via NQS we set the shells maximum CPU time to 3 hours within the default (bash, csh or tcsh) shells and profiles. For more information regarding various NQS implementations look in the tru64-unix-managers archive for Jim R Jones' summary with the subject "Summary: looking for a batch queing software" (posted a few days ago). Regards, Rich