Hyper-V Hypervisor Virtual Processor\\% Guest Run Time occasionally has bad values

I'm accessing PerfMon data via RegQueryValueExW () calls in a C++ program to collect a variety of metrics. I've noticed that
Hyper-V Hypervisor Virtual Processor\\% Guest Run Time occasionally contains incorrect values, as shown both in my collected code as well as in PerfMon. (Also % Total Run Time, and possibly all the metrics.)
My test environment is running 2008 r2 standard, service pack 1, on an Intel Zeon CPU (if it's relevant), and is hosting four guests, none very active (_total = .449, the rest = .030, .513, .185, .194, .341).
The problem is that occasionally the first, least active, guest will spike well above 100% (as an example, 6300%).
When walking through my code, the issue seems to coincide with the order of the subscripts being returned from RegQueryValueExW () changing, where the first, least active subscript moving to the second location, and getting an unexpected value. When it returns
to the first spot in the series on a subsequent call it once again has an expected value. Oddly enough the new "first array element" has the expected value even after the shift.
Actual returned values for a 30 second collection cycle, values are shifted by 1000:
GuestRunTime[hyper-vtest_0]; current = 1211813.198, previously = 1211804.192
GuestRunTime[win2k3EntR2_-_prometheus_3]; current = 18401087.260, previously = 18400964.194
(interval)
GuestRunTime[hyper-vtest_0]; current = 1211822.625, previously = 1211813.198
GuestRunTime[win2k3EntR2_-_prometheus_3]; current = 18401201.918, previously = 18401087.260
(interval, and then the array order changes)
GuestRunTime[win2k3EntR2_-_prometheus_3]; current = 18401327.210, previously = 18401201.918
GuestRunTime[hyper-vtest_0]; current = 601735.139, previously = 1211822.625
(interval, and then the array order changes back)
GuestRunTime[hyper-vtest_0]; current = 1211841.390, previously = 601735.139
GuestRunTime[win2k3EntR2_-_prometheus_3]; current = 18401472.446, previously = 18401327.210
(interval)
GuestRunTime[hyper-vtest_0]; current = 1211850.605, previously = 1211841.390
GuestRunTime[win2k3EntR2_-_prometheus_3]; current = 18401577.243, previously = 18401472.446
As you can see, the value supplied when the array shifts is rather wonky, but returns to an expected value after the array shifts back: 1211813.198 -> 1211822.625 -> 601735.139 (?) -> 1211841.390 -> 1211850.605.

Thanks Deepak for your response.
1) Firewall is turned off
2) Below is the output from R3trans -d command:
C:\Windows\system32>r3trans -d
This is r3trans version 6.24 (release 741 - 04.02.14 - 20:14:02 ).
unicode enabled version
2EETW169 no connect possible: "DBMS = SYBASE --- "
r3trans finished (0012).
3) The latest dbsl patch that I see on SMP is indeed 35 (Our Kernel is 7.41 64-bit Unicode)

