OpenVZ Forum


Home » General » Support » Need help with CPU shortage
Re: Need help with CPU shortage [message #36428 is a reply to message #36427] Thu, 18 June 2009 08:59 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Quote:


So CPUS override the CPULIMIT variable ?


Not sure what you have in mind. I'd rather give an example. Let's assume that HN has 2 CPUs.
The first configuration:
- CPULIMIT=100, CPUS is not set.
In this case a CPU-intensive task may assume no more than 100% of a single CPU but CPU itself is not specified so the task might be migrated from one CPU to another quite frequent. Migration from one to another CPU is a very expensive operation when talking about performance.

- CPUS=1, CPULIMIT is not set.
In this case a CPU-intensive task may assume no more than 100% of a single CPU which is specified quite well with CPUS variable so the task is not migrated between different CPUS and this behavior eliminates a lot of performance losses.

Quote:


i have installed vzsplit (but I do not know the version), you think i can trust in it ?



I think yes. It constructs a basic configuration which you can tune afterward.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: Getting OpenVZ container to run at 1000MB (Network speed) instead of 100MB
Next Topic: Best bandwidth monitoring method?
Goto Forum:
  


Current Time: Mon Oct 21 04:22:18 GMT 2024

Total time taken to generate the page: 0.06002 seconds