Re: Capping CPU usage?

Поиск
Список
Период
Сортировка
От Cory 'G' Watson
Тема Re: Capping CPU usage?
Дата
Msg-id 3DFF224C-0D36-11D7-8019-0003939CCA58@cafes.net
обсуждение исходный текст
Ответ на Capping CPU usage?  ("Josh Berkus" <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Capping CPU usage?
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: Capping CPU usage?