Gentoo Archives: gentoo-user

From: Etaoin Shrdlu <shrdlu@×××××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Per-process CPU % usage limit
Date: Sat, 08 Jul 2006 14:23:58
Message-Id: 200607081740.01670.shrdlu@unlimitedmail.org
1 As the subject says, is there any way to force a particular process to
2 use at most a given CPU percentage?
3
4 Ulimit does not help, since I don't want a CPU time limit and I don't
5 want the process to be killed.
6
7 The problem is that some very CPU-consuming apps, even if started with
8 the lowest priority (eg, nice -n 19), still eat up 100% CPU (with
9 subsequent overheating, fan start, throttling, etc.) if the system is
10 not busy and has nothing else to do. What I'd like to know is whether it
11 is possible to impose such a CPU percentage usage limit.
12
13 Thanks for any help.
14 --
15 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Per-process CPU % usage limit Richard Fish <bigfish@××××××××××.org>
Re: [gentoo-user] Per-process CPU % usage limit Evan Klitzke <eklitzke@×××××.com>