CPU times for application

I am trying to figure out the best way to get CPU times for our
application to do certain things. It sits on top of a database and
I wanted to separate out what the database time and the application
time is. I was going to use the 3C clock function to get a start
time and then a time right before the database call and then a time
when it comes back. It seems like the granularity of the clock function
may not be what I need. Anyone have any ideas on how to do this? Is
this the best way?
Thanks
John

This is a hard question to answer because it depends on the cluster agent/application.
On one hand you may have a simple Sun Cluster application that fails over in seconds because it has to do a limited amount of work (umount here, mount there, plumb network interface, etc) to actually failover.
On the other hand these operations may, depending on the application, take longer than another application due to the very nature of that application.
An Apache web server failover may take 10-15 seconds but an Oracle failover may take longer. There are many variables that control what happens from the time that a node failure is detected to the time that an application appears on another cluster node.
If the failover time is 30 minutes I would ask your vendor why that is exactly.
Not in a confrontational way but a 'I don't get how this is high availability' since the assumption is that up to 30 minutes could elapse from the time that your application goes down to it coming back on another node.
A better solution might be a different application vendor (I know, I know) or a scalable application that can run on more than one cluster node at a time.
The logic with the scalable approach is that if a failover takes 30 minutes or so to complete it (failover) becomes an expensive operation so I would rather that my application can use multiple nodes at once rather than eat a 30 minute failover if one node dies in a two node cluster:
serverA > 30 minute failover > serverB
seems to be less desirable than
serverA, serverB, serverC, etc concurrently providing access to the application so that failover only happens when we get down to a handful of nodes
Either one is probably more desirable than having an application outage(?)

