Changing execution times from recompile in 8.20

Well, we are starting to have some serious problems with LV8.20 and its now compile times. I have read there is compression now in saving VIs which reduced the size of saved files on disk. The problem is that LV8.20 takes MUCH LONGER to recompile a VI after any change than it ever did. We have some seriously large applications and VIs in the neighborhood of 5MB code size that always worked find pre-LabVIEW 8. You could never notice the compile time in LV7.1. Now, you move a wire or add a primitive and the compile time on a 3GHz machine takes 2-3 seconds. It is improssible to code with this delay, any way to turn that "feature" off.
What's worse, is that the execution times of VIs now changes after a recompile. We are seeing this in many of our applications when performance testing and targetting more deterministic code in RT. You recompile the VI and a component that you DID NOT EVEN CHANGE has a very drastic change in performance. I suspect its due to the VI compression/decompression, but that is a guess since it is new and this is the first time we have seen this happening to this extent in LV. Most of our developers have noticed this since switching to LV8.20 and causing us a lot of headaches.
Any workarounds or suggestions?

Hi Mike,
It looks like you are working on this issue with Avinash via phone/email, but for others who may be interested, there are two bugs filed that are somewhat related, one is regarding different execution times depending on the order of unbundling, the other is in regards to slowdowns in the development environment with large projects, where a project with a huge number of VIs takes longer to do things like open the VI Hierarchy, but it does not specifically mention things like moving wires taking a significantly longer period of time.  It may be helpful to send a project that can reproduce this also, which you may want to do via email/ftp site.
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

