Oracle VM Guest Performance as HVM

All,
I was hoping to get clarification on this:
I happen to have a server with a processor that supports virtual machine in hardware (AMD-V). I have installed a couple of 64-bit OEL5u4 VMs off of the install iso (not from eDelivery templates, but from eDelivery iso). My guess is that these guests think they are using the hardware directly, which, as I undertand gets to be finally handled by qemu-dm in Dom0. Is this an efficient way of doing things with these OEL versions, or should I consider altering the guests so that they can communicate with Dom0 in a more efficient manner? The Oracle web site offers rpms for the guests, but seem to be targetted at OEL5 Update 1. Maybe these improvements are built in OELu4?
FWIW, I ran "hdparm -tT /dev/sda" on the host, and "hdparm -tT /dev/hda" in the guest, and the buffered read performance is worse in the VM by a factor of 5. The way I configured it, hda in the guest maps to a Logical Volume block device on the host, so I was hoping to get much better performance.
Any input welcome.

FWIW, I pursued this by reading the Oracle Server manual again, as well as what I could find from RHEL5. Again, this is trying to configure a guest with paravirtual drivers when the guest is run in full hardware virtualization, in order to retain as much disk performance as possible.
The short of it is that if the vm.vfg file makes use of "xvda" instead of "hda", then OEL5.4 uses the disk in a much more efficient manner (meaning it does a hypercall from DomU to Dom0, so Dum0 stops using the slower emulation in Dom0).
In my case, I chose to map the DomU hard disk to a Logical Volume in Dom0:
disk = [
'phy:/dev/DomUDisk2/LVOracleApp,xvda,w',
In this case, running "hdparm -tT :/dev/DomUDisk2/LVOracleApp" in Dom0 yields to near identical results to running "hdparm -tT /dec/xvda" in DomU. I used to have a loss of a factor 5 with emulation.
If anybody has to retrace my steps and try to replicate this, there are guides out there that mention installing missing paravirtual driver modules in the guest by downloading some rpm. Starting at OEL5.4, they are already there (/lib/modules/2.6.18-164.el5/kernel/drivers/xenpv_hvm/), so no extra rpms are required.
There is one caveat: Booting from xvda using the paravirtual drivers is somewhat less than automatic. Contrary to what you can read, grub does not seem to have a problem locating the kernel and initial ram disk. So, after grub does its thing and gives control to the kernel, the init script in the ram disk tries and locate the root file system. It then scans and finds the hard disk as hda (emulation), eventually mounts it, and runs init off of the disk. This new init has the paravirtual drivers from the hard disk, and finds the SAME DISK as xvda. This cannot be good, although it works and does not seem to thrash the file system as one would think. In order to prevent this from happening, there are a couple of changes to do in the grub configuration file /boot/grub/grub.cfg). The idea is to prevent the kernel from scanning for IDE disks:
kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet hda=noprobe ide0=noprobe
Now, once this is done, we have prevented the kernel from finding the root file system, and this VM is unbootable! The problem is that the initial ram drive does not have the paravirtual drivers built-in, so xvda, with the root file system, cannot be found. Fortunately, adding the paravirtual drivers to the initial ram drive is undramatic:
mkinitrd -f newinitrd 2.6.18-164.el5 --omit-scsi-modules with=xen-vbd with=xen-vnif preload xen-vbd preload xen-vnif*
The newinitrd file can then be copied to /boot with the right name for grub.
I thought I would pass this along as I found that there were great benefits to running the DomUs this way, performance-wise. At this point, I am not sure how these configurations would survive an upgrade of the kernel. I would think that an update to the initrd config file is in order. Thoughts welcome.

