Re: Restricting CPU and memory usage
Rafa Grimán <[email protected]> Fri, 4 Aug 2006 12:01:26 +0200
| Newsgroups | gmane.linux.suse.ia64,gmane.linux.suse.general |
|---|---|
| Organization | SGI |
| Message-ID | <[email protected]> |
Hi :) El Jueves, 3 de Agosto de 2006 18:02, Marc Lanctot escribi=C3=B3: > Hello, > > I'm a system admin for the department of Atmospheric and Oceanic > Sciences ant McGill University. I have recently become in charge of an > SGI Altix Itanium machine running SUSE Enterprise Linux 9.0. > > I'm looking for a way to control/restrict memory and CPU usage on this > server. I know about nice and ulimit, but I need something more flexible > that can: > > - restrict the CPU usage time for a process (or user) > > - limit the percentage/amount of the CPU allocated to a given user, and > not just for a single process > > - limit the percentage/amount of RAM allocated to a given use, and not > just for a single process > > I suspect to do so would require turning on some flags in the kernel and > maybe using a tool to set these limits for each user, but I don't know > if this exists. > > Could someone recommend a tool or procedure to implement this? You can use cpusets, numatools, ... Some of them are available via SLES and others via SGI's ProPack CDs. HTH Rafa =2D-=20 "Even paranoids have enemies." Rafa Grim=C3=A1n Systems Engineer Silicon Graphics Spain Santa Engracia, 120 - Planta Baja 28003 Madrid Spain Tel: +34 91 3984200 Tel: +34 91 3984201 M=C3=B3vil: +34 628 117 940 http://www.sgi.com OpenWengo: rgriman Skype: rgriman