OpenVZ Forum


Home » General » Support » How to fine tune the server performace
How to fine tune the server performace [message #27564] Tue, 19 February 2008 19:01 Go to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
We want to fine tune a server performance. There are 4 vps running in the server node but load is like 20%
We have given each VPS 10% of node's cpu power, 512mb of guarantee and 1gb of brust.
Shall we increase the 10% CPU power to 100% for all the vps's for better performance? But if we allocate all 4 vps's to 100% there might be chances when one vps will hog all the server resources.
Can anyone suggest us how to fine tune the server node or each vps.conf file.
Is there any thumb rule for fine tuning the node?

Thanks
Re: How to fine tune the server performace [message #27587 is a reply to message #27564] Wed, 20 February 2008 07:48 Go to previous messageGo to next message
xemul is currently offline  xemul
Messages: 248
Registered: November 2005
Senior Member
As far as the CPU is concerned you may set cpulimits to 100% safely - our scheduler works that way not to allow one VE consume all the CPU time in case there are other VEs needing it. Dig mans/wiki for the cpuunits parameter.

http://static.openvz.org/userbars/openvz-developer.png
Re: How to fine tune the server performace [message #27593 is a reply to message #27564] Wed, 20 February 2008 09:11 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
By default when vps is made all vps get
1000 cpu units. Shall we increase it to max limit of the CPU or leave it 1000 units?

Thanks
Re: How to fine tune the server performace [message #27595 is a reply to message #27564] Wed, 20 February 2008 10:52 Go to previous message
xemul is currently offline  xemul
Messages: 248
Registered: November 2005
Senior Member
These numbers are useless by their own Wink

What is really important is their relative values. For example, if you have two VEs with 100 units each, this is absolutely the same as if you have them both with 1000 or even 10000 units. Since the units are equal, the scheduler will give each of them 50% of CPU power. But if you change the numbers so that one becomes X times larger then the others, then the scheduler will give that particular VE X times more CPU time that to the others one. E.g. 900 units vs 100 units will result in 90% of CPU time vs 10% of CPU time (an 9000 vs 1000 will produce the same effect).

Hope this explanation is clean Smile


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: no checkpointing when running vzdump
Next Topic: VPS checkpointing problem
Goto Forum:
  


Current Time: Sun Nov 27 17:44:07 GMT 2022

Total time taken to generate the page: 0.00959 seconds