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? Thanks, Marc
Hi :) El Jueves, 3 de Agosto de 2006 18:02, Marc Lanctot escribió:
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 -- "Even paranoids have enemies." Rafa Grimán Systems Engineer Silicon Graphics Spain Santa Engracia, 120 - Planta Baja 28003 Madrid Spain Tel: +34 91 3984200 Tel: +34 91 3984201 Móvil: +34 628 117 940 http://www.sgi.com OpenWengo: rgriman Skype: rgriman
Marc Lanctot wrote:
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?
Do your users work in batch jobs? If so a batch scheduler such as Platform LSF or PBSPro will be able to accomplish much of what you want. -- ----------------------------------------------------------------------- Jeff Hanson - jhanson@sgi.com - Field Technical Analyst You can choose a ready guide in some celestial voice. If you choose not to decide, you still have made a choice. You can choose from phantom fears and kindness that can kill; I will choose a path that's clear I will choose freewill. - Lee/Lifeson/Peart
participants (3)
-
Jeff Hanson
-
Marc Lanctot
-
Rafa Grimán