Similar Messages

  • Execution time from explain plan

    Hi
    How can i get the execution time of a query from explain plan (not tkprof). I don't see the execution time in the plan table output.
    Thanks

    Explain plan won't give execution time of a query because:
    - it does not execute the query
    - it only evaluates the execution plan and gives estimated costs
    I dont't know if it is possible to deduce execution time from estimated cost.
    Message was edited by:
    Pierre Forstmann

  • How to get the total execution time from a tkprof file

    Hi,
    I have a tkprof file. How can I get the total execution time. Going through the file i guess the sum of "Total Waited" would give the total time in the section "Elapsed times include waiting on following events:"
    . The sample of tkprof is given below.
    SQL ID: gg52tq1ajzy7t Plan Hash: 3406052038
    SELECT POSTED_FLAG
    FROM
    AP_INVOICE_PAYMENTS WHERE CHECK_ID = :B1 UNION ALL SELECT POSTED_FLAG FROM
      AP_PAYMENT_HISTORY APH, AP_SYSTEM_PARAMETERS ASP WHERE CHECK_ID = :B1 AND
      NVL(APH.ORG_ID, -99) = NVL(ASP.ORG_ID, -99) AND
      (NVL(ASP.WHEN_TO_ACCOUNT_PMT, 'ALWAYS') = 'ALWAYS' OR
      (NVL(ASP.WHEN_TO_ACCOUNT_PMT, 'ALWAYS') = 'CLEARING ONLY' AND
      APH.TRANSACTION_TYPE IN ('PAYMENT CLEARING', 'PAYMENT UNCLEARING')))
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute    442      0.08       0.13          0          0          0           0
    Fetch      963      0.22       4.72        350      16955          0         521
    total     1406      0.31       4.85        350      16955          0         521
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 173     (recursive depth: 1)
    Number of plan statistics captured: 1
    Rows (1st) Rows (avg) Rows (max)  Row Source Operation
             1          1          1  UNION-ALL  (cr=38 pr=3 pw=0 time=139 us)
             1          1          1   TABLE ACCESS BY INDEX ROWID AP_INVOICE_PAYMENTS_ALL (cr=5 pr=0 pw=0 time=124 us cost=6 size=12 card=1)
             1          1          1    INDEX RANGE SCAN AP_INVOICE_PAYMENTS_N2 (cr=4 pr=0 pw=0 time=92 us cost=3 size=0 card=70)(object id 27741)
             0          0          0   NESTED LOOPS  (cr=33 pr=3 pw=0 time=20897 us)
             0          0          0    NESTED LOOPS  (cr=33 pr=3 pw=0 time=20891 us cost=12 size=41 card=1)
             1          1          1     TABLE ACCESS FULL AP_SYSTEM_PARAMETERS_ALL (cr=30 pr=0 pw=0 time=313 us cost=9 size=11 card=1)
             0          0          0     INDEX RANGE SCAN AP_PAYMENT_HISTORY_N1 (cr=3 pr=3 pw=0 time=20568 us cost=2 size=0 card=1)(object id 27834)
             0          0          0    TABLE ACCESS BY INDEX ROWID AP_PAYMENT_HISTORY_ALL (cr=0 pr=0 pw=0 time=0 us cost=3 size=30 card=1)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                       350        0.15          4.33
      Disk file operations I/O                        3        0.00          0.00
      latch: shared pool                              1        0.17          0.17
    ********************************************************************************

    user13019948 wrote:
    Hi,
    I have a tkprof file. How can I get the total execution time.
    call count cpu elapsed disk query current rows
    total 1406 0.31 4.85 350 16955 0 521TOTAL ELAPSED TIME is 4.85 seconds from line above

  • How to change system time from Java

    Could someone tell me if there is possibility to change the system time, from within a Java program. And how to do it.

    In general, no.
    You could do it using JNI if you're running your JVM
    with sufficient system privileges.
    It seems a highly questionable thing to want to do.
    Why do you have a requirement for this?
    Sylvia.Now there's an idea (thread now has a 'watch'), I think I'll drop the the idea of being a hacker and learn how to write viruses instead - happy days ahead ...

  • How to get the BPEL instances execution time from dehydration db by query

    I want know list of BPEL instance takes more then 10seconds for execution between so and so time.
    Could please provide the query to get this details
    Thanks
    Panneer Selvam

    Tough and Tricky but here is the solution
    select * from dev1_soainfra.cube_instance where
    (select sum((extract(hour from MODIFY_DATE)-extract(hour from current_timestamp))*3600
    + (extract(minute from MODIFY_DATE)-extract(minute from current_timestamp))*60
    + extract(second from MODIFY_DATE)-extract(second from current_timestamp))*1000 from dev1_soainfra.cube_instance where
    COMPONENTTYPE='bpel' and COMPOSITE_NAME='COMPOSITE_NAME' ) > 1000000
    and COMPONENTTYPE='bpel' and COMPOSITE_NAME='COMPOSITE_NAME' ;
    Replace COMPOSITE_NAME with your actual name of the composite.
    Let me know if it works.

  • Cannot change the time from am to pm in Calendar T...

    No matter how I try, the time the reminder/alarm just doesn't change from am to pm. Is there some special trick to that?

    Once you've entered the time are you pressing the '7' key (with a 'p' on it) to state that the time is pm?
    Alternatively, have you tried entering the time in 24-hour format?
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Process Chain changing start time?

    hi guysm i have 76 process chains that run every day in BWD system, so i removed all the timings from the start variant and in the infopackages, but it seems some process chains are still running, i did do the following steps on chnaging the time from a particular time to immediate, Save, Check and activate, i didnt schedule it as i dont want it to load right away .
    do i have to hit check , save , schedule once i change the time from a particular time to immediate load or activate will work as well.?
    what else could be the cause of process chains still loading even there are no events, or time given to any process chains at all.
    i went to sm 37 and i can see the bi process are all running at the time they were orignially set up on.
    so any suggestions would help,
    is there any way from sm 37 i can tell which process chain is triggered off?
    thanks
    Dante(devils never cry)

    Dante, the start conditions on the infopackages do not affect when they run in process chains.  The process chains have their own start job.  If you want to change the start time of a process chain, then you need to go to maintain the process chain, right-click on the Start process and select Displaying Scheduled Job(s)... .  Here you will see a job called BI_PROCESS_TRIGGER.  Change the start conditions of this job. 
    The start job for all process chains is BI_PROCESS_TRIGGER, so using SM37 may be difficult to identify which BI_PROCESS_TRIGGER job is associated to a particular chain. 
    Also, to let you know, each process in a process chain has an associated job.  All jobs called BI_PROCESS_xxxxx are jobs associated with a process chain. 
    Eg. 
    BI_PROCESS_LOADING is an infopackage.
    BI_PROCESS_TRIGGER is the start job
    Does this help?

  • Query Execution times

    Hi All,
    I am trying to know the most used queries in our BI system by trying to find out how many times the query has been executed.
    we recently upgraded our BI system and I could find the number of times query has been executed by opening this report  SAP_BW_QUERY - No.of Executions per BI Application Object.
    The problem is that it is showing me the most used reports after upgrade and I would like to know from the last 6 months or 1 year.
    I have checked from the old BW statistics multiprovider and they are couple of reports there but none of the reports shows Execution times of queries.
    I checked from ST03N and it I got information for  only Query runtime.
    could someone let me know which report is related to number or execution times from old BW statistics.
    thanks

    Hi,
    Once see no.of Navigations, it is nothing but no of times executed. once check in that queries which allready developed.
    Regards
    Pcrao.

  • Capturing cfml execution time

    Hi, good day to all! Is there any way on how to capture an
    execution time of a cfm instruction? I have two situations, but I
    think they're similar as shown below:
    1st situation:
    <!--- start query --->
    <cfquery name = "q1" datasource="#db#">
    SQL statement
    </cfquery>
    <cfquery name = "q2" datasource="#db#">
    SQL statement
    </cfquery>
    <cfquery name = "q3" datasource="#db#">
    SQL statement
    </cfquery>
    <cfquery name = "q4" datasource="#db#">
    SQL statement
    </cfquery>
    <!--- end query --->
    For the 1st situation above, I want to capture the total
    execution time from q1 to q3 only. Also, I want to get the time
    each query is executed. Is there any way how?
    2nd situation (could be any cfml instructions):
    <!--- start cfml --->
    instruction 1............................
    instruction 2............................
    instruction 3............................
    instruction 4............................
    <!--- end cfml --->
    In the 2nd situation, I want to get the total execution time
    from instruction 1 to instruction 3 only.
    Any help is really appreciated. Thanks.
    Update ----------------------------------------
    By the way, I am using cf 6.1. It seems the gettickcount
    technique isn't returning the exact execution time. actually, i
    have a code in cf that contains a vbscript. that writes to an excel
    file. This is what i did:
    start:
    ..... cf tags here ...
    <cfset startTimer = GetTickCount()>
    <script language="vbscript">
    --- some vbscript and cf statements .........
    <cfoutput query = "some_query">
    objXL.ActiveSheet.Cells(X_Pos,1).Value = "#some_cf_value#"
    objXL.ActiveSheet.Cells(X_Pos,1).Font.size = "#FSize#"
    --- some vbscript and cf statements .........
    </cfoutput>
    --- some vbscript and cf statements .........
    </script>
    <cfset endTimer = GetTickCount()>
    <cfset totalTime_ms = endTimer - startTimer >
    end:
    totalTime_ms doesn't seem to return the exact length of time
    of the process. I mean, From one test, I tried to use a stopwatch
    and found out it took about 30 seconds to complete filling the
    excel file. But totalTime_ms returns only about 1500 ms, which is
    only about 1.5 seconds. The result is far from reality. Why? Is
    there any other way? Thanks.

    if you wanna know the execution time of the whole page, here
    is coding..
    put this
    <cfset tickBegin = GetTickCount()> on the top row of ur
    page.
    put this
    <cfset tickEnd = GetTickCount()>
    <cfset loopTime = tickEnd - tickBegin>
    <cfset loopTime = loopTime / 1000>
    <cfoutput>Messages Results #count_first# - #count_end#
    of about #ListLen(session.topic_replies_list)# for seconds
    milliseconds. (#loopTime# seconds)</cfoutput>
    at the bottom row of ur page.

  • AJAX, how to check execution time of queries?

    CF8, using CFDIV to bind to a CFC. The CFC has several SQL
    queries, including select, insert, update, delete. I need to check
    the execution time of these queries. I have the CF Ajax logger
    turned on (cfdebug), but it doesn't seem to list query execution
    times. I see the query execution times from normal form pages in
    the log info on that page, at the bottom as normal, but not the
    queries in Ajax binded CFC's.
    Am I missing a server setting? I have everything checked in
    the Ajax logger. Global, LogReader, http, bind, debug, info,error,
    window.
    Thanks in advance for any help!
    Mike

    I use Ajax (in CF7) a lot to access a SQL Server database. To
    determine execution times for Ajax queries, I run the application
    in Firefox with the "Firebug" add-on. Firebug reports the execution
    of each (and every) Ajax transaction in milliseconds.

  • OSB: reporting via service callout & reporting execution times

    Assume I made a common local service for a general report action and it's called from all inbound proxy services. At the moment all I see is in the report database is: inbound service uri: LocalProxy and inbound service name: <my local report service name>. How can I log the original service instead which was called?
    An other question: is it possible to report the execution time of the service call into the database as well? I'd prefer having two measures: service execution time from the inbound proxy service until it leaves the ESB with the response; and the called business service execution time.

    >
    How can I log the original service instead which was called?
    >
    It was discussed here before: Re: How to call a OSB proxy service from a different OSB process?
    Search forum to get more inputs.
    >
    An other question: is it possible to report the execution time of the service call into the database as well? I'd prefer having two measures: service execution time from the inbound proxy service until it leaves the ESB with the response; and the called business service execution time.
    >
    OSB out-of-box monitoring capabilities are not enough?
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/operations/monitoring.html
    If you want to log execution time of every single call, try searching forum again.

  • One space  changes query execution time significantly. Why?

    Hello,
    my application works on Oracle DB 10.2. Today it started "hanging" on one a select query, which earlier took 1-2 seconds to execute (I waited for several minutes and then stopped it). The query is executed, using the following code:
    PreparedStatement pst = conn.prepareStatement("select ... ? ... ? ... ? ");
    pst.setInt(1, ...);
    pst.setString(2, ...);
    pst.setInt(3, ...);
    ResustSet rs = pst.executeQuery();
    So, it started hanging on the executeQuery() method call.
    I started experimenting and discovered, that any minimal change to the query (for example, adding 1 adjacent space to the space that is already present) has the result, that query executes in 1-2 seconds again! But if I remove this additional unnecessary space - the query hangs again. This was reproduced with both web application and console application. Computing statistics didn't help.
    Several hours later without any interference everything became OK - execution time of that query became 1-2 seconds. But for some time the system was, in fact, unavailable. Why could it happen, how 1 space could make such a great difference and how to prevent this situation in the future?

    As others already mentioned you might have a problem where for some unknown reason the execution plan changes from fast to bad.
    A completely different idea would be to rewrite the statement, maybe it is possible to find a way where you allways get good plans.
    For example I'm not sure if the subquery is needed. If it is then better use alias names inside the subquery too.
    Suggestion
    select distinct vv.vv_id, vv.value, vv.vocabs_voc_id, vv.com, vv.status, vv.code,
                vv.main_vv_id, vt.vocabs_tree_node_id as node_id
                from vocs_values vv left join vt_vv vt
                on vv.vv_id = vt.vocs_values_vv_id
                connect by prior vv.main_vv_id = vv.vv_id
                start with (vv.vocabs_voc_id = ?
                                and upper(vv.value) like ? 
                                and vv.status = ? ); When looking in more detail I see that you alread used an alias from the outer query inside the subquery. Is this correct?
    I added some other aliases in blue for the subquery to show you the difference.
    Problem?
    select distinct vv.vv_id, vv.value, vv.vocabs_voc_id, vv.com, vv.status, vv.code,
                vv.main_vv_id, vt.vocabs_tree_node_id as node_id
                from vocs_values vv left join vt_vv vt
                on vv.vv_id = vt.vocs_values_vv_id
                connect by prior vv.main_vv_id = vv.vv_id
                start with vv.vv_id in (select {color:blue}vv2.{color}vv_id
                                   from vocs_values {color:blue}vv2{color}
                                   where {color:blue}vv2.{color}vocabs_voc_id = ?
                                   and upper({color:red}vv.{color}value) like ? 
                                   and {color:blue}vv2.{color}status = ? );Shouldn't you replace {color:red}vv.{color} with {color:blue}vv2.{color}?
    Edited by: Sven W. on Nov 5, 2008 1:21 PM
    Edited by: Sven W. on Nov 5, 2008 1:26 PM

  • Execution times and other issues in changing TextEdit documents

    (HNY -- back to terrorize everyone with off-the-wall questions)
    --This relates to other questions I've asked recently, but that may be neither here nor there.
    --Basically, I want to change a specific character in an open TextEdit document, in text that can be pretty lengthy. But I don't want pre-existing formatting of the text to change.
    --For test purposes the front TextEdit document is simply an unbroken string of letters (say, all "q's") ranging in number from 5 and upwards. Following are some of the results I've gotten:
    --1) Using a do shell script routine (below), the execution is very fast, well under 0.1 second for changing 250 q's to e's and changing the front document. The problem is that the formatting of the first character becomes the formatting for the entire string (in fact, for the entire document if there is subsequent text). So that doesn't meet my needs, although I certainly like the speed.
    --SCRIPT 1
    tell application "TextEdit"
    set T to text of front document
    set Tnew to do shell script "echo " & quoted form of T & " | sed 's/q/e/g'"
    set text of front document to Tnew
    end tell
    --END SCRIPT 1
    --The only practical way I've found to change a character AND maintain formatting is the "set every character where it is "q" to "e"" routine (below). But, for long text, I've run into a serious execution speed problem. For example, if the string consists of 10 q's, the script executes in about 0.03 second. If the string is 40 characters, the execution is 0.14 second, a roughly linear increase. If the string is 100 characters, the execution is 2.00 seconds, which doesn't correlate to a linear increase at all. And if the string is 250 characters, I'm looking at 70 seconds. At some point, increasing the number of string characters leads to a timeout or stall. One interesting aspect of this is that, if only the last 4 characters (example) of the 250-character string are "q", then the execution time is again very quick.
    --SCRIPT 2
    tell application "TextEdit"
    set T to text of front document
    tell text of front document
    set every character where it is "q" to "e"
    end tell
    end tell
    --END SCRIPT 2
    --Any insight into this issue (or workaround) will be appreciated.
    --In the real world, I most often encounter the issue when trying to deal with spaces in long text, which can be numerous.

    OK, Camelot, helpful but maddening. Based on your response. I elected to look at this some more, even though I'm stuck with TextEdit on this project. Here's what I found, not necessarily in the order I did things:
    1) I ran your "repeat" script on my usual machine (2.7 PPC with 10.4.6)) and was surprised to consisently get about 4.25 seconds -- I didn't think it should matter, but I happened to run it with Script Debugger.
    2) Then, curious as to what a slower processor speed would do, I ran it at ancient history speed -- a 7500 souped up to 700 MHz. On a 10.4.6 partition, the execution time was about 17 seconds, but on a 10.3.6 partition it was only about 9.5 seconds. (The other complication with this older machine is that it uses XPostFacto to accommodate OS X.) And I don't have Script Debugger for 10.3.x, so I ran the script in Script Editor on that partition.
    3) That got me wondering about Script Editor vs. Script Debugger, so (using 10.4.6) I ran the script on both the old machine and my (fast) usual machine using Script Editor. On the old machine, it was somewhat faster at about 14 seconds. But, surprise!, on the current machine it took twice as long at 8.6 seconds. The story doesn't end here.
    (BTW, I added a "ticks" routine to the script, so the method of measuring time should be consistent. And I've been copying and pasting the script to the various editors, so there shouldn't be any inconsistencies with it. I've consistently used a 250-character unbroken string of the target in a TextEdit document.)
    4) Mixed in with all these trials, I wrote a script to get a list of offsets of all the target characters; it can be configured to change the characters or not. But I found some intriguing SE vs. SD differences there also. In tests on the fast machine, running the script simply to get the offset list (without making any changes), the list is generated in under a second -- but sometimes barely so. The surprise was that SE ran it in about half the time as SD. although SD was about twice as fast with a script that called for changes. Go figure.
    5) Since getting the offset list is pretty fast in either case, I was hoping to think up some innovative way of using the offset list to make changes in the document more quickly. But running a repeat routine with the list simply isn't innovative, and the result is roughly what I get with your repeat script coupled with an added fraction of a second for generating the list. Changing each character as each offset is generated also yields about the same result.
    My conclusion from all this is that the very fast approaches (which lose formatting) are changing the characters globally, not one at a time as occurs visibly with techniques where the formatting isn't lost. I don't know what to make of SE vs. SD, but I repeated the runs several times in each editor, with consistent results.
    Finally, while writing the offset list script, I encountered a couple AS issues that I've seen several times in the past (having nothing specifically to do with this topic), but I'll present that as a new post.
    Thanks for your comments and any others will be welcome.

  • Schedule lines should not change 3 weeks time from MRP date

    Hi
    Is there any specific customisation required to get following results in case of schedule lines.
    1) MRP should not change/adjust the already send delivery schedule lines  which are lying within 3 weeks time from MRP date
    2) System should not allow to book the GRN unless the messages / print out has been generated from the system in case of scheduling agreement.
    Thanking you
    Shantakumar
    09944009752

    Hi,
    There are 2 possibilities:
         1. use MRP fixing using planning time fences, this is done by putting the relevant settings in the MRP1 view of the material master
         2. use the firming options of the scheduling agreement, these are set per material number that is entered in the scheduling agreement.
    The GR can only be posted for schedule lines that have been processed aka output generated.
    Regards,

  • How can I prevent the settings on iMessage from changing each time I sync the devices with iTunes on our iMac?

    Each time I sync an apple device (iPad, iPad mini, iPhone) with iTunes on our iMac the settings on iMessage and phone settings change. We use the same Apple ID and have different e-mail addresses and phone numbers; however, each time a device is sync'd on iTunes on our iMac, the iMessage settings and phone settings are changed so that we all each get each other's text messages and phone calls. After the device is sync'd/charged, I have to go into each device (all of them somehow update when only one is sync'ing) and re-set the settings to what we want. How can I prevent settings from being changed each time?

    Okay I've tried safe mode.  Let it run down to 98%, plugged it in, locked the screen, and waited.  A few minutes later, the screen came on showing the 100% icon at the top right, full battery icon just to the left of the time, 100% text to the left of that.
    I'm not going to do a hard reset until I have confirmation that this is not normal behavior for the phone because that's going to take hours of my time and gigabytes of data transfer to get all of my media and apps back on the phone and configured.
    After all my griping, I do have to give credit where it's due.  This phone is much more efficient than my Galaxy Nexus.  I left the S5 running in WiFi hotspot mode while on battery last night.  It still had over 50% left on the battery.  The Galaxy Nexus would be stone dead after about 4 hours.  I can live with that if I have to but I'd really rather be able to leave it on the charger at night.

Maybe you are looking for

  • One page on my site will not load

    Hello After publishing an article, I clicked the link that led back to my site and got an error window which said... "The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that

  • Can the exported video from FCP X play in WMV?

    (1) Can the exported video from FCP X play in WMV? (2) If not, can I convert with the help of Compressor 4 to make it to play in WMV?

  • Sun Access Manager Event Sequence

    I have a third party black box piece of hardware that is redirecting browser requests to my server for authentication. I want to utilize the Sun Access Manager to perform these authentications. Do I need to use the Policy Agent, or should I attempt t

  • Portal integration with BW

    Hi, I have to integrate SAP EP6.0 with BW3.5. I have created the RFC destination for J2EE Engine. While I create the RFC destination for Sap BW, I am getting the error "Error opening an RFC destination." My settings under transacation SM59 ARE AS: 1.

  • / as sysdba

    Hi , I connected to a database using remote desktop, and when i tried to connect it using / as sysdba , it got connected , though it did not shut down when i gave shutdown immediate command. It said : insufficient privileges. But i am wondering , why