Similar Messages

  • A run Time Error Has Occured

    Hi All
    Please help, I have recently got a new PC and reinstalled Contribute CS3.  I had to update to MS Service Pack 3 due to other software requirements.
    I previously had some shockwave files saved on to pages within my site, however each time i now try to update the pages with any shockwave file on the page, I get the following.
    A Run Time Error has Occured
    Do you wish to debug?
    LIne '0'
    Error 'Null' is Null or not an object.
    With an option of YES or No
    If I press 'No' I end up in a continous loop and end up having to carry out an End Task.
    If I press 'YES' I end up In Microsoft Script Editor with the code below
    try { document.getElementById("").SetReturnValue(__flash__toXML(getFlashLogLevel("xcelsius")) ); } catch (e) { document.getElementById("").SetReturnValue("<undefined/>"); }.  There is no way of editing the code and I still end up ending the task.
    Could anyone tell me if this is related to the installation of Serive Pack 3 or is there something more sinister going on.
    Thanks fior reading and any adive would be gratefully received.
    Thank
    Luke

    Hi Krishna
    Thanks for your reply, it was while trying to "edit" the page containing the shockwave file however it’s a bit of a strange one, as When I reposted this post , I had been experiencing the problem for about a week.  I then went on leave for a week and when I returned it started working again???.  I queried with my IT department if anything had changed or been updated but they could not think of anything.
    So for now it's working, but if you have any thoughts on what may of happened I would appreciate any suggestions?
    Thanks again
    Luke

  • [ADI]Budget upload fails with "A run-time error has occured:...

    제품 : FIN_GL
    작성날짜 : 2003-11-20
    [ADI]Budget upload fails with "A run-time error has occured:...
    ===========================
    PURPOSE
    아래의 오류사항에 대한 해결
    Budget upload fails with "A run-time error has occured:current task will terminate".
    Problem Description
    ADI를 이용하여 GL의 Budget자료를 upload시 오류
    Workaround
    Solution Description
    Client PC에서 regedit를 이용하여 NLS_LANG값들을 applications의 NLS_LANG과 같은 값으로 바꿔주세요
    Reference Documents
    -------------------

    Hi Krishna
    Thanks for your reply, it was while trying to "edit" the page containing the shockwave file however it’s a bit of a strange one, as When I reposted this post , I had been experiencing the problem for about a week.  I then went on leave for a week and when I returned it started working again???.  I queried with my IT department if anything had changed or been updated but they could not think of anything.
    So for now it's working, but if you have any thoughts on what may of happened I would appreciate any suggestions?
    Thanks again
    Luke

  • Run time error has requested that this program be closed in an unusual way

    i keep getting this message when i am using firefox. it says run time error has requested that this program be closed and it says it is the c drive firefox. what can i do to fix this? it has happened about 10 times a day for the last 3 days.
    thank you

    Hi there
    log in as administrator and kill all processes not needed and try again. I've seen cases where one of these free download tweak applications (like "Memory Defragmentation" and stuff like that) caused that error. 
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • How to convert the value in GET RUN TIME statement in minutes value...

    Hello Experts,
    As I understand, the value that is being passed from GET RUN TIME FIELD statement
    is in microseconds. Now, how do I convert it in minutes value?
    Thank you guys and take care!

    This will give in Hours , minutes, seconds.
    data time type sy-uzeit.
    get time field time.
    write time.
    Check it.

  • RoboHelp for Word Version 8-Run-time error 49-Bad DLL calling convention

    I just installed the trial version of RH8. I have RH5 installed. I also have Word97 installed. When I start RH8, the RH Explorer pane opens, but when it tries to open Word, the following error message appears: "Microsoft Visual Basic - Run-time error '49'. Bad DLL calling convention." Any ideas on what I can do to fix this problem?

    See Snippets on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    Follow me @petergrainge

  • Run time error while saving values in File (Tcode)

    Hi,
    I am using FM   call function 'FILE_GET_NAME'
           exporting
                logical_filename = logical_filename
                parameter_1      = program_name
                parameter_2      = file_id_param
           importing
                file_name        = physical_filename
           exceptions
                file_not_found   = 1
                others           = 2.
    for this I am trying to maintain dynamic values(field symbols) in Tcode FILE Logical file name definition , physical path as.
    Physical file   =<PARAM_1>.<PARAM_2>
    But while saving it dumps, saying filed symbol assinment to substring is not allowed.
    Physical path for the same is /<V=Z_DIR_MAIN>/<SYSID>/<V=Z_DIR_OUT>/<FILENAME>.<CLIENT>.<DATE><TIME>.
    Regards
    Mohinder Singh Chauhan

    Hello Mohinder,
    the better way to analyse these kind of things is by entering the function module in se37 and providing the required test data.
    In your scenarion as you say its throwing a runtime dump related to field symbols better you concatenate the data param1 and param2 into a new variable and then pass that value into the function module.
    Thanks,
    M.Naveen kumar

  • How to make a field read only at run time by entering the value in another field.

    Hi Team,
                  Recently i got a requirement , i Have 2 dff's at header level and line level related to down payment ,and the DFF having two fields such as amount and if i enter amount that should be converted into % then populate the total amount field, at the same time % field should be gray out . if i give %(percentage) then amount field should be grayed out(read only) and then it should populates towards the total amount at header level.
    Can any one help me on this issue.
    Thanks,
    raghava

    I would to elaborate this issue...
    I have DFF's enabled at Header level and line in Purchasing Module -->Buyer WorkBeanch --> Order page here they did, as "Details". Details contains two Filed's
    1. Amount
    2.Percentage (%)
    Requirement :
    i.if i enter "down payment amount" then "down payment %" going to become read only. vise verse.
    ii. If I enter "down payment amount " or "down payment %" at header level then not allowing to enter at line level .
    thanks,
    raghava

  • Installing on Windows 7, IE, get error message "run time error has occured in script"

    when attempting to install latest version of Flash Player on Windows 7 computer with IE, during installation I get message "runtime error has occured in script".
    & installation ceases.  what can I do to obtain Flash Player on my computer?  Aaron

    100,000 Thank you"s!    I tried what you suggested, and can now
    watch PLAYON through my Roku on the TV set.   Previously, Roku insisted that I have Adobe Flash Player.   Aaron
    Senators Should Wear Uniforms like NASCAR Drivers So We Could Identify Their Corporate Sponsors.

  • Costing Run If RM has zero value

    Dear Friends,
    My client is going to get Raw material from parent compnay on free of cost. Now that mateial has 0 price.  This material is the part of production of finished good.
    Now If I run cost estimate or costing run then system is giving error message "" No price could be determined for material/batch xxxxxxxx"".
    How I can do this thing that free of cost raw material (has std./MAP=0) should be the part of bom and  cost estimate/costing run can be run sucessfully for finished goods.
    If with zero value it is not possible then how I can do , please sugget if possible by some setting in PP/CO.
    Thanks
    Ravi

    Dear Ravi,
    Check with this steps.
    1.Either set the check box for do not cost in the costing 1 view for that material in the material master.
    2.If this is not working means,you can remove the costing relevancy indicator for that material in the BOM,just double click on
    the item number of that particular material whose value is zero and you can find this field under the status/long text tab page.
    Check and revert back.
    Regards
    Mangalraj.S

  • Time character has changed values during excel download.

    Dear friends,
    We are using BI7.00. In one of our report, we use Enterprise portal for reporting, we have the time character in a seperate field. When the output of this report is exported to excel, the value which is getting populated to excel is getting changed.
    For example :- the report is PM report which has malfunction start time in the report as a column, if the value in the report output is 04:20 , the value in excel is 09:50.
    How this is possilble.
    Prior to dowload, when we click the export to excel icon in EP , the message "Problems came up in the following areas during load" - Cell value -> this message is popped up and if you overcome this message, we have difference in values.
    I have searched in this forum and was not able to find any suitable solution.
    Experts help expected.
    Regards,
    M.Magesh

    Experts help on this?
    Regards,
    M.M

  • What does this actually mean and how do I fix it: Alert: Error Count Monitor Resolution state Object Hyper-V Virtual Storage Device Has a value

    We are getting this alert on a fair few of our VMs with VHDXs and Dynamic VHDs. Everything seems OK but I am not sure what this actually means and what I need to do to resolve the issue. How do I reset the error count if that is what is required? Thanks
    in advance.
    Alert: Error Count Monitor Resolution state: New
     Error Count Monitor Source: MyVm01 Path: MyHost.MyDomain.local;MyHost.MyDomain.local;FE71577B-A2E2-45C0-B757-2FBCEC9311DE Last modified by: System Last modified time: 2/9/2013 2:08:48 PM Alert description: Instance c:-clusterstorage-volume1-MyVm01-virtual
    Sat 09/02
    To:Administrator
     09 February 2013 14:09
    Alert: Error Count Monitor
    Source: MyVm01
    Path: MyHost.MyDomain.local;MyHost.MyDomain.local;FE71577B-A2E2-45C0-B757-2FBCEC9311DE
    Last modified by: System
    Last modified time: 2/9/2013 2:08:48 PM
    Alert description: Instance c:-clusterstorage-volume1-MyVm01-virtual hard disks-MyVm01-DATA02.vhdx
                Object Hyper-V Virtual Storage Device
                Counter Error Count
                Has a value 9
                At time 2013-02-09T14:08:48.0000000+00:00
    Darren

    But I am getting this alert from SCOM and SCOM has no information about the alert for me to find out what to do - thought that was the point of SCOM to let you know of problems and how to resolve them. :)
    The alert is coming from the Error Count Monitor that is part of the Hyper-V Management Pack Extensions (v 4.0.0.0)
    I have tried looking in the Event Logs on the Host and there doesn't seem to be any storage related errors there. I am trying to establish if this is a false positive, why it is happening and if it is safe to override and ignore.
    There is nothing on the Product Knowledge tab and nothing on the Alert Context other than what I have already mentioned (see below).
    Thanks for responding.
    Time Sampled:
    09/02/2013 14:08:48
    Object Name:
    Hyper-V Virtual Storage Device
    Counter Name:
    Error Count
    Instance Name:
    c:-clusterstorage-volume1-myvm-virtual
    hard disks-MyVM-DATA02.vhdx
    Value:
    9
    Darren

  • "open vi reference" with run time menue

    Hello,
    I met some problems with "open vi reference" in labview.i can't parallel run this vi with the run time menue.i can't load the any vi then the run time menue has activation.(the "open vi reference" can run after the run time menue release.). it's means  labview is serial running for this both function.but now i want to parallel running in the program.so would you give the some idear?

    Now I see what you are talking about.  What you are trying to do is expected behavior.  If you click on the menu while any state is running that doesn't lock the front panel, then the menu will halt the VI execution until you choose a menu item.
    You should check the option in the event to "Lock front panel until event case for this event completes"  Then you will not be able to click on the system menu until tthe VI is launched and running.  If you wire a True like I suggested before, then you will fall out of the case pretty quickly in non-hoghlight mode, and the user most likely will not notice.  If the VI you are trying to open is quite large, it will take a little bit of time for LV to load the VI into memory.
    In highlight-mode, you just have to wait for the event to process before you select the menu.
    Message Edited by Matthew Kelton on 12-03-2007 10:56 PM
    Attachments:
    edit events.png ‏27 KB

  • How to change the view criteria at run time for af:query

    Hi,
    I've a usecase where I need to change the view criteria of the af:query at run time.
    Use case:
    =======
    1) Consider a check box (Show Emps Under Dept 10) in the query panel when user selects and clicks 'Search' button should show the employees under dept 10. If user searches without selecting the check box, the results should show all the employees in all the departments.
    2) I need to have a check box always in the query panel. Its mandatory.
    The way I implemented:
    ==============
    1) Created a transient variable 'Show Emps Under Dept 10' in the EmployeeVO and also created a bind variable bind_DeptNo.
    2) Create a view criteria 'AllEmployees' which has only the transient attribute as the view criteria item and whose value set to 'false' by default.
    3) Created another view criteria 'EmpUnderDept' which has 'DepartmentId' as the view criteria item and whose value set to the bind variable 'bind_DeptNo'.
    4) Dropped the view criteria 'EmpUnderDept' as the 'af:query' panel in the jspx page.
    5) Overridden the queryListener as '#{EmpBean.empSearch}'
    6) Has the below code in the empSearch method as below. When user selects the check box, applying the other criteria 'EmpUnderDept' and setting the bind variable to '10'.
    public void empSearch(QueryEvent queryEvent) {
    // Add event code here...
    QueryDescriptor queryDesc = (QueryDescriptor) queryEvent.getDescriptor();
    ConjunctionCriterion conCrit = queryDesc.getConjunctionCriterion();
    List<Criterion> criterionList = conCrit.getCriterionList();
    List criterionValues = new ArrayList();
    Object criteriaValue = null;
    int criteriaNo = 0;
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    FacesContext facesContext = FacesContext.getCurrentInstance();
    for (Criterion criterion : criterionList) {
    AttributeDescriptor attrDescriptor = ((AttributeCriterion)criterion).getAttribute();
    System.out.println("============== attrDescriptor.getName() =================== " + attrDescriptor.getName());
    criteriaValue = ((AttributeCriterion)criterion).getValues().get(0);
    if(criteriaNo==0) {
    Boolean val = (Boolean) ((AttributeCriterion)criterion).getValues().get(0);
    if (val.equals(true)) {
    OperationBinding method = (OperationBinding) ADFUtil.findOperation("ExecuteWithParams");
    if(method!=null) {
    Map params = method.getParamsMap();
    //params.put(key, value)
    method.getParamsMap().put("bind_DeptId", 10L);
    method.execute();
    ADFUtil.invokeMethodExpression( "#{bindings.EmpUnderDeptCriteiaQuery.processQuery}", queryEvent);
    } else {
    //ADFUtil.invokeEL("#{bindings.ExecuteWithParams.execute}");
    ADFUtil.invokeMethodExpression( "#{bindings.AllEmployeesCriteriaQuery.processQuery}", queryEvent);
    But this approach is not working and its always showing all the employees in all the departments.
    Please let me know if there is a way to change the view criteria at run time depending on the values set at run time for one of the view criteria items.
    JDev version am using is '11.1.1.5'
    Thanks,
    Lakshman

    Hi Shay,
    It worked for me without overriding the executeQuery() method in the ViewImpl.java.
    Instead of creating 2 view criteria, I created only one which has both transient variable and the DepartmentId = <bind_DeptId>. With the above code, it worked properly. Now I am using only one view criteria.
    Thank you.

  • How to build sql query for view object at run time

    Hi,
    I have a LOV on my form that is created from a view object.
    View object is read-only and is created from a SQL query.
    SQL query consists of few input parameters and table joins.
    My scenario is such that if input parameters are passed, i have to join extra tables, otherwise, only one table can fetch the results I need.
    Can anyone please suggest, how I can solve this? I want to build the query for view object at run time based on the values passed to input parameters.
    Thanks
    Srikanth Addanki

    As I understand you want to change the query at run time.
    If this is what you want, you can use setQuery Method then use executeQuery.
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14022/oracle/jbo/server/ViewObjectImpl.html#setQuery_java_lang_String_

Maybe you are looking for

  • Burning 16 X DVD's on My G4

    I have a Powermac G4 that I bought back in 2001. I still have the original Superdrive (Pioneer 103). I have updated the Superdrive to the 1.9 version. My questions is this: Can i burn 8x-R or 16x-R DVD's in this superdirve without ruining it? I have

  • Live View not rendering in CS5

    I have tried to use Live View to test my php code and have literally only put a line of php code in the body of my html which is <?php echo "This date is generated by php code "; echo date ('d F, Y'); ?> Live View is processing but does not render th

  • Assign/Map X509 certificate to the SAP User

    Hello Everybody, I am accessing SAP R/3 Function module from the outside(JAVA Application) using JCO connections. I got sucess doing this using Basic authentication. I have passed fix username and password to connect to the SAP R/3 from my JAVA progr

  • Disk Setup Recommendation (1xssd,1x7200rpm,1x5400rpm)

    @Hi! Any recommendation on how I should set up my disks for Premiere? I currently have one ssd, one 1TB 7200rpm black western digital and one 2TB 5400rpm green western digital hard drive. I tried following this guide Generic Guideline for Disk Setup

  • Is iCloud down? Cant access through computer, iPhone or iCloud internet?

    iCloud is not functioning in my Mac, iPhone or through the internet, just stopped running.  Support says it is fine... what's up?