Re: Capping CPU usage?

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Capping CPU usage?
Дата
Msg-id 1039631086.17316.194.camel@jester
обсуждение исходный текст
Ответ на Capping CPU usage?  ("Josh Berkus" <josh@agliodbs.com>)
Ответы Re: Capping CPU usage?
Re: Capping CPU usage?
Список pgsql-performance
On Wed, 2002-12-11 at 13:12, Josh Berkus wrote:
> Folks:
>
> I had a new question from a client: is it possible to "cap" CPU usage
>  for PostgreSQL running on Linux? They don't care if the procedure
>  degrades Postgres performance, but they can't afford to have Postgres
>  take up more than 30% of processor for more than 400 milliseconds
> (they
>  are running some real-time operations).
>
> 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?

Don't know about Linux, but BSD cannot do that.  CPU limits are hard --
once you hit it it'll dump the process.

Anyway, would it be sufficient to simply reduce the priority of the
process?

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Вложения

В списке pgsql-performance по дате отправления:

Предыдущее
От: Cory 'G' Watson
Дата:
Сообщение: Re: Capping CPU usage?
Следующее
От: eric soroos
Дата:
Сообщение: Re: Capping CPU usage?