Similar Messages

  • Can i use "Oracle Database 12c: Performance Management and Tuning " training for getting certification on "Oracle Database 11g: Performance Tuning 1Z0-054"

    i have taken "Oracle Database 12c: Performance Management and Tuning new" training from oracle university. Now i would like to get certified on "Oracle Database 11g: Performance Tuning 1Z0-054" exam. Is it possible ?

    I essentially endorse and refer you to Matthews' and John's post above.
    I would differ with slightly with Matthew because my guess is you would often be able to use like for like 12c training for an 11g certification ( I believe there are precedents).  BEFORE ANYONE ASKS THE OTHER WAY DOESN'T HAPPEN.
    .... but totally concur with Matthew you would ill advised to procede on that basis without one of:
    - This being advertised as possible on the website : e.g. https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=654&get_params=p_id:169 ... option 2 show courses.
    - Confirmation from Brandye
    - Confirmation from an Oracle Certification Support Web Ticket ( http://education.oracle.com/pls/eval-eddap-dcd/OU_SUPPORT_OCP.home?p_source=OCP )
    ... The more common (and in my opinion usually better) way would be get your 11g DBA OCP ( or higher first) and then take the 1z0-054.  I am almost certain they will accept your 12c course for the 11g DBA OCP.
    If you are choosing the route of not being a 11g (or 12c ) DBA OCP first but are on option 2 and relying on the course for certification then the issue is more in the balance and you are even more strongly advised to get confirmation before proceding (remember if the rules need to be changed for you only then any profit out of the exam is lost).
    In general my understanding is Oracle would prefer to encourage people to train on the latest version of product that is available for training  and will prefer to avoid restrictions which would cause you to train at a lower version.  ( This is simply my guess at Oracle University Policy ... personal opinion only).
    Having said all I have said I'd encourage you to go with the advice of the earlier two posts.

  • Oracle Database 10g: Performance Tuning guide

    Oracle Database 10g: Performance Tuning guide
    can any one help me where i can get above mentioned guide
    thanx in Advance
    regards,

    There's this wonderful website called Google: http://www.google.com. If you type in the exact same thing as this thread title, the first results listed will no doubt shock, surprise and amaze you ...
    Enjoy !!
    Cheers
    Richard Foote
    http://richardfoote.wordpress.com/

  • Dates for "Oracle Database 11g: Performance Tuning" exam

    Hi!
    Today Oracle posted info about the new Oracle Database 11g Performance Tuning exam needed for the new expert certification:
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_054#2
    It says that pre-registration for the beta exam starts today, however, it does not say when the beta phase starts and ends. Does anyone know?
    Thanks,
    Marcus

    Hello Hussein
    Yes true, I remember it for the OCE and Linux exams they rescheduled the end date several times. As far as I know it is related to the number of participants and the given feedback.
    I've also participated to several other exams, and I must admit that it is a long and hard process to get through. When I got the feedback 10 weeks after the beta period closure, I had to review nearly all the topics to get the exams passed the second time. But this it is a cheap and good exam preparation.
    What about you Hussein? Do you think that's trivial?
    Cheers,
    Hub

  • Oracle Database 11g: Performance Tuning exam 1Z0-054

    Hi,
    I want to take the certification Oracle Database 11g: Performance Tuning exam 1Z0-054 and want to write the exam.
    To earn the OCE credentials, I know that we need to take training from Oracle University. I am not an OCP currently.
    Can I write the exam now and later take the course to meet the certification requirements? I know it is not the right way, but I can not pay $3000 for the course as of now. I can write the exam through self study. I want to check if I can take the exam now and later take the course.
    Is it mandatory to take the course before taking the exam?
    Thanks,
    naveen.

    Naveen Kumar C wrote:
    Hi,
    y
    I want to take the certification Oracle Database 11g: Performance Tuning exam 1Z0-054 and want to write the exam.
    To earn the OCE credentials, I know that we need to take training from Oracle University. I am not an OCP currently.
    Can I write the exam now and later take the course to meet the certification requirements? I know it is not the right way, but I can not pay $3000 for the course as of now. I can write the exam through self study. I want to check if I can take the exam now and later take the course.
    Is it mandatory to take the course before taking the exam?
    Thanks,
    naveen.Indeed you can take the exam now, and subsequently earn the 11g PERFTUNE OCE credential when you either:
    1) complete, submit and get verified the OU authorised 11g perftune course (possible but seems a little cart before horse).
    or
    2) Become 11g DBA OCP.

  • Beta Testing Continues for "Oracle Database 11g: Performance Tuning" Exam

    !http://blogs.oracle.com/certification/2009-0204-1123.gif!
    The beta period continues for the <strong>Oracle Database 11g: Performance Tuning certification exam (1Z1-054)</strong>, which is a single exam requirement for Oracle 11g DBA OCPs to earn the Oracle Database 11g Performance Tuning Certified Expert (OCE) certification. Read more on the <a href="http://bit.ly/UGJh4">Oracle Certification Blog</a>.</p>

    Hello Hussein
    Yes true, I remember it for the OCE and Linux exams they rescheduled the end date several times. As far as I know it is related to the number of participants and the given feedback.
    I've also participated to several other exams, and I must admit that it is a long and hard process to get through. When I got the feedback 10 weeks after the beta period closure, I had to review nearly all the topics to get the exams passed the second time. But this it is a cheap and good exam preparation.
    What about you Hussein? Do you think that's trivial?
    Cheers,
    Hub

  • Beta Testing Ends For "Oracle Database 11g: Performance Tuning" Exam

    !http://blogs.oracle.com/certification/2009-0204-1122.gif!
    <p>The beta period ended on Aug 31, 2009 for the <strong>Oracle Database 11g: Performance Tuning</strong> certification exam (1Z1-054), which is a single exam requirement for Oracle 11g DBA OCPs to earn the Oracle Database 11g Performance Tuning Certified Expert (OCE) certification.</p>
    <p align="justify">Full details are posted on the Oracle Certification Blog.</p>

    Hello Hussein
    Yes true, I remember it for the OCE and Linux exams they rescheduled the end date several times. As far as I know it is related to the number of participants and the given feedback.
    I've also participated to several other exams, and I must admit that it is a long and hard process to get through. When I got the feedback 10 weeks after the beta period closure, I had to review nearly all the topics to get the exams passed the second time. But this it is a cheap and good exam preparation.
    What about you Hussein? Do you think that's trivial?
    Cheers,
    Hub

  • NOW LIVE: Oracle Database 11g - Performance Tuning Exam (1Z0-054)

    !http://blogs.oracle.com/certification/ORC-0128.jpg!
    The new *"Oracle Database 11g: Performance Tuning" certification exam (1Z0-054)* is now live, which is a single exam requirement for Oracle 11g DBA OCPs to earn the Oracle Database 11g Performance Tuning Certified Expert (OCE) certification.</p>
    <p align="justify">This certification endorses those database administrators, support engineers, and technical consultants who have demonstrated their knowledge and skills using Oracle Database 11g automatic tuning features, including SQL Tuning Advisor, SQL Access Advisor, Automatic Workload Repository and Automatic Database Diagnostic Monitor.</p>
    <p align="justify">Candidates taking this exam at test centers will now receive their exam scores and pass/fail status immediately at the completion of their exam. Score reports have just been shipped to those candidates who participated in the beta period. If you participated in beta testing and did not yet receive your score report, please contact [email protected]</p>
    <p align="justify"><strong>QUICK LINKS</strong></p>
    <ul><li>Certification Track: Oracle Database 11g Performance Tuning Certified Expert (OCE)</li>
    <li>Certification Exam: 1Z0-054 &ndash; Oracle Database 11g: Performance Tuning</li>
    <li>Stay Up To Date: Oracle Certification Blog | Oracle Certification Website</li>
    </ul>

    Naveen Kumar C wrote:
    Hi,
    y
    I want to take the certification Oracle Database 11g: Performance Tuning exam 1Z0-054 and want to write the exam.
    To earn the OCE credentials, I know that we need to take training from Oracle University. I am not an OCP currently.
    Can I write the exam now and later take the course to meet the certification requirements? I know it is not the right way, but I can not pay $3000 for the course as of now. I can write the exam through self study. I want to check if I can take the exam now and later take the course.
    Is it mandatory to take the course before taking the exam?
    Thanks,
    naveen.Indeed you can take the exam now, and subsequently earn the 11g PERFTUNE OCE credential when you either:
    1) complete, submit and get verified the OU authorised 11g perftune course (possible but seems a little cart before horse).
    or
    2) Become 11g DBA OCP.

  • Oracle Database 11g: Performance Tuning-Certification

    Dear All!
    I want to take exam 1z0-054 for
    "Oracle Database 11g: Performance Tuning".
    I've completed an Oracle authorized couse of "Oracle Database 11g: Performance Tuning DBA" in 2008,which is one of requirements to get that certificate.
    Please any info regarding to expiration of complilation of courses?
    If I pass 1z0-054 exam ,will the above mentioned couse considered?
    And the last one, Are there possibilities to see or load the info of the couses I've completed , to my Oracle site acount.
    Thanks in advance!
    Best regards

    Try posting this type of question in the Certification forum:
    Oracle Certification Program

  • 1z0-054: Oracle Database 11g Performance Tuning Expert

    I am planning to give the exam 1z0-054 to get the certification, "Oracle Database 11g Performance Tuning Expert".
    The Certification Path says that, if you are and "OCP DBA 11g" then you can directly take this paper, and there is no Instructor Led Training requirement. Therefore, I decide to prepare for it by my own. Can someone guide me about the study material and dumps?
    Regards,
    Ahmer Mansoor

    Therefore, I decide to prepare for it by my own. Can someone guide me about the study material and dumps?First of all, the word 'dumps' has a specific meaning. It is shorthand for 'brain dumps' which are illegal and can cost you this certification and any others you have taken.
    http://blogs.oracle.com/certification/entry/0477
    Second -- there currently is no study guide or book specific to this certification available at this time. I write study guides and this one is actually next on my list once I complete the current book for *1Z0-117: Oracle Database 11g Release 2: SQL Tuning*. I won't have a guide for 1Z0-054 until some time in May most likely. That said, I have some links to legal study material on the companion website for my guide series relevant to topics for this exam. It also has links to the Oracle documentation that contains information you need. Once I start writing the book for this exam, the links will expand rapidly as I research the topics for it and the documentation links may expand as well.
    http://www.oraclecertificationprep.com/apex/f?p=OCPSG:EXAM_DETAILS:0::NO::P2_EXAM:1Z0-054

  • When I import some of my cd's they have multiple album images but have just one song from the cd because of a guest performer. How do I keep the cd from "blowing up" like this? eergh

    When I import some of my cd's they have multiple album images but have just one song from the cd because of a guest performer. How do I keep the cd from "blowing up" like this? eergh

    for purchases from the iTunes store do this:
    connect your device and right-click or control-click it in the iTunes Source list, then choose transfer purchases from the shortcut menu that appears.
    for everything else check out this post by Zevoneer.

  • Import Oracle VM Guest on Oracle VirtualBox

    Hi All,
    I Have Oracle VM Guest Server Image File, Now am trying to Import on Oracle VirtaulBox in my laptop, but my Oracle VM Guest in .img format but its asking .ovf format.I am new to this VirtualBox, Could you please somebody guide me how to use this Oracle VM guest on Oracle VirtualBox.
    Thanks..
    YJR

    Unlcear as to what help you are requiring - if it is VM related, pl post in the VM forums - http://forums.oracle.com/forums/category.jspa?categoryID=305
    HTH
    Srini

  • How to avoid Oracle Form to perform commit action ?

    I have a question.
    The case is: After a user correct some data displayed in text items, he needs to click a button to update the record.
    However, the oracle form the commit the update action.
    I don't want to allow Oracle Form to perform commit UNTIL the user closes the oracle form.
    Is it possible to do so?
    If yes, I should use what kinds of Trigger to realize this.
    Thanks a lot.

    First of all I wanna give you advice that please must specify your forms version with complete precision say 10g 10.1.2.0.1 or if 6i.... then tell everyone what have you done regarding your requirements and what are your errors and problems...
    I dont want to allow Oracle Form to perform commit UNTIL the user closes the oracle formso simple is that make a button with label Exit , in WHEN-BUTTON-PRESS trigger write code
    exit_form(ask_commit);
    you can use NO_VALIDATE if you don't want your form to perform commit anyways. . .
    hope it works

  • Oracle Database 10g: Performance Tuning

    Does Oracle Database 10g: Performance Tuning hands on course requirement qualify for both OCP and OCM credential..?
    waiting for reply...........

    Check the Certification Requirements here
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=47#2

  • Oracle VM guest NIC vendor

    Hi everybody,
    Is there a way to change the type of NIC that a guest VM will use? I have Oracle VM 2.2 setup and running fine, all my guest VMs use a REALTEK-8139C+ NIC. Is there way have my guess VM use another virtual NIC? I hope this makes sense. Thanks.
    Sean

    Sean314 wrote:
    Is there a way to change the type of NIC that a guest VM will use? I have Oracle VM 2.2 setup and running fine, all my guest VMs use a REALTEK-8139C+ NIC. Is there way have my guess VM use another virtual NIC? I hope this makes sense. Thanks.Yes, there is. Obviously PV guests don't have an emulated model, so they just use the Xen PV drivers. I strongly recommend using PV drivers in all your guests for performance reasons. The only time you'll see an emulated NIC is in HVM mode with no PV drivers. In that case, you can change the model= parameter in vm.cfg to either e100 or e1000 as described in the [C.1 e100 And e1000 Network Device Emulators|http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/templates.htm#BABEDEIF] section in the manual.

Maybe you are looking for