Similar Messages

  • How to increase cpu time for a job

    We have a application which submits a scheduler job. The job parses a blob and inserts rows into a table. It was running slow . On checking the scheduler tables I found out for actual time of 2 hours the job is taking cpu time of less than 2 minutes.
    Can anybody help us with any idea to increase the CPU utilization by around 4 times so the job finishes in 30 minutes
    Thanks
    Saikat

    Hi,
    How long does it take when you run the same action that the job is running from sqlplus ?
    This looks like more of an Oracle tuning question than a Scheduler question. You might get better answers if you gave more info about the pl/sql code being run and posted this to the general pl/sql forum here
    PL/SQL
    You can also try general PL/SQL profiling tools to see what statements in your code are taking the longest while to run e.g. AWR and ADDM if you have licenses for them.
    Hope this helps,
    Ravi.

  • Cloud Control 12c: no values for "Database CPU Time (%)"  for 9i databases

    Hi ,
    we have several databases in our CloudControl - and for most of them (Oracle release 10g or higher) the value "Database CPU Time (%)" under the tab "Databases" has a value. For databases of version 9i this value always shows up as a "-" sign - and for a few databases of version 10g or 11g, too.
    Is this a known issue of the CloudControl or the agent?
    We are using CloudControl 12.1.0.1.0.
    Any help will be appreciated.
    Rgds
    Jan

    Please post a screen shot. DB time instrumentation was added in DB 10g so that may be why in pre-10g databese, the value is absent. It should show up for 10g and higher databases though as long as they (user calls) have some CPU consumption to report.
    -Mughees

  • What are typical failover times for application X on Sun Cluster

    Our company does not yet have any hands-on experience with clustering anything on Solaris, although we do with Veritas and Miscrosoft. My experience with MS is that it is as close to seemless (instantaneous) as possible. The Veritas clustering takes a little bit longer to activate the standby's. A new application we are bringing in house soon runs on Sun cluster (it is some BEA Tuxedo/WebLogic/Oracle monster). They claim the time it takes to flip from the active node to the standby node is ~30minutes. This to us seems a bit insane since they are calling this "HA". Is this type of failover time typical in Sun land? Thanks for any numbers or reference.

    This is a hard question to answer because it depends on the cluster agent/application.
    On one hand you may have a simple Sun Cluster application that fails over in seconds because it has to do a limited amount of work (umount here, mount there, plumb network interface, etc) to actually failover.
    On the other hand these operations may, depending on the application, take longer than another application due to the very nature of that application.
    An Apache web server failover may take 10-15 seconds but an Oracle failover may take longer. There are many variables that control what happens from the time that a node failure is detected to the time that an application appears on another cluster node.
    If the failover time is 30 minutes I would ask your vendor why that is exactly.
    Not in a confrontational way but a 'I don't get how this is high availability' since the assumption is that up to 30 minutes could elapse from the time that your application goes down to it coming back on another node.
    A better solution might be a different application vendor (I know, I know) or a scalable application that can run on more than one cluster node at a time.
    The logic with the scalable approach is that if a failover takes 30 minutes or so to complete it (failover) becomes an expensive operation so I would rather that my application can use multiple nodes at once rather than eat a 30 minute failover if one node dies in a two node cluster:
    serverA > 30 minute failover > serverB
    seems to be less desirable than
    serverA, serverB, serverC, etc concurrently providing access to the application so that failover only happens when we get down to a handful of nodes
    Either one is probably more desirable than having an application outage(?)

  • 100% cpu time on application but not vi

    I am trying to build an application but I am running into a problem i have not seen before. I have a vi that uses 3 while loops simultaneously. It works fine when i run it on my developing machine as a vi, but as soon as i make it an application my cpu usage goes to 100%. It still functions, but obviously the pc is doing to much work. Any ideas on why this is happening? Labview 7.0

    If possible, place your VIs here, and our enthusiasts here will be able to help you
    Cheers!
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • Action Listener Cpu Time

    I'm looking for a comparison of cpu time for different kinds of interface. The main ideas I have are:
    1. Have one event listener in the frame and check by x/y position which GUI object is interacted with via an if, else if structure.
    2. Have an event listener for every GUI object.
    3. Have one motion listener in the frame.
    I know that motion listeners are the most cpu consuming, by how much? Between 1 & 2 what would the difference be with a few objects, with many objects?

    CPU consumption does not rely on which listeners you use or on how many objects, it depends on what the listeners actually DO. If you have a listener that does nothing more than output some data to a text field, it is not going to use much. If you create a listener that recalculates the entire lighting model of a 3D scene each time it fires, it is not going to do so well.

  • CPU time from a multi processor

    Hi
    I need to get the CPU time from a multi processor machine,
    The top command will not do the job for me, and I will need to use the command in automation for testing the CPU time for 2 hours or more, I thinking about redirect the CPU % to a file, and in the end I will run the average for the numbers in that file.
    If I will be able to see the CPU time for the two processors it will be grate, but more important is to collect the global CPU status.
    I don�t have a command line that a can use, I can use some help.
    Thanks Shay

    mpstat in fact works on my Opteron 270 dual-processor dual-core machine running Soalris 10. For instance 'mpstat 3 5' displays 5 reports each 3 seconds apart, showing status of each CPU:
    % mpstat 3 5
    CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
    0 1 0 1 383 245 73 0 5 0 0 87 1 0 0 99
    1 1 0 1 33 4 51 0 4 0 0 57 0 0 0 99
    2 0 0 1 38 0 72 0 2 0 0 42 0 0 0 100
    3 1 0 1 53 26 49 0 1 1 0 47 0 0 0 100
    CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
    0 0 0 0 393 252 76 0 8 0 0 94 1 0 0 99
    1 0 0 0 48 4 82 0 7 1 0 71 0 0 0 100
    2 3 0 0 39 0 76 0 4 1 0 51 0 0 0 100
    3 0 0 0 44 25 35 0 3 2 0 49 0 0 0 100
    CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
    0 0 0 0 382 250 64 0 5 0 0 111 0 0 0 100
    1 0 0 0 29 4 43 0 4 0 0 56 1 0 0 99
    2 0 0 1 48 1 93 0 3 0 0 39 0 0 0 100
    3 0 0 0 69 29 78 0 1 1 0 65 0 0 0 100
    CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
    0 0 0 1 386 250 72 0 4 0 0 111 0 0 0 99
    1 0 0 0 28 3 42 0 3 0 0 55 1 0 0 99
    2 0 0 0 42 0 81 0 1 0 0 43 0 0 0 100
    3 0 0 0 67 29 74 0 0 1 0 63 0 0 0 100
    CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
    0 0 0 0 404 252 98 0 5 0 0 100 1 0 0 99
    1 0 0 0 45 9 68 0 5 1 0 53 0 0 0 100
    2 0 0 0 34 0 64 0 4 0 0 50 0 0 0 100
    3 0 0 0 58 27 60 0 2 2 0 73 0 0 0 100
    (The first report summarizes all activity since boot.)

  • How to check the usage of ram and cpu Performance for the particular application like sqlserver ,ms word

    how to check the usage of ram and cpu  Performance for the particular application like sqlserver ,ms word
    ranki

    Hi,
    You can use Performance Monitor and add the required counters.
    Check the below Technet article on Performance Monitor.
    http://technet.microsoft.com/en-us/library/cc749249.aspx
    Below are the steps to monitor the process in Performance Monitor.
    - Go to the Performance Monitor. 
    - Right-click on the graph and select "Add Counters".
    - In the "Available counters" list, open the "Process" section by clicking on the down arrow next to it. Select "% Processor Time" (and any other counter you want).
    - In the "Instances of selected object" list, select the process you want to track. Then click on "Add >>" button. Click on OK.
    Regards,
    Jack
    www.jijitechnologies.com

  • Re: Running the same (Forte) application multiple times -for different

    Hi
    We had the same problem - how to deploy a number of identical applications, using each their own db.
    (for training).
    The solution we used is to wrap the entire application into different applications by using a very small
    module called KURSUS01, KURSUS02 etc, that did nothing but call the start procedure of the main app.
    Then in the dbsession connect, we made a call appname to get the application name, and appended the
    first 8 chars to the dbname. Thus our dbnames now points to logicals name: rdbdataKURSUS01, rdbdataKURSUS02 etc.
    All this allows us to deploy the identical apps in the same env, or change one version, and run both the old
    and new program on the same pc and server at the same time (eg. KURSUS01 and KURSUS02).
    I also think this is a kludge - but it works nicely!
    Jens Chr
    KAD/Denmark
    -----Original Message-----
    From: Haben, Dirk <[email protected]>
    To: 'Soapbox Forte Users' <[email protected]>
    Date: 15. januar 1999 09:41
    Subject: Running the same (Forte) application multiple times - for different business clients.
    Hi All
    We have a number of different business clients all willing to use our
    application.
    The (forte) application is to run on our machines etc for these (business)
    clients.
    All (business) clients will have their data kept in separate Oracle DBs
    (instance).
    The problem now is that the entire (forte) application is written using
    DBSessions.
    Now, depending on what business client needs to be serviced (so to speak) we
    need to attach to the right DB - or use the "right" SO.
    The two options we can think of are:
    Option1:
    Programatic change to somehow "know" what (business) client (DB) I'm talking
    about and then use the right DB.
    Pro:
    Only one forte environment to maintain
    Can run multiple (business) clients on same PC at the same time
    Con:
    Requires many program changes
    bending O-O rules(?)
    can't dynamically name SOs so can it be done at all? (ResourceMGRs maybe?)
    Option2:
    Use separate environments! One for each business client.
    Pro:
    More defined separation of app and data,
    SLA-easy
    Con:
    Maintain "n" number of environments
    Can only run the application for one environment (business client) at a time
    on one PC - Big Negative here!
    Not knowing any feasible solution to option 1 (without much code changes and
    developer moaning) I would go for option two; as I have already worked on
    multi-environment setups on VMS back at the Hydro (hi guys).
    I would appreciate any comments from anyone who has solved this problem.
    How, Why Pro Con etc.
    TIA,
    Dirk Haben
    Perth, WA
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi
    We had the same problem - how to deploy a number of identical applications, using each their own db.
    (for training).
    The solution we used is to wrap the entire application into different applications by using a very small
    module called KURSUS01, KURSUS02 etc, that did nothing but call the start procedure of the main app.
    Then in the dbsession connect, we made a call appname to get the application name, and appended the
    first 8 chars to the dbname. Thus our dbnames now points to logicals name: rdbdataKURSUS01, rdbdataKURSUS02 etc.
    All this allows us to deploy the identical apps in the same env, or change one version, and run both the old
    and new program on the same pc and server at the same time (eg. KURSUS01 and KURSUS02).
    I also think this is a kludge - but it works nicely!
    Jens Chr
    KAD/Denmark
    -----Original Message-----
    From: Haben, Dirk <[email protected]>
    To: 'Soapbox Forte Users' <[email protected]>
    Date: 15. januar 1999 09:41
    Subject: Running the same (Forte) application multiple times - for different business clients.
    Hi All
    We have a number of different business clients all willing to use our
    application.
    The (forte) application is to run on our machines etc for these (business)
    clients.
    All (business) clients will have their data kept in separate Oracle DBs
    (instance).
    The problem now is that the entire (forte) application is written using
    DBSessions.
    Now, depending on what business client needs to be serviced (so to speak) we
    need to attach to the right DB - or use the "right" SO.
    The two options we can think of are:
    Option1:
    Programatic change to somehow "know" what (business) client (DB) I'm talking
    about and then use the right DB.
    Pro:
    Only one forte environment to maintain
    Can run multiple (business) clients on same PC at the same time
    Con:
    Requires many program changes
    bending O-O rules(?)
    can't dynamically name SOs so can it be done at all? (ResourceMGRs maybe?)
    Option2:
    Use separate environments! One for each business client.
    Pro:
    More defined separation of app and data,
    SLA-easy
    Con:
    Maintain "n" number of environments
    Can only run the application for one environment (business client) at a time
    on one PC - Big Negative here!
    Not knowing any feasible solution to option 1 (without much code changes and
    developer moaning) I would go for option two; as I have already worked on
    multi-environment setups on VMS back at the Hydro (hi guys).
    I would appreciate any comments from anyone who has solved this problem.
    How, Why Pro Con etc.
    TIA,
    Dirk Haben
    Perth, WA
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • ADF application taking more time for first time and less from second time

    Hi Experts,
    We are using ADF 11.1.1.2.
    Our application contains 5 jsp pages, 10 - 12 taskflows, and 50 jsff pages.
    For the first time in the day if we use the application it is taking more than 60 sec on some actions.
    And from the next time onwords it is taking 5 to 6 sec.
    Same thing is happening daily.
    Can any one tell me why this application is taking more time for first time and less time from second time.
    Regards
    Gayaz

    Hi,
    If you don't restart you WLS every day, then you should read about Tuning Application Module Pools and Connection Pools
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#sm0301
    And pay attention to the parameter: Maximum Available Size, Minimum Available Size
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#sm0314
    And adjust them to suit your needs.

  • SAP Note#350011 - To measure CPU performance for BPS applications

    Hello,
    I am Implementing SAP note 350011 in 2004s BW system (SP13). I have executed the 3 scripts using UPS_BENCHMARK_EXECUTE. But I am not able to get the reference values to compare the result. Please let me know, from where will I be able to get the reference values?
    Regards,
    Sujal Shah

    There are alot of waits regarding CPU .I disagree.
    The report shows on "CPU + Wait for CPU".
    It does NOT separate out the CPU time from "Wait for CPU"
    The majority of the time reported could be while on "CPU" with very little doing "Wait for CPU"
    enable SQLTRACE=TRUE
    tkprof reports both Elapsed Time & CPU Time
    the difference between those two values is the real "wait time".

  • CPU patches for 12.1.3 application

    Hi Experts,
    We have 12.1.3 application and 11.1.0.7.0 Database.
    I need latest CPU patches for our Application, i dont know how to search.
    Can you please tell me which are latest patches for my application.
    Waiting for reply.
    Thanks.

    Hi again;
    You can also visit:
    http://www.oracle.com/technetwork/topics/security/alerts-086861.html
    You need to make search as Oracle Critical Patch Update Advisory - October 2011 which direct you:
    http://www.oracle.com/technetwork/topics/security/cpuoct2011-330135.html << from here you can check patch for
    Oracle E-Business Suite Release 12, versions 12.0.6, 12.1.2, 12.1.3 E-Business Suite
    Oracle Database 11g Release 1, version 11.1.0.7 Database
    Regard
    Helios

  • Application takes lot of time for first time..

    Hai guys,
              we made an application on a 3rd party software for use on a tool which connects to SAP with RFC.
    the applicaiton updates ORACLE databse after getting relevant information from SAP.
    Now,for information on SAP side we have RFC.
    for updates on oracle we write SQL.
    the unique problem is..this applicaiton  takes lot of time when used the first time..
    once the first use is over it takes much lesser time for any subsequent use(by any user)..
    I DOUBT THE SQLS(ESP UPDATE) TAKE MUCH TIME THE FIRST TIME.

    I DOUBT THE SQLS(ESP UPDATE) TAKE MUCH TIME THE FIRST TIME.
    Why don't you trace the call and be sure?  Don't guess.
    once the first use is over it takes much lesser time for any subsequent use(by any user)..
    Because the statement is in the cursor cache - clear the cache each time and the statement will run long every time.  Again, trace the call and determine the issue - most likely you need an index or have an improperly coded SELECT statement.

  • HT204053 i am having iphone3gs and ipod4s, is it possible the application that i have purchased in my iphone can be available in my i pod by doing payment only one time for the same application in my i phone...if yes,plz let me know hw it is possible

    i am having iphone3gs and ipod4s, is it possible the application that i have purchased in my iphone can be available in my i pod by doing payment only one time for the same application in my i phone...if yes,plz let me know hw it is possible..

    Open the App Store on your device.
    Make sure you are signed in with the same account used for the original purchase.
    Tap on Purchased from the bottom navigation bar.
    On iPhone or iPod touch, tap Updates from the bottom navigation bar, then tap Purchased.
    Locate the app in your Purchased tab.
    Tap the download button (cloud symbol)
    See also: http://support.apple.com/kb/HT2519?viewlocale=en_US&locale=en_US

  • Mail in 10.6.4 not usable: it consumes all CPU time and will not quit

    Mail application does not work properly.
    It eats up most of the available CPU time (till >300% on my machine), becomes unresponsive and will only quit when killed by a force quit in the Activity Monitor.
    I have only two accounts set up. One Gmail account and a google apps one.
    I used to synch with a Blackberry but now I synch directly through google apps.
    The problem was sporadic at best at first but has become the usual behaviour now. Major change has been installing 10.6.4
    I have switched to Thunderbird since Mail is not usable.
    Tx for any hint on how to solve this issue

    It seems to be a recurring issue with 10.6.4...there's probably not much mere mortals like us can do. I haven't found a solution. Try re-installing 10.6.4.

