From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: libor.hemola@fincomnet.com Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Max CPU usage for a process/user ?? Date: Wed, 12 Jun 2002 14:18:12 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1023885442 4900 127.0.0.1 (12 Jun 2002 12:37:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Jun 2002 12:37:22 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17I7NJ-0001Gt-00 for ; Wed, 12 Jun 2002 14:37:21 +0200 Original-Received: (qmail 9477 invoked by uid 5); 12 Jun 2002 12:18:25 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 9469 invoked from network); 12 Jun 2002 12:18:25 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 12 Jun 2002 12:18:25 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GXL00HCPE6NEG@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Jun 2002 08:18:24 -0400 (EDT) Original-Received: from one.fincom.cz ([194.228.226.34]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GXL00IBPE6CCF@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Jun 2002 08:18:14 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3 Thread-Topic: Max CPU usage for a process/user ?? Thread-Index: AcISCUP3GpXCTLgMQWqLIR9uaSH0FgAAJ3vw content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:539 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:539 Here are your responses: 1. class_scheduling (4) Derk 2. If you renice the job to a prority of 19 it won't get any cpu time unless the cpu is free. It is also possible to autonice them to a specified priority after a specified time. You can do this using dxkerneltuner on the proc system and setting: autonice 1 autonice-time 600 (for 600 seconds or whatever you want) autonice-penalty 19 Regards, Peter Stern 3. If you are running V5.1A or later (and later isn't available yet), then the ARMTech active resource management software might help. To get it to really do what you want, you'd need the enhanced "plus" level of functionality, I suspect, which is separately licensed from the base OS by Aurema (www.aurema.com). Or you can define processor sets (especially useful if you have a multiprocessor system) and put the "restricted" processes into a pset that has only one or even no CPUs to service it, and leave the rest of the CPUs to run the rest of the workload. By the way, if "nice" isn't doing what you think you need, then it isn't just about CPU cycles, there are other factors involved in not prioritizing the "front end" work, but you haven't really said anything useful about why you think there is a problem or why you are not getting the results you expected, so it's really hard for anyone to give you any really useful hints. Tom ********************** I really like this "brainstorming" and wonder, how efficiently admins = did their work in times of no conferences like this one. Thanks to everybody Libor