Windows 10: Quad Core Host -- should I assign 2 cores to a VM

Discus and support Quad Core Host -- should I assign 2 cores to a VM in Windows 10 Virtualization to solve the problem; Hi there I can't quite work out whether I should assign 2 cores out of a 4 core processor (AMD OPTERON X3421 APU} to a VM running a fairly intensive... Discussion in 'Windows 10 Virtualization' started by jimbo45, Dec 12, 2017.

  1. jimbo45 Win User

    Quad Core Host -- should I assign 2 cores to a VM


    Hi there

    I can't quite work out whether I should assign 2 cores out of a 4 core processor (AMD OPTERON X3421 APU} to a VM running a fairly intensive DB system (MiniSAP or SAP ABAP 7.50 minisap) which has to run on a Linux machine - so I've got it on a Centos VM.

    This application is accessed via a front end GUI on a Windows Host which doesn't do much apart from some email, and EXCEL so the VM actually needs in theory to have the resources.

    I 'm using Physical HDD's for the SAP DB in the VM. I can't run the VM basically as HOST on this machine as I can't get hold of any AHCI / SATA Linux drivers (yet) for this machine and the standard drivers use a HIDEOUS "Fake RAID" system with lousy performance so I've skipped that.

    The windows host simply boots the boot loader from an INTERNAL USB 2 device (/boot on the USB card) which then loads the rest of the OS on to an SSD which works fine.

    I assume that when the VM is idle the cpu cores are available to the Host but I don't know. As far as RAM is concerned -- I have plenty in the machine but new VM software only reserves RAM in use and releases it when not required so the RAM setting is for MAX that the VM can reserve.

    so VM has for physical devices 1 SSD for the OS and 1 2.7 TB for databases etc.


    appreciate any input from gurus here --I can muck about with VM's but things like cpu cores etc is where my knowledge is light.

    Here's the CPU data the VM sees


    Quad Core Host -- should I assign 2 cores to a  VM [​IMG]



    Cheers
    jimbo

    :)
     
    jimbo45, Dec 12, 2017
    #1

  2. Family Safety Monitor consumes 50% CPU for disconnected user

    My i7 has 8 logical processors (4 cores with 2 threads each) and Family Safety used 50% of the CPU. The fans turn like crazy. So, I should upgrade my processor further?
     
    Programatix, Dec 12, 2017
    #2
  3. Family Safety Monitor consumes 50% CPU for disconnected user

    If you have a Dual Core CPU or lower, the process takes up both cores, making the computer nearly unusable. I recommend if you have a Dual Core or lower, you invest on a Quad Core or higher. I'll give some examples. AMD: Heck no, I hate their architecture.
    Intel: i5, Core 2 Quad, No Pentiums, sadly, some Xeons, i7s, no i3s, atoms, Itanium, I think that's it. Just check on Intel's website.
     
    ChaseHeisler, Dec 12, 2017
    #3
  4. EdTittel Win User

    Quad Core Host -- should I assign 2 cores to a VM

    @Kari has exercised Hyper-V as much as anybody else I know here. Maybe he'd like to weigh in. My somewhat more slipshod take on this is that your workload more or less demands as much I/O capability as you can give that VM. More cycles couldn't hurt, either. If you don't get an answer here (or one you like) you can always try the experimental method.
    HTH,
    --Ed--
     
    EdTittel, Dec 12, 2017
    #4
  5. Kari Win User
    Assign 2 cores, then on CentOS guest use command top in terminal to check how well / badly those cores are doing when your application is idle / not running and then the same when application is up and running. Repeat with just a single core assigned and see the difference.
     
  6. jimbo45 Win User
    Hi there

    Thanks to you both
    @Kari
    I've found on testing the VM seems to work best with the following settings

    CPU - nr of processors : 1
    nr of Cores : 2

    for HDD for my main Database : Raw HDD --- not SCSI but as SATA and formatted in the VM with native file system -- chose XFS rather than EXT4 and HDD size 2.7 TB (3 TB RED WD NAS Disk), RAM alloc 4GB.

    Although the VM advised using SCSI the I/O worked far better when I set it up as a physical HDD using SATA - probably because I could use the physical SATA driver from the Host rather than a Virtualized SCSI driver. The SAP system has a DB server and an Application server so the whole software is quite intensive and is accessed from the HOST (or other remote clients) by a standard GUI.

    When upping processor or core count to more than 2 I found the VM would hang sometimes -- and a few minutes later so would the Host (W10 X 64 Pro).

    1 Processor with 2 Cores performed the best. Was quite an improvement from using 1 processor and 1 core in the VM config. This might be for the particular CPU I've got -- AMP Opteron X3421. Other ones such as Intel I5/7 might yield totally different results.

    I'm not sure whether that was a problem with how the SAP software handled the multi processing - I suspect it was the underlying VM system.

    Unfortunately the only other server machines I can test this on have a Celeron which doesn't have enough poke to drive this software at any decent sort of response. I can't test this stuff on your average laptop - of course I can log on from a laptop (front end GUI) but the DB server and application server is on the VM.


    I'm happy with the system now as it works fine -- although the SAP DB system causes a huge amount of I/O at VM Power on time -- it settles down after around 2 - 3 mins and as I'm the only user that's OK for me. After this period response time is fine and the Host system barely seems to notice there's this VM running.

    It's very difficult to find decent documentation on optimising processor usage for VM's -- there's plenty on I/O and RAM but virtually nothing on processor usage - probably because most people tend to do "Office" type stuff on VM's or fairly easy things like file / print serving and multi-media streaming - none of which require a lot of CPU processing. Multi-media for example is just sending data like any other file sharing - all the decoding is done on the RECEIVING devices whether phone / TV / Amazon TV / Apple TV / Roku TV / PC etc etc.

    Cheers
    jimbo
     
    jimbo45, Dec 13, 2017
    #6
  7. Kari Win User
    The thing with VM and how many cores it's using is that however strange it sounds, adding more cores can actually do just that, slow down the system. The VM can only use cores assigned to it when they are all free to be used, this forces VM occasionally just to wait that host frees the cores.
     
  8. Quad Core Host -- should I assign 2 cores to a VM

    This is something i wasn't aware of, very interesting to know.

    Thank you Kari *Thumbs
     
    JDobbsy1987, Dec 13, 2017
    #8
  9. jimbo45 Win User
    Hi folks

    Thanks kari

    Cheers
    jimbo
     
    jimbo45, Dec 13, 2017
    #9
  10. EdTittel Win User
    Great info from all. I'm going to talk to Kari about writing an article, or series of articles, on optimizing VMs for specific or various workloads in Hyper-V. You've helped to shed light on some interesting possibilities! Thanks,
    --Ed--
     
    EdTittel, Dec 13, 2017
    #10
  11. jimbo45 Win User
    Hi folks

    and to @Kari

    If you like the sort of refreshment suggested in the text of your avatar

    "Liquid Lobotomy " in Belgium -- i.e great Beer always worth while

    " Vökvi Lobotomy" in Icelandic or I think in Finnish as follows

    "Neste Lobotomia"

    Beer though is Universal !!!!.

    Cheers
    jimbo
     
    jimbo45, Apr 5, 2018
    #11
