OpenVZ not suitable for real-time applications? [message #21986] |
Thu, 18 October 2007 11:41  |
kcosic
Messages: 1 Registered: October 2007
|
Junior Member |
|
|
I wrote a gameserver that doesn't use a lot of cpu time (3% on P3-800), and when I move it from dedicated server to OpenVZ server, it 'lags' every few minutes.
The diagnostics that I built into the gameserver show that 'lag' is caused by gameserver not getting enough CPU time for 3 to 20 seconds.
The OpenVZ server I'm talking about is 4 x Xeon 3.0, there are 20 other VE's on it, and I have 30000 cpuunits, 200% cpulimit, while others have 1000 cpuunits, 50% cpulimit.
The gameserver needs to get it's fair share of CPU every second, otherwise the players may feel the lag.
It it true that OpenVZ can't do this? Any possible fixes?
|
|
|