Thread: Capping CPU usage?

Capping CPU usage?

From
brew@theMode.com
Date:
Josh.....

> I had a new question from a client: is it possible to "cap" CPU usage
> for PostgreSQL running on Linux?

I remember reading a few months ago about a virtual freebsd OS that
divides the memory and cpu up between different users.  Although this is
not Linux proper (or improper) it is one way of doing it.  I searched for
a few minutes and was unable to find the url, it was something like
virtualFreeBSD.org.

I've been running on a virtual FreeBSD server for years from iserver, now
verio.  Each user has their own apache conf, sendmail, etc. and they claim
to divide up memory and cpu usage.  I am not sure if virtualFreeBSD is the
same or different product and whether it would be useful for you, but it's
something to consider.

brew



Re: Capping CPU usage?

From
"Josh Berkus"
Date:
Brew,

> I've been running on a virtual FreeBSD server for years from iserver,
> now
> verio.  Each user has their own apache conf, sendmail, etc. and they
> claim
> to divide up memory and cpu usage.  I am not sure if virtualFreeBSD
> is the
> same or different product and whether it would be useful for you, but
> it's
> something to consider.

Interesting idea.  Sadly for this client, they are trying to cap CPU
usage because they are short on system resources, so virtualization is
not an option.

However, it would be a possiblilty to keep in mind for other projects.

-Josh