Thema:

Quad Core Host -- should I assign 2 cores to a VM

Loading...
  1. Quad Core Host -- should I assign 2 cores to a VM - Similar Threads - Quad Core Host

  2. Will INTEL dg31pr motherboard with core 2 quad Q6600 support windows 10 or not ??

    in Windows 10 Gaming
    Will INTEL dg31pr motherboard with core 2 quad Q6600 support windows 10 or not ??: Will INTEL dg31pr motherboard with core 2 quad Q6600 support windows 10 or not ?? Using windows 7 ultimate 64 bit..... https://answers.microsoft.com/en-us/windows/forum/all/will-intel-dg31pr-motherboard-with-core-2-quad/d136fb4c-12d9-4cb8-9387-b544d532c556
  3. Will INTEL dg31pr motherboard with core 2 quad Q6600 support windows 10 or not ??

    in Windows 10 Software and Apps
    Will INTEL dg31pr motherboard with core 2 quad Q6600 support windows 10 or not ??: Will INTEL dg31pr motherboard with core 2 quad Q6600 support windows 10 or not ?? Using windows 7 ultimate 64 bit..... https://answers.microsoft.com/en-us/windows/forum/all/will-intel-dg31pr-motherboard-with-core-2-quad/d136fb4c-12d9-4cb8-9387-b544d532c556
  4. AMD Ryzen 5 1400 Quad-Core Processor 3.2GHZ?

    in Windows 10 Software and Apps
    AMD Ryzen 5 1400 Quad-Core Processor 3.2GHZ?: Will my processor ever be compatible? please integrity a update asap for older processor’s PLEASE!!!! https://answers.microsoft.com/en-us/windows/forum/all/amd-ryzen-5-1400-quad-core-processor-32ghz/9ad95f1a-e4d8-45e2-b732-036e156e83ca
  5. Flight Simulator 2020 - Quad Core

    in Microsoft Windows 10 Store
    Flight Simulator 2020 - Quad Core: Hi Microsoft,I am looking to buy the new FS2020.Does the game need a fast single core PC? Or will it work on a Quad Core processor?If so is there a recommended spec for a Quadcore processor?...
  6. Duel core celeron vs quad core pentium?

    in Windows 10 Gaming
    Duel core celeron vs quad core pentium?: So, after i fixed my moms pc, she said i might be able to have it, this pc has a pentium quadcore from 2015 or so, my current laptop has a intel celeron 1017u, i am wondering, though i think they have the same basic speed and ram, would the pentium perform better than celeron...
  7. How to update a quad core processor drivers?

    in Windows 10 Drivers and Hardware
    How to update a quad core processor drivers?: Hello, so I got an I5-2400 with quad-core I'm not quite the pc man and how do I update the drivers if there are 4? [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/how-to-update-a-quad-core-processor-drivers/dbcf8df8-7303-439c-9f96-22dbb959c45b
  8. How many virtual cores are needed to be assigned to a VM?

    in Windows 10 Virtualization
    How many virtual cores are needed to be assigned to a VM?: I have Windows 10 running in a VM and if I attempt to assign more than 1 virtual core to the VM I get a "multiprocessor configuration not supported" error when Windows starts up. Here's this history: The host was an AMD Phenom II X3 720 APU running on an ASUS M5A78L-M...
  9. VM's (any) should you set processors / cores to same as host

    in Windows 10 Virtualization
    VM's (any) should you set processors / cores to same as host: Hi folks Whatever software you use for your VM's - is there any advantage in setting the virtual vCPU to having less cores / threads / processors than the Host. AFAIK if a VM is idle it isn't consuming any host resources so the best way to run it as far as I can see is to...
  10. Want to Upgrade a Pentium D 920 (Presler) to a Core Duo 2 Quad ?

    in Windows 10 Drivers and Hardware
    Want to Upgrade a Pentium D 920 (Presler) to a Core Duo 2 Quad ?: You can see the specs under my avatar, but I have been checking around on websites and find confusing info. Some say yes, you can upgrade, others say the BIOS will not support it. I am using Windows 10 Forum because I have (Obviously) updated this PC from a Windows XP Pro...