Results 1 to 3 of 3

Thread: Slow on two+ cores, fast on one

  1. #1
    Join Date
    Sep 2006
    Location
    Spartanburg , SC
    Beans
    20
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Slow on two+ cores, fast on one

    Hello folks,
    I have a simple question , not really a problem. I am running Ubuntu on an AMD quad-core ( 64bit OS and hardware ) with a windows vista guest. I got this computer because virtualized vista was slow on 2 cores. I set the vm to run using 2 and noticed the system was unusable, then I switched it to 3 cores. No luck. I saw in another post, they switched the vm to use one core so I did the same. Voila ! The vm ran MUCH faster than before.

    My question is, why would the vm run faster on one core than 2+ cores. I'm not ragging on anybody, as a programmer myself, I know it must be hard to design software to work on such a "soup" of hardware.

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Slow on two+ cores, fast on one

    Quote Originally Posted by superheavy View Post
    Hello folks,
    I have a simple question , not really a problem. I am running Ubuntu on an AMD quad-core ( 64bit OS and hardware ) with a windows vista guest. I got this computer because virtualized vista was slow on 2 cores. I set the vm to run using 2 and noticed the system was unusable, then I switched it to 3 cores. No luck. I saw in another post, they switched the vm to use one core so I did the same. Voila ! The vm ran MUCH faster than before.

    My question is, why would the vm run faster on one core than 2+ cores. I'm not ragging on anybody, as a programmer myself, I know it must be hard to design software to work on such a "soup" of hardware.
    (Way simplified explanation based on what I have read previously on this issue):

    Because on most VM management systems the guest VM waits until all CPUs are available and the host takes priority over any VM.

    Using a single CPU allows the VM manager to pick a single available CPU without the logical "AND" of all of them being available to match the quantity allocated to the VM.

    If you had a host/hypervisor that did nothing but run VMs then this shouldn't be much of an issue, but if your host uses resources for itself then the VMs just take second (or third....) priority.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Jan 2006
    Beans
    164

    Re: Slow on two+ cores, fast on one

    So you're saying its better to run VM's on a single core if the host is being used. If the host is just running VM's only then multi-core is an option.

    Is that it?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •