Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Performance tuning

257 bytes removed, 16:13, 3 August 2007
no edit summary
== CPU distribution inside VE on SMP hosts ==
* If the total number of VE's in your host is more than CPUs number, and there are many tasks '''threads''' running inside each VE, and they are scheduled quite often, it's is better to give just one CPU for a single VCPU to each VE. In this case the VirtualCPU-scheduler thread memory locality will significantly reduce overhead can be significantly decreased, on SMP memory coherence and overall performance can be increased up to ~<font color=red>50-100%</font>!
To set the number of CPUs available inside VE use:
# vzctl set $VEID --cpus N
 
= Recompiling the kernel =
 
== Disable all unnecessary options ==
 
* You can disable all <code>_DEBUG_</code> options in the kernel, this can increase performance up to ~<font color=red>20%</font> on some applications.
 
* other options ('''TODO''')