Maybe you are looking for

  • Windows Live Messenger for MacBook

    I had to have a new hard drive installed in my MacBook & before I had windows live messenger with cam capabilities for MacBook.  Does anyone know where I can get this again?  I would really appreciate your help.

  • Crystal Report Activex Viewer Control

    <p> </p><p>Our users are prompted to download: Crystal Report Activex Viewer Control -- when trying to view reports. Since they do not have Admin rights on their PC, they are unable to install this Activex Control. Is there a setup file available som

  • JTable - custom JTableHeader with UP, DOWN sorting icon

    This is my code to create a custom JTableHeader. class MyHeaderRenderer extends DefaultTableCellRenderer { public MyHeaderRenderer() { setIcon(new ImageIcon("1.png")); setHorizontalAlignment(SwingConstants.CENTER); setBackground(Color.YELLOW); RowSor

  • Different mfile in applicatio​n (EXE)

    Hello, can You please help me? I have a problem with mfile in builded application. First, I have a main vi, in which is subvi with MathScript Node with 4 mfiles. These are stored in folder, where user can change them, but he doesn't change names of m

  • Error when number of instances reach 113

    we tested sending data to WLI from Enterprise Server. As soon as the # of instances increase to more than 113, the WLI does not send the XML document to Enterprise Server. As soon as we delete the instances from the WLI for that user it starts workin