Page 1 of 1

Lag problem on 2+ guest is started

Posted: 29. Aug 2008, 21:32
by Andrew_wojownik
I have a start 4-5 VM on AMD X2 3600+ (AMD c'n'q is off). On one I start a Counter Strike Server 1.6 steam, but him work good only when one run. When I run a next vm, he is laging, ex. play normaly on some second, and 1-2sec lag. It problem is only when start a 2+ guest, when I start only vm with CS server its work perfect.

On host run Debian 4 etch with GNOME, on guest Debian 4/CentOS on command line only.

Sorry for my bad english ;)

Posted: 29. Aug 2008, 22:38
by Sasquatch
What are the Guest settings? What network infrastructure do you use? Please read the Forum Posting Guide for help on how to create a proper post.

Posted: 29. Aug 2008, 22:56
by Andrew_wojownik
Sorry i not look that ;)

I'm using a bridge interfaces on all (on eth1 and tap1-tap5).
My VB ver is 1.6.4, i have use a AMD-V.
On all guest i use fixed size hard disk.

Sorry i not good speak on english.

Posted: 29. Aug 2008, 23:07
by Sasquatch
Look at your CPU usage. It looks like you're overloading your Host. If you run one Guest, a full core can be used by the VM. If you run more guests, these have to wait their turn before they can use the CPU. The Hosts also needs the CPU, so if you run two guests, one of the Guests need to wait because the Hosts needs it too. This is your issue. Almost certain of it.
If there is someone else with a better explaination and solution, please correct me.

For now, run only one VM, or run the server on your Host. Your Host has a higher priority for the CPU than a Guest VM.

Posted: 30. Aug 2008, 00:30
by Andrew_wojownik
CPU is not overloaded (now in start 2 VM's: CS server and ejabberd server) he is now ~5% utilization.

I test change prio to -1,-5,-10,-20 but is no effect, run CS server on host is now best solution.

Thx for help.

Posted: 31. Aug 2008, 13:21
by Andrew_wojownik
I have test CS 1.6 steam server on guest Windows XP, it work ok ;)