2002-11-11 19:16:36

by David Mosberger

[permalink] [raw]
Subject:

>>>>> On Mon, 11 Nov 2002 10:29:29 -0600, Mario Smarduch <[email protected]> said:

Mario> I know that on some commercial Unix systems there are ways to
Mario> cap the CPU utilization by user/group ids are there such
Mario> features/patches available on Linux?

There are probably other patches floating around, but Process Resource
Management (PRM) for Linux is/was one approach to do just that:

http://resourcemanagement.unixsolutions.hp.com/WaRM/prm_linux/

The kernel patches available from this URL are pretty old (up to
2.4.6, as far as I could see), and I'm not sure what the future plans
for PRM on Linux are. Perhaps someone else can provide more details.

--david


2002-11-12 01:32:48

by Rik van Riel

[permalink] [raw]
Subject: Re: your mail

On Mon, 11 Nov 2002, David Mosberger wrote:
> >>>>> On Mon, 11 Nov 2002 10:29:29 -0600, Mario Smarduch <[email protected]> said:
>
> Mario> I know that on some commercial Unix systems there are ways to
> Mario> cap the CPU utilization by user/group ids are there such
> Mario> features/patches available on Linux?

> The kernel patches available from this URL are pretty old (up to
> 2.4.6, as far as I could see), and I'm not sure what the future plans
> for PRM on Linux are. Perhaps someone else can provide more details.

I'm (slowly) working on a per-user fair scheduler on top of Ingo's
O(1) scheduler. Slowly because it's a fairly complex thing.

Once that is done it should be possible to change the accounting
to other resource containers and generally have fun assigning
priorities, though that is beyond the scope of what I'm trying to
achieve.

cheers,

Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://distro.conectiva.com/
Current spamtrap: <a href=mailto:"[email protected]">[email protected]</a>