[Ilugc] [Tip] Limit the CPU usage of a certain application in Linux

  • From: raamanp@xxxxxxxxxxx (Raman.P)
  • Date: Tue Jun 22 10:08:49 2010


--- On Tue, 22/6/10, anu nivas <anupama.2312.bmsit@xxxxxxxxx> wrote:

Does limiting CPU usage mean the time taken by the
application to use the
CPU?Would'nt limiting usage slow down the application?

Yes the applications will slowdown. For mostly IO application the difference 
will be negligible. 

Limiting cpu usage will be useful in multi-user environment, where few of the 
cpu hogs like firefox can be controlled so that other applications perform well.

For temporary/fix-by-hand  we can use nice level of the process to limit.
man nice, man renice will provide more information.

Raman.P
blog:http://ramanchennai.wordpress.com/




Other related posts: