Performance and code execution time

I've just successfully compiled TidyHTML into SWC library and after running a few test I am a bit disappointed - execution time of flashcc-generated code on my PC is near 500 ms(and approximitly 3000 ms on Nexus 7), when C++ console application executes the same code in 36 ms. So C++ application is almost at 14 times faster - is this normal for Crossbridge? TidyHTML was compiled into static library using gcc with -O4 flag, and SWC was compiled with g++ using the same optimization level.

Thank you for answer, I'll check it out with Scout. I understand how it works so I do not counting on a same performance as native code may show. But a 14x difference in performance seems suspicious. I've noticed that on first run of function from SWC on Android tablet it takes 3 seconds, but during next calls - approximitly 1 second, that looks more close to expected result. On PC code executes among 750-800 ms on first run and 410 ms after that.

Similar Messages

  • Process and thread execution time

    HI all
    I am doing a project to develop a high level simulation framework. In the project I need to calculate the number of cycles of a snippet of code in a thread. Like
    void func()
    event1():
    int x;
    x = x * x;
    for();
    while();
    exec(numberofcyles)
    event2();
    Here I want to calculate the number of cycles between event1 and event2 and pass these number of cycles to the exec(numberofcycles) which will later on be simulated. I investigated a number of tools like gprof, Dtrace, linux process statistics, rdstc, getrusage(). None of these seems to be very relevent.
    I tried linux process statistics i.e. /proc/<pid>/task/<tid>/stat. I can access the execution time of threads, but all the time I get 0 execution time. What I think that it reads the execution time of threads when it was started. Is there any way to get the updated execution time of thread?
    Any help will be highly appreciated.
    Irfan

    I suggest reposting in the Unix forum here:
    http://discussions.apple.com/forum.jspa?forumID=735

  • SQL Tuning and OPTIMIZER - Execution Time with  " AND col .."

    Hi all,
    I get a question about SQL Tuning and OPTIMIZER.
    There are three samples with EXPLAIN PLAN and execution time.
    This "tw_pkg.getMaxAktion" is a PLSQL Package.
    1.) Execution Time : 0.25 Second
    2.) Execution Time : 0.59 Second
    3.) Execution Time : 1.11 Second
    The only difference is some additional "AND col <> .."
    Why is this execution time growing so strong?
    Many Thanks,
    Thomas
    ----[First example]---
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Connected as dbadmin2
    SQL>
    SQL> EXPLAIN PLAN FOR
      2  SELECT * FROM ( SELECT studie_id, tw_pkg.getMaxAktion(studie_id) AS max_aktion_id
      3                    FROM studie
      4                 ) max_aktion
      5  WHERE max_aktion.max_aktion_id < 900 ;
    Explained
    SQL> SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3201460684
    | Id  | Operation            | Name        | Rows  | Bytes | Cost (%CPU)| Time
    |   0 | SELECT STATEMENT     |             |   220 |   880 |     5  (40)| 00:00:
    |*  1 |  INDEX FAST FULL SCAN| SYS_C005393 |   220 |   880 |     5  (40)| 00:00:
    Predicate Information (identified by operation id):
       1 - filter("TW_PKG"."GETMAXAKTION"("STUDIE_ID")<900)
    13 rows selected
    SQL>
    Execution time (PL/SQL Developer says): 0.25 seconds
    ----[/First]---
    ----[Second example]---
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Connected as dbadmin2
    SQL>
    SQL> EXPLAIN PLAN FOR
      2  SELECT * FROM ( SELECT studie_id, tw_pkg.getMaxAktion(studie_id) AS max_aktion_id
      3                    FROM studie
      4                 ) max_aktion
      5  WHERE max_aktion.max_aktion_id < 900
      6    AND max_aktion.max_aktion_id <> 692;
    Explained
    SQL> SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3201460684
    | Id  | Operation            | Name        | Rows  | Bytes | Cost (%CPU)| Time
    |   0 | SELECT STATEMENT     |             |    11 |    44 |     6  (50)| 00:00:
    |*  1 |  INDEX FAST FULL SCAN| SYS_C005393 |    11 |    44 |     6  (50)| 00:00:
    Predicate Information (identified by operation id):
       1 - filter("TW_PKG"."GETMAXAKTION"("STUDIE_ID")<900 AND
                  "TW_PKG"."GETMAXAKTION"("STUDIE_ID")<>692)
    14 rows selected
    SQL>
    Execution time (PL/SQL Developer says): 0.59 seconds
    ----[/Second]---
    ----[Third example]---
    SQL> EXPLAIN PLAN FOR
      2  SELECT * FROM ( SELECT studie_id, tw_pkg.getMaxAktion(studie_id) AS max_aktion_id
      3                    FROM studie
      4                 ) max_aktion
      5  WHERE max_aktion.max_aktion_id < 900
      6    AND max_aktion.max_aktion_id <> 692
      7    AND max_aktion.max_aktion_id <> 392;
    Explained
    SQL> SELECT * FROM TABLE(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3201460684
    | Id  | Operation            | Name        | Rows  | Bytes | Cost (%CPU)| Time
    |   0 | SELECT STATEMENT     |             |     1 |     4 |     6  (50)| 00:00:
    |*  1 |  INDEX FAST FULL SCAN| SYS_C005393 |     1 |     4 |     6  (50)| 00:00:
    Predicate Information (identified by operation id):
       1 - filter("TW_PKG"."GETMAXAKTION"("STUDIE_ID")<900 AND
                  "TW_PKG"."GETMAXAKTION"("STUDIE_ID")<>692 AND
                  "TW_PKG"."GETMAXAKTION"("STUDIE_ID")<>392)
    15 rows selected
    SQL>
    Execution time (PL/SQL Developer says): 1.11 seconds
    ----[/Third]---Edited by: thomas_w on Jul 9, 2010 11:35 AM
    Edited by: thomas_w on Jul 12, 2010 8:29 AM

    Hi,
    this is likely because SQL Developer fetches and displays only limited number of rows from query results.
    This number is a parameter called 'sql array fetch size', you can find it in SQL Developer preferences under Tools/Preferences/Database/Advanced tab, and it's default value is 50 rows.
    Query scans a table from the beginning and continue scanning until first 50 rows are selected.
    If query conditions are more selective, then more table rows (or index entries) must be scanned to fetch first 50 results and execution time grows.
    This effect is usually unnoticeable when query uses simple and fast built-in comparison operators (like = <> etc) or oracle built-in functions, but your query uses a PL/SQL function that is much more slower than built-in functions/operators.
    Try to change this parameter to 1000 and most likely you will see that execution time of all 3 queries will be similar.
    Look at this simple test to figure out how it works:
    CREATE TABLE studie AS
    SELECT row_number() OVER (ORDER BY object_id) studie_id,  o.*
    FROM (
      SELECT * FROM all_objects
      CROSS JOIN
      (SELECT 1 FROM dual CONNECT BY LEVEL <= 100)
    ) o;
    CREATE INDEX studie_ix ON studie(object_name, studie_id);
    ANALYZE TABLE studie COMPUTE STATISTICS;
    CREATE OR REPLACE FUNCTION very_slow_function(action IN NUMBER)
    RETURN NUMBER
    IS
    BEGIN
      RETURN action;
    END;
    /'SQL array fetch size' parameter in SQLDeveloper has been set to 50 (default). We will run 3 different queries on test table.
    Query 1:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id < 900
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      1.22       1.29          0       1310          0          50
    total        3      1.22       1.29          0       1310          0          50
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
         50  INDEX FAST FULL SCAN STUDIE_IX (cr=1310 pr=0 pw=0 time=355838 us cost=5536 size=827075 card=165415)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
         50   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)Query 2:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id < 900
          AND max_aktion.max_aktion_id > 800
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.01          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      8.40       8.62          0       9351          0          50
    total        3      8.40       8.64          0       9351          0          50
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
         50  INDEX FAST FULL SCAN STUDIE_IX (cr=9351 pr=0 pw=0 time=16988202 us cost=5552 size=41355 card=8271)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
         50   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)Query 3:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id = 600
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     18.72      19.16          0      19315          0           1
    total        3     18.73      19.16          0      19315          0           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
          1  INDEX FAST FULL SCAN STUDIE_IX (cr=19315 pr=0 pw=0 time=0 us cost=5536 size=165415 card=33083)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
          1   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)Query 1 - 1,29 sec, 50 rows fetched, 1310 index entries scanned to find these 50 rows.
    Query 2 - 8,64 sec, 50 rows fetched, 9351 index entries scanned to find these 50 rows.
    Query 3 - 19,16 sec, only 1 row fetched, 19315 index entries scanned (full index).
    Now 'SQL array fetch size' parameter in SQLDeveloper has been set to 1000.
    Query 1:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id < 900
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     18.35      18.46          0      19315          0         899
    total        3     18.35      18.46          0      19315          0         899
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
        899  INDEX FAST FULL SCAN STUDIE_IX (cr=19315 pr=0 pw=0 time=20571272 us cost=5536 size=827075 card=165415)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
        899   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)Query 2:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id < 900
          AND max_aktion.max_aktion_id > 800
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     18.79      18.86          0      19315          0          99
    total        3     18.79      18.86          0      19315          0          99
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
         99  INDEX FAST FULL SCAN STUDIE_IX (cr=19315 pr=0 pw=0 time=32805696 us cost=5552 size=41355 card=8271)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
         99   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)Query 3:
    SELECT * FROM ( SELECT studie_id, very_slow_function(studie_id) AS max_aktion_id
                         FROM studie
                  ) max_aktion
    WHERE max_aktion.max_aktion_id = 600
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     18.69      18.84          0      19315          0           1
    total        3     18.69      18.84          0      19315          0           1
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 93  (TEST)
    Rows     Row Source Operation
          1  INDEX FAST FULL SCAN STUDIE_IX (cr=19315 pr=0 pw=0 time=0 us cost=5536 size=165415 card=33083)(object id 79865)
    Rows     Execution Plan
          0  SELECT STATEMENT   MODE: ALL_ROWS
          1   INDEX   MODE: ANALYZED (FAST FULL SCAN) OF 'STUDIE_IX' (INDEX)And now:
    Query 1 - 18.46 sec, 899 rows fetched, 19315 index entries scanned.
    Query 2 - 18.86 sec, 99 rows fetched, 19315 index entries scanned.
    Query 3 - 18.84 sec, 1 row fetched, 19315 index entries scanned.

  • Alert with event for delayed job and long execution time

    Dear All,
    We are planning to send alert via email in case job delayed or long execution time.
    I have followed below steps:
    1) Create event Raise Event when job is delayed.
    2) create job chain with STEP1, Job 1 and assign event in raise event parameter.
    3) Once job chain delayed it should raise events.
    4) Above event should trigger custom email but I can not put the Mail_To parameter as IN parameter. And can not be recognized during
    execution.
    It ends with the below error.
    Details:
    JCS-122035: Unable to persist: JCS-102075: Mandatory parameter not set: Parameter Mail_To for job 20413
    at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:805)
    at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:757)
    Please let us know if anybody knows how to add Mail_To parameter to script.
    Any help is appreciated.
    Thanks in advance.
    Regards,
    Jiggi

    Dear Jiggi,
    where will you define execution time of particular job? because some jobs will take only 1 or 2 minutes, but some jobs normally take more than hours, so how will you decide execution time of individual jobs?
    i thinks you can use P_TO Parameter for sending mail, if you want to add some output log activate spool output script.
    Thanks and regards
    Muhammad Asif

  • GE60 0ND, 100% HDD activity ruins performance and start up time

    MSi GE60 0ND-463UK
    i7 3630QM
    GTX 660M
    16GB Corsair Vengeance RAM 1600Mhz
    Basically lately my laptop has begun starting up with 100% HDD activity and the odd occasion with it as well and that completely hults my laptops performance and is VERY ANNOYING, this ever happened before so I'm assuming something has gone wrong and would hope someone can help identify the issue.
    The most common cause of my 100% HDD activity and laptop performance dip is: System (ntoskrnl) NT Kernal and System.
    Also have another issue that makes me close to strangling a random person and that is updating and reconfiguring can take 30 MINUTES TO AN HOUR TO DO..................................... ............... Please tell me there is a solution for this, as I can't be the only person with this issue.

    The 100% HDD activity sounds really strange.....Almost sounds like there is something else going on. Like you have a virus or trojan.
    As far as the updating and reconfiguring, there's a thread here SOMEWHERE (I can't remember the name, but it's in the notebooks forum) that explains how to fix it. I would do a forum search in this forum for "Windows 8 updating reconfiguring" and you should be able to find it there. You're not the only person who has had this issue.   

  • Stop and Pause Buttons and Estimated Execution Time

    I have more or less completed my programme (as attached).
    I am just left with two doubts - first: is it possible to let the user know the estimated time to finish executing the entire code/ running the entire experiment on my devices?
    I am currently trying to calculate this estimated time by using the arithmetic functions and time stamp. I tried putting on both the left and right sides of my case structure but it never runs - I tired running the code and after all other commands are executed, the estimated time is still not displayed. I suspect that even if the estimated time is displayed, it would only be displayed after all other commands are executed.
    I have tried looking up on timed structures but they don't seem to fit the job.
    Do you have any advice on this?
    Second: While loops could only be stopped (by pressing my 'STOP' button/Boolean that is linked to the loop condition) only after the first execution of the loop. How could I let my user stop the execution of code during the first run of the loop or should I wire my code differently using another structure?
    As for the 'Pause' button to pause the VI, I have read about the 'Wait for' function (http://zone.ni.com/reference/en-XX/help/371361H-01/glang/wait_for_front_panel_act/). I am not sure if this is the right function I am looking for and if this function enables the user to 'un-pause'/toggle the switch and enable the execution of the subsequent commands.
    This function seems useful but it does not solve the problem of the while loop having to execute at least once before I terminate it and it seems like this function acts like a 'Stop' function that exits the loop, terminating all commands instead of pausing the VI.
    What is your advice on this?
    Thank you so so much!

    Duplicate Post

  • Find start and end execution time of a sql statement?

    I am have databases with 10.2.0.3 and 9.2.0.8 on HP UNIX 11i and Windows 200x.
    I am not in a position to turn on sql tracing in production environment. Yet, I want to find when a sql statement started executing and when it ended. When I look at v$sql, it has information such FIRST_LOAD_TIME, LAST_LOAD_TIME etc. No where it has information last time statement began execution and when it ended execution.. It shows no of executions, elapsed time etc, but they are cumulative. Is there a way to find individual times (time information each time a sql statement was executed. – its start time, its end time ….)? If I were to write my own program how will I do it?
    Along the same line, when an AWR snapshot is shown, does it only include statements executed during that snapshot or it can have statements from the past if they have not been flushed from shared memory. If it only has statements executed in the snapshot period, how does it know when statement began execution?

    Hi,
    For oracle 10g you can use below query to find start and end time, you can see data for last seven days.
    select min(to_char(a.sample_time,'DD-MON-YY HH24:MI:SS')) "Start time", max(to_char(a.sample_time,'DD-MON-YY HH24:MI:SS')) "End Time", b.sql_text
    from dba_HIST_ACTIVE_SESS_HISTORY a,DBA_HIST_SQLTEXT b where
    a.sql_id=b.sql_id
    order by 1;
    Regards
    Jafar

  • Exchange performance and Data Execution Prevention

    Hi
    Is there any impact on Exchange server performance related to (DEP) Data Execution Prevention ? Should I exclude Exchange processes from DEP ?
    I searched for any blog/forum post that would discuss this subject but had no luck finding any.
    Regard,

    Hi Grzegorz,
    Data Execution Prevention is a Windows feature, not an Exchange server feature.
    DEP is enabled on computers that are running Microsoft Windows Server by default.
    In our lab, we often turn it on. Sometimes it can resulting that messaging performance is slower than expected. Besides, there is no official articles or blogs to explain how the Data Execution Prevention affect Exchange performance.
    Hope my clarification is helpful.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Jrockit JVM GC issue - weblogic performance and crashes at times

    On enabling the verbose gc for memory debug, we have observer the following and we frequently face a JVM issue i.e JVM will be unresponsive due to GC pause and on checking we found the following in GC log.
    [memdbg ][Tue Jul 13 01:02:12 2010][26381] GC reason: TLA allocation failed, cause: Get TLA From Nursery
    [memdbg ][Tue Jul 13 01:02:12 2010][26381] Stopping of javathreads took 2.234 ms
    As of now the following is the TLA size:-
    [memdbg ][Tue Jul 13 01:00:10 2010][26381] Minimum TLA size is 2048 bytes
    [memdbg ][Tue Jul 13 01:00:10 2010][26381] Preferred TLA size is 65536 bytes
    [memdbg ][Tue Jul 13 01:00:10 2010][26381] Large object limit is 2048 bytes
    After consultaion with oracle support team, they have asked to us increase the TLA size and we did as follows but we still see the same message.
    tried setting
    -XXlargeObjectLimit:16k -XXminBlockSize:16k -XXtlaSize:min=16k,preferred=32k
    it was still a problem, tried
    -XXlargeObjectLimit:32k -XXminBlockSize:32k -XXtlaSize:min=32k,preferred=64k
    and we sill the following message.
    [memdbg ][Wed Jul 21 03:14:06 2010][11864] f0 3.75Gb
    [memdbg ][Wed Jul 21 03:14:06 2010][11864] Minimum TLA size is 16384 bytes
    [memdbg ][Wed Jul 21 03:14:06 2010][11864] Preferred TLA size is 32768 bytes
    [memdbg ][Wed Jul 21 03:14:06 2010][11864] Large object limit is 16384 bytes
    [memdbg ][Wed Jul 21 03:14:06 2010][11864] Minimal blocksize on the freelist is 16384 bytes
    [memdbg ][Wed Jul 21 03:14:06 2010][11864] Initial and maximum number of gc threads: 8, of which 8 parallel threads, 4 concurrent threads, and 8 yc threads.
    [memdbg ][Wed Jul 21 03:14:06 2010][11864] Preferred free list cache percentage 10%.
    [memdbg ][Wed Jul 21 03:14:06 2010][11864] Maximum nursery percentage of free heap is: 95.
    [nursery][Wed Jul 21 03:14:06 2010][11864] Optimal nursery size: 536870912, free heap: 1073741824
    [nursery][Wed Jul 21 03:14:06 2010][11864] Setting mmNurseryMarker[0] to 0x12affff8
    [nursery][Wed Jul 21 03:14:06 2010][11864] Setting mmNurseryMarker[1] to 0x1aaffff0
    [nursery][Wed Jul 21 03:14:06 2010][11864] Nursery size increased from 0kb to 524288kb. Parts: 1
    [memdbg ][Wed Jul 21 03:14:06 2010][11864] Prefetch distance in balanced tree: 4
    [compact][Wed Jul 21 03:14:06 2010][11864] Compactset limit: 7600010, Using matrixes: 0, Static: 0
    [memory ][Wed Jul 21 03:14:06 2010][11864] GC mode: Garbage collection optimized for throughput, initial strategy: Generational Parallel Mark & Sweep
    [memory ][Wed Jul 21 03:14:06 2010][11864] heap size: 1048576K, maximal heap size: 1048576K, nursery size: 524288K
    [memory ][Wed Jul 21 03:14:06 2010][11864] <s>-<end>: GC <before>K-><after>K (<heap>K), <pause> ms
    [memory ][Wed Jul 21 03:14:06 2010][11864] <s/start> - start time of collection (seconds since jvm start)
    [memory ][Wed Jul 21 03:14:06 2010][11864] <end> - end time of collection (seconds since jvm start)
    [memory ][Wed Jul 21 03:14:06 2010][11864] <before> - memory used by objects before collection (KB)
    [memory ][Wed Jul 21 03:14:06 2010][11864] <after> - memory used by objects after collection (KB)
    [memory ][Wed Jul 21 03:14:06 2010][11864] <heap> - size of heap after collection (KB)
    [memory ][Wed Jul 21 03:14:06 2010][11864] <pause> - total sum of pauses during collection (milliseconds)
    [memory ][Wed Jul 21 03:14:06 2010][11864] run with -Xverbose:gcpause to see individual pauses
    [memdbg ][Wed Jul 21 03:14:39 2010][11864] GC reason: TLA allocation failed, cause: Get TLA From Nursery
    [memdbg ][Wed Jul 21 03:14:39 2010][11864] Stopping of javathreads took 1.627 ms
    [nursery][Wed Jul 21 03:14:39 2010][11864] KeepAreaStart: 0x1aaffff0 KeepAreaEnd: 0x22b00000
    [nursery][Wed Jul 21 03:14:39 2010][11864] Young collection 1 started. This YC is running while the OC is in phase: not running.
    [memdbg ][Wed Jul 21 03:14:39 2010][11864] A pinned object was found: 0x11a4d4a0
    [memdbg ][Wed Jul 21 03:14:39 2010][11864] A pinned object was found: 0x11a30010
    [nursery][Wed Jul 21 03:14:39 2010][11864] Found pinned object: 0x11a4d4a0 - 0x11a4f4b0
    Are there any standard tuning recommendations for Jrockit JVM to come over this GC issue? At present, we are using following JAVA options.
    -XXlargeObjectLimit:32k -XXminBlockSize:32k -XXtlaSize:min=32k,preferred=64k -verbose:gc -Xverboselog:/tmp/gc.log -Xverbose:memory,gcpause,memdbg,compaction,gc -Xverbosetimestamp -Xgcreport
    -RR
    Regards
    Ranga

    If you want to optimize for pausetime, you can use for example
    -Xms512m -Xmx512m -Xns256m -XXkeepAreaRatio:25 -Xgcprio:pausetime -XpauseTarget:200msThe parameters xms and xmx can be adjusted to your wishes.

  • Execution Time for T.Code

    Hi Experts,
    I want to know the exact execution time for a t.code. I check it in ST03 or ST03n but I can't get proper data. In ST03 I get the average and total response time but I want the exact ececution or response  time.
    Waiting for your inputs.
    Regards,
    Nisit

    From SAP
    For old verions
    In ST03 transaction
    click on "Performance Database" tab 
    Then double click on Total
    It will open Dialogue box CHOOSE TIME PERIOD  ,select the time period and then click on the required date
    Then Click on Transaction Profile ,here it will give the list of transaction executed and its execution time
    In STO3N , you will find "TRANSACTION PROFILE" under Analysis views, when you double click on it will give present days Transaction codes executed.
    If you want the month data then go to Export mode in ST03n ,you will get the data "TRANSACTION PROFILE" under Analysis views  .
    Regards,
    Beena

  • Timing C Code execution

    I am attempting to increase time the c code execution time as
    I improve the performance of my algorithm. I tried using time.h and
    when doing something simple like
    time_t1;
    time(t1);
    The compiler responds with
    called object ‘&time’ is not a function
    What is the best method for timing the c execution time given
    we are not using the Alchemy gcc?

    Yea...I am looking for something on the C side of things. I
    tried using clock() also but I don't feel like the values are
    correct. The timings stay the same every time I run the program
    even with changes to the C code and some other odd results. Any
    thoughts? I could just be doing something wrong...does anyone know
    if this should work???

  • To reduce execution time of a Business Objects Dataservices job.

    The  issue that we are facing-
    Our goal-  To compare a record from a file  with 422928 records from another table on basis of  name & country, if a match is found then you take some specific columns of that matched record (from the table ) as our ouput.
    What we are doing-  We are at 1st  removing duplicates by doing matching on the address components (i.e.- addr_line1, city, state, postal code & country), here                    the break key for match transform is country & postal_code, its taking 1823.98 secs. Now the record count is 193317
                      Then we are merging the file record along with the 193317 records to put them in the same path and send them for matching.
                      The match criteria is the firm name & iso_country_cd,
                       the break key for match transform is the  iso_country_cd & the 1st  letter  of the name.
                       It took 1155.156 secs.
    We have used the "Run match as seperate process' option for the match to reduce the time.
    The whole job took  3038.805 secs.
    Please suggest how to reduce the execution time.
    Edited by: Susmit Das on Mar 29, 2010 7:41 AM

    This really is impossible to help with without seeing your code.
    Replacing while loops with Timed Loops will not help. Timed Loops are used for slowing while loops down in a controlled manner. You would use them to synchronise with a clock rate, and can set other parameters for priority and CPU allocation etc. These will not likely help to reduce your execution time.
    If you are seeing code execution of 1 second then you will need to optimise your code to reduce the execution time. There are LabVIEW guides on how to improve your code execution time, just search around for them.
    Also try using the Profiling tools to learn which VIs (I presume your code is componentised and each while loop contains subVIs?) are hogging the most CPU time.
    If you cannot share your VI then there it is very hard to know where your code execution bottlenecks are.
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • Cftrace speeding up page execution time

    A bit of a wierd one... I have a site where one page was
    reporting execution times of over 4000ms. So I put in some cftrace
    tags through the code to see what was taking so long, and it
    started producing execution times of around 400ms, ten times
    faster. I commented out the cftrace tags, and the execution time
    went back up to 4000ms. Undid the commenting, and the page
    execution again fell to 400ms.
    Obviously it's not a big problem, but I can't understand why
    it would cause this behaviour. Any ideas?

    I hope you meant decrease your load time!
    Optimizing your files before uploading to a server is guaranteed to help as well as giving your site a chance to load in Internet Explorer.
    See....
    http://www.tonbrand.nl/
    Using a simple flash player for your music files will help and they will be more universally playable than QuickTime.....
    http://roddymckay.com/Satellite/FlashPlayer.html

  • Execution time of Business Rule

    Hi,
    My rule is taking more than a day to run. How can i watch its exact execution time. I can't see it in job console as it shows that the business rule is still in processing. And i have also checked in HSP_JOB_STATUS table. It also shows that it is in processing.
    Is there an other way to see the exact execution time of business rule.
    Thanks and Regards.

    To see the exact execution time, you can check in HBRlaunch.log file in planning.
    If you want to track the execution time of different parts of your calculation script/business rule then see the essbase application log in detail in EAS.
    To see log specific to your business rule, use maxl and spool log to text file, this will give you the logs related to your business rule only and the execution time.
    Thanks
    YSP

  • Can the format of a SQL Statement modify the execution time of an SQL ....

    Can the format of a SQL Statement modify the execution time of an SQL statement?
    Thanks in advance

    It depends on:
    1) What oracle version are you using
    2) What do you mean for "format"
    For example: if you're on Oracle9i and changing format means changing the order of the tables in the FROM clause and you're using Rule Based Optimizer then the execution plan and the execution time can be very different...
    Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2009/12/29/estrarre-i-dati-in-formato-xml-da-sql/]

Maybe you are looking for

  • BO Enterprise Alias can't be deleted.

    Post Author: pvierheilig CA Forum: Administration Windows BOE XI R2 Sp2 FP 2.2 Our users are added via MS AD mapping. A BO alias was created for the user. When the user quit, the AD user was removed and we'd like to delete the remaining BO alias. Thi

  • Using 2 different ipods on one computer

    Can someone please help, i have a color ipod set up on my computer, and my friend brought over a original ipod (the same as mine but with no color) and we are trying to put songs on her ipod and mine but for some reason the computer will not recogniz

  • Java.lang.SecurityException when granting java permission

    DB version 11.1.07 We used this command to grant the following permission in development and stage environment with no problems. exec dbms_java.grant_permission( 'SCHEMA', 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' ); When the same comma

  • Flickering/Refresh rates RoboHTML 6.0

    We just recently upgraded to RoboHTML 6.0. Now the Topics Pane on the left-hand side of the screen refreshes constantly. This constant flickering is enough to drive you batty. I looked at refresh rates in the online help & the only thing I could find

  • I have 2 iphone with separated AppleID , I cannot access the Icloud in both

    Hi, I created 2 Icluod accounts for 2 Iphone 4S I have for my sons. I Tried to backup my contacts but I got all the 1'st contacts list in the 2'nd Iphoe it was download from cluod to both. How I can make sure the icloud backup will be separetly betwe