5 Replies Latest reply on Oct 1, 2013 1:35 PM by user12273962

    HVM v PVM with 16 and 32 vCPUs w PHY Disks?

    Roddy Rodstein



      We will be supporting 16 and 32 vCPU OL virtual machines. We are considering HVM, due to the known PVM limitations with CPU scalability


      Could you please share your experience and comments about the performance differences between 16 and 32 vCPUs HVM and PVM Oracle DB VMs (OL 5 and 6) exclusively using physical disks for the DB files. i.e. only the OS is on a virtual disk.


      FYI: Our PVM and HVM Orion physical disks benchmarking results where almost identical for 16 and 32 virtual CPU VMs.


      Thank you in advance for your support!




        • 1. Re: HVM v PVM with 16 and 32 vCPUs w PHY Disks?



          you can try to run some benchmarks ( for example Swingbench, very easy to setup) and compare results.

          I think you don't find big difference.


          For nonRAC databases you have both options PV and HVM, for RAC you have only PV to be supported.


          With such a big number of vCPUs your VM will have quite a lot of RAM and can support large number of users.

          You can consider the use of large pages, which shloud be supported for HVM only (probably supported for PV in the future or unsupporded now) and should work out of box.

          You can easy test the advantage of large pages using prepage sga parameter with large sga and many users, I think this emulates the worst scenario :-)


          We successfully run hard partitioned PV guests (12 vCPUs and 72GB, 6 vCPUs and 54GB) on server with one 10GB CNA adapter. (OEL 5 UEK2)

          The VMs are capable to do constantly 15k IOPS and 400 MBytes/s to disk array and utilize network bandwidth. (SAN physical disks)


          Preproduction tests show almost theoretical throuput (disk and network).

          Testing CPU-bound parallel execution - the scalability was linear ( parallel degree <= vCPU count) and almost didn't drop (parallel degree <= twice vCPU count).


          Can you, please, point some links to the "known PVM limitations with CPU scalability" ?





          • 2. Re: HVM v PVM with 16 and 32 vCPUs w PHY Disks?

            I agree with user459387. I basically use PVM on all my hosts and have never had an issue. My prod RAC is a 2 node PV with 12 vcpu and 100 GB Ram each. I have seen as much as 40,000 IOPS over FC. I run OEL 5U5 64 bit UEK2 guests. I understand Oracle VM to primarily be paravirtual focused product with many enhanced to improve paravirtual guests performance.


            Hugepages is supported in Oracle VM 3.2.4 and later with OEL 5.8 and higher and OEl 6.3 and higher. There is a really detailed MOS article on using this with PV guests.


            Doc ID 1529373.1

            • 3. Re: HVM v PVM with 16 and 32 vCPUs w PHY Disks?
              Roddy Rodstein

              K & user12273962, thank you both for your support, GREAT feedback!


              With regards to getting the "known PVM limitations with CPU scalability"  documents, I will see what I can dig up.


              Much appreciated!



              • 4. Re: HVM v PVM with 16 and 32 vCPUs w PHY Disks?

                How are you all exposing and mounting the physical FC disks to the PVM VMs?


                How are you seeing and mounting the disks in the PVM VM?


                What are the underlying file systems you all are using?

                • 5. Re: HVM v PVM with 16 and 32 vCPUs w PHY Disks?

                  Look at the documentation to learn to how to attach physical disk to VM guests.


                  I use both ASM file systems and repos for virtual disk (which is ocfs2)