Lag problem on 2+ guest is started

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Andrew_wojownik
Posts: 5
Joined: 29. Aug 2008, 11:53

Lag problem on 2+ guest is started

Post 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 ;)
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Andrew_wojownik
Posts: 5
Joined: 29. Aug 2008, 11:53

Post 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.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Andrew_wojownik
Posts: 5
Joined: 29. Aug 2008, 11:53

Post 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.
Andrew_wojownik
Posts: 5
Joined: 29. Aug 2008, 11:53

Post by Andrew_wojownik »

I have test CS 1.6 steam server on guest Windows XP, it work ok ;)
Post Reply