Re: Capping CPU usage? - Mailing list pgsql-performance

From Cory 'G' Watson
Subject Re: Capping CPU usage?
Date
Msg-id 3DFF224C-0D36-11D7-8019-0003939CCA58@cafes.net
Whole thread Raw
In response to Capping CPU usage?  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-performance
On Wednesday, December 11, 2002, at 12:12 PM, Josh Berkus wrote:
> I can't imagine that postmaster could do this, but I thought it there
>  might be some kind of Linux Kernel CPU quota option I haven't heard
> of.
>   Can anybody point me in the right direction?
>

You can always use nice(1) to lower it's priority.  This would allow
other processes to get the CPU more often, effectively limiting it in
the face of more demanding processes.

ulimit has a CPU time option, but it's probably not what you want.  I
don't believe there is a kernel option for such a thing.  I don't
recall seeing this type of accounting anywhere, but there are likely
some patches.

Cory 'G' Watson


pgsql-performance by date:

Previous
From: "Josh Berkus"
Date:
Subject: Capping CPU usage?
Next
From: Rod Taylor
Date:
Subject: Re: Capping CPU usage?