Flex performance issues

hi
By using an mvc architecture ,is it possible to overcome Flex performance issues...???
Thanks
Saritha S

Excuse me ? If you develop a large scale application, you had better use a MVC architectural framework (with or without dependency injection) and additional design patterns like the presentation model. Otherwise, you will end up with code complexity as you try to overcome the inevitable structural problems as the application grows and THIS will end up in performance degradation.
-          Run the profiler to identify bottlenecks and memory leaks: number of instances of a given class, execution time of methods, memory usage … E.g item renderers
-          How much data is loaded, processed and displayed at any one time can have a big impact on performance. Reduce the amount of data: paging via parameter to the service
-          Reduce the layout complexity: remove containers so nestLevel <= 4
-          Remove event listeners: addEventListener () calls with corresponding removeEventListener() calls (do not use addEventListener() with weak reference as it decreases performance)
-          Deferred instantiation of UIComponents (e.g Viewstack children) aka lazy instantiation
-          Garbage collection: check Grant Skinner’s checklist
-          Interrupted execution of complex functions (especially when looping on a large data set): the function monitors its execution time and yields (returns) when the current call exceeds a given duration (usually, that of a frame at 24 fps, which is the default Flex framerate). It is called again on the next frame and so on and so forth until processing is complete. You can use callLater() for that.
-          Lazy loading of data
-          Use more efficient code. Favour re-use of existing code in the Flex framework rather than re-writing what exists. Favour simple solutions over complex ones when possible.
-          UID getter/setter in DTOs for improved performance in sorting / filtering of Array Collections
-          Too many data bindings decrease performance. Mainly use data binding to bind views to the presentation models. Use the ChangeWatcher class or direct assignment of values when possible.
-          Limit the number of calls to setStyle(). Use style declarations in CSS when possible.

Similar Messages

  • Adobe Flex Performance iSSUE

    hI,
    I need to build UI using ADobe flex that will connect BPM system. I have concurrent 500 users. Is this is feasible to develop application(UI) using Flex for such kind of application.
    Thanks,
    Vikash

    Hello Victor,
    We are using Flex at Taleo for an application that can have much more than 1,000 concurrent users. You just need to make sure that your architecture can scale horizontally and vertically. Flex isn't the best here, we also do have performance issues. If speed is your primary target, I suggests you to go pure HTML (5) and Javascript (jQuery, Dojo, etc.)
    Good luck.
    Nicolas Boulet-Lavoie
    Développeur logiciel
    Software Developer
    T. 418.524.5665 x 1454
    F: 418.524.8899
    C. [email protected]
    Ce courriel et toute pièce jointe peuvent contenir des renseignements confidentiels, particuliers ou protégés pour l'usage exclusif du destinataire du message original. Toute révision, copie ou distribution du présent courriel (ou de toute pièce jointe) par autrui est formellement interdite. Si vous n'êtes pas le destinataire prévu, veuillez retourner immédiatement le courriel à l'expéditeur et effacer définitivement l'original, les copies et les pièces jointes.
    This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient named in the original email to which this message was attached. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please return this email to the sender immediately and permanently delete the original and any copies of this email and any attachments thereto.

  • Flex Performance Issue 4.5

    I'm seeing HTTPService take up to three seconds from send() to result received. The server response is around 200ms. What could be causing this?

    That does give more data, although it's not clear to me what I'm seeing:
    (my result received) 383ms
    DirectHTTP MessageResponder.completeHandler 393ms (method stats show nothing)
    AsyncRequest.acknowledge 392ms (method calls DirectHTTPMessageResponder)
    Responder.result   390ms (method shows nothing)
    HTTPOperation 384ms (method shows nothing)
    there are about 1600 dispatch events that fire when the app starts up. The method is EventDispatcher.dispatchEventFunction, 422ms.
    The Callees are
    DirectHTTP MessageResponder.completeHandler 393ms
    [verify] 4ms
    TextContainerManager.dispatchEvent 2ms
    I assume these cumulative numbers would add up to the 5 seconds I'm seeing on some calls, but it looks more like they add up to around 1.2s.
    The DirectHTTP MessageResponder.completeHandler doesn't indicate that my result received is a callee, but I'm going to move that logic out of the result received to isolate the performance data.
    I'm assuming the flex contribution is 393 + 390 + 384 since each method is not a callee of the other. This still seems long. If you add in my result of 383, we're still less than two seconds. Still much less than the 5 seconds max I'm seeing.
    I would assume the cumulative callees of the dispatchEvent would have more than just those three above. I'm not filtering anything.

  • Performance issue : itemRenderers created twice

    Hi,
    I have a big performance issue with my flex app.
    I have a repeater whose repeated items contain a Tree.
    I noticed every of those tree elements where created twice (I
    call a static incremental counter on their creationComplete event).
    Does that symptom make you think of any problem I could have
    in my code ?

    First, Repeater is not a good choice if you have many complex
    elements because it renderers all off the items. How many items are
    you repeating? (what is the length of your dataProivder?)
    Second, I suspect your methodology for analyzing the
    instantiations. I have not see such a behavior. You might post a
    sample app that demonstrates the problem.
    Tracy

  • JavaScript and PS CS6: Performance issue

    Hi folks
    I have to admit we are stuck in our development: We have written a Phothoshop Plugin unsing extensive JavaScript and Flash Panels / Action Script.
    The Javascripts would, eg. select a given layer. When running the Javascript in PS CS5 or 5.1 everything is smooth and snappy but we've noticed, that the same JavaScript running in PS CS6 takes up to 300% more time.
    Does anyone having observed the same performance issues?
    Would it be faster to address the specific layers by their native Layer ID's rather than their names?
    Why is there such a performance slow down with the same JavaScripts / ActionScript-FlashPanel between CS5 and CS6?
    We have already contacted [email protected] (we are solution partner silver) but they do not start acting if you are using your own JavaScripts....
    You are our last hope :-( 
    I can send you some of the code but I don't want it to be publicly exposed here.
    Thanks in advance,
    Andrash

    Hi, since nobody bothers to answer we might have to find out ourselfs.
    Maybe it is caused by the way we address layers throug the script?
    Which method are you using?
    Are you addressing the layers directly or are you just cicling throug an array of layers?
    Are you pointing for the layers by their native ID or rather their layer names?
    How do you trigger the script: by another script? From a flash panel (Flex / Action Script)?
    We are using Flash Panels to start the script. The script simply calls a layer by it's name (a numerical ID that we apply to the layer). The script shall look up that specific layer and check if there is some content on the layer. We created a logger to see where the heavy amount of time is consumed and it seems, that it is while jumping to the layer.
    In CS5 that was all a matter of a split second. Now in CS6 it takes a couple of seconds (4sec.). We asked ADOBE Techsupport for help, but they didn't even bother to look at the problem since we are working with self written code (as every developer does.....?!?!). I wonder what techsupport is good for if not answering techical problems like this one.
    I hope that, with your answers we might circle in the cause of the problem!
    Cheers,
    Andreas

  • [svn:fx-trunk] 8742: * Revert revisions 8682 and 8734 due to performance issues.

    Revision: 8742
    Author:   [email protected]
    Date:     2009-07-22 14:07:24 -0700 (Wed, 22 Jul 2009)
    Log Message:
    Revert revisions 8682 and 8734 due to performance issues.  I'll
      recommit when they are worked out.
    tests Passed: checkintests
    Needs QA: YES
    Needs DOC: NO
    Bug unfixed: SDK-14251
    API Change: NO
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-14251
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/AbcCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Method.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Variable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/As3Compiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassE valuator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/TypeAnalyzer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/As3Class.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Method.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/TypeTable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Variable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
    Removed Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Assignable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Assignable.java

    ould wrote:
    I have done the hard work for you. My HTPC is pretty barebones so it was relatively easy to roll back all the packages that depend on libjpeg>7 with older versions. I then compiled the xbmc-svn package using that system. Slow downs are gone and I have uploaded the package to hotfile here:
    http://hotfile.com/dl/13546051/021f9c9/ … ar.gz.html
    This is for 32-bit. You will need the libjpeg6 package from AUR installed. I have tested it on two systems, my main system which has both libjpeg7 and the AUR libjpeg6 installed and on my htpc which has only the libjpeg6 along with the rolled back dependancies. Works good on both systems.
    Hope that helps!
    Kevin
    Thanks ould!! You got it working with libjpeg6 again!
    I had to upgrade libcdio again so now I lost dvd support. It's not easy to use the svn version.
    If you could compile the build against libcdio 0.80 I'd be forever grateful... If you've got the time.
    Last edited by Perre (2009-09-26 17:09:04)

  • Sun ONE 6.1 Performance Issues - Sleeping / Hanging

    We have been running the Sun family of web servers for many years now, and ran Netscape Enterprise Server 3.6 for a long time.
    Several months ago we upgraded to Sun ONE Web Server 6.0 and then 6.1. We have not had any issues until the past few weeks.
    Specifically, the web server appears to 'go to sleep' or 'hang' for many seconds - sometimes up to 45 seconds - before processing any requests.
    The server will accept the connection immediately but will not return a page. If left alone, the problem will go away, only to return again. A stop and start will also cure the problem.
    Some background: 6 web servers run on this same server (Sun E250 2x400 MHz, 1280 MB RAM) - these servers are all relatively lightly loaded. Copper gigabit connection for network.
    Primary data is static, with very few cgi-bin scripts and no applets or server-side Java.
    All 6 servers have DNS lookups enabled with caching. The server also has a local DNS caching server running (BIND 9) which is used to help performance.
    One of the 'public' web servers (external people can access it) is the one showing these performance issues. I've enabled statistics, and it seems during these 'sleepy' periods I see the following in /.perf (which it finally returns): (I am fetching /.perf every minute and timing how long it takes to fetch it, then saving it in a separate file):
    webservd pid: 9507
    Sun ONE Web Server 6.1 B08/22/2003 12:37 (SunOS DOMESTIC)
    Server started Thu Mar 11 00:31:37 2004
    Process 9507 started Thu Mar 11 00:31:37 2004
    ConnectionQueue:
    Current/Peak/Limit Queue Length 98/98/4096
    Total Connections Queued 17873
    Average Queueing Delay 0.11 milliseconds
    ListenSocket group1:
    Address http://146.137.96.68:80
    Acceptor Threads 1
    Default Virtual Server https-www.anl.gov
    KeepAliveInfo:
    KeepAliveCount 0/256
    KeepAliveHits 1414
    KeepAliveFlushes 0
    KeepAliveRefusals 0
    KeepAliveTimeouts 709
    KeepAliveTimeout 30 seconds
    SessionCreationInfo:
    Active Sessions 105
    Total Sessions Created 158/256
    CacheInfo:
    enabled yes
    CacheEntries 1024/1024
    Hit Ratio 58558/76530 ( 76.52%)
    Maximum Age 30
    Native pools:
    NativePool:
    Idle/Peak/Limit 1/1/128
    Work Queue Length/Peak/Limit 0/0/0
    DNSCacheInfo:
    enabled yes
    CacheEntries 406/2048
    HitRatio 16547/18476 ( 89.56%)
    Async DNS disabled
    Performance Counters:
    Average Total Percent
    Total number of requests: 16961
    Request processing time: 0.5940 10074.6680
    default-bucket (Default bucket)
    Number of Requests: 16961 (100.00%)
    Number of Invocations: 268684 (100.00%)
    Latency: 0.0013 21.2806 ( 0.21%)
    Function Processing Time: 0.5927 10053.3877 ( 99.79%)
    Total Response Time: 0.5940 10074.6680 (100.00%)
    Sessions:
    Process Status Function
    9507 response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response send-file
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response send-cgi
    response send-cgi
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response shtml_send
    response shtml_send
    response shtml-hacktype
    response flex-log
    response send-cgi
    response send-cgi
    response send-file
    response send-cgi
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response shtml_send
    response send-file
    response flex-log
    response send-cgi
    response shtml_send
    response flex-log
    response shtml_send
    response send-cgi
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response send-cgi
    response shtml_send
    response send-cgi
    response flex-log
    response shtml_send
    response send-file
    response send-cgi
    response shtml_send
    response shtml_send
    response flex-log
    response service-dump
    Why do I have all of these processes queued on the server?
    Is DNS causing this? I know Sun ONE 6.x does NOT have asynchronous DNS implemented (although it is an option, it has no effect). Did Netscape Enterprise Server 3.6 has ASync DNS implemented?
    We would like to avoid turning off DNS resolution for a number of reasons. However, what really bothers us is that this web server's performance suddenly became a problem while the other 5 servers see FANTASTIC performance and never go to sleep (although some of them are NOT accessible from the general Internet).
    Has anyone else seen this?
    As a side note, all of these web servers are using a NSAPI plugin that I wrote years ago. It's purpose is access control and automatic forwarding to different pages. It also uses DNS hostnames, but thinking it might be a problem with this web server, I've disabled DNS on the plug-in. It has not helped. Again, this plug-in has worked great for years and is quite straightforward and simple.
    Something tells me there is more going on here - thoughts or ideas?
    We're getting immensely frustrated here.
    In desperation we've made some magnus.conf changes but to no real effect (partially listed below):
    DNS on
    RqThrottle 256
    StackSize 131072
    CGIWaitPid on
    AsyncDNS off
    KeepAliveThreads 2
    MaxKeepAliveConnections 256
    UseNativePoll 1
    RcvBufSize 8192
    # default=100
    KeepAliveQueryMeanTime 25
    # default=100
    KeepAliveQueryMaxSleepTime 25
    # CGI
    MinCgiStubs 10
    MaxCgiStubs 50
    CGIStubIdleTimeout 45
    CGIExpirationTimeout 90
    Thanks for any pointers,
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Note that at the moment it seems to be responding normally, but we still have a lot of threads hanging around - very strange...
    9507 response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    processing flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response send-file
    response shtml_send
    response flex-log
    response shtml_send
    response send-file
    response service-dump
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response send-file
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response send-file
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log

  • Resize performance issue

    I have a wierd performance issue.  My application consists of a lot of Panels, VBoxes, and other containers which all have widths that are bound to the main Application's width using equations such as
    <Panel width="100%">
         <VBox width="{width * someRatio}" />
         <VBox width="{width * (1 - someRatio) - 10}"/>
    </Panel>
    Now when I resize the application by expanding the width to the right, the performance isnt too noticable.  But if I shorten the width by dragging to the left, then the program bogs down while the Panel's and VBox's slowly crawl to the left.  Does this have something to do with motion tweening?  Does anyone have some advice I can use to make my resizing more snappy?  This is a business application, so smooth pretty motion comes a distant second to snappy responsiveness.

    Try running it in the profiler to see what is going on.  For sure, if you make it small enough the containers will have to try to put up scrollbars and what not so there will be more work to do.
    You might also benefit from using constraintColumns instead of your binding expressions.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Spark Component TextArea Performance Issues

    The spark component TextArea cannot handle large text volumes gracefully. I am using a simple ascii file that is about 1.2 mg in size and I experience the following problems:
    1. Pasting the 1.2 mg of text in the TextArea takes a very long time (about 20-30 second). I get a message that the request timed out then the text is finally shown in the text area.
    2. Once the text is in the TextArea, paging up and down fast (that is not waiting for the previous page up and page down to complete) can cause the application to freeze. It takes a long time for it to come back.
    3. Selecting a large chunck of data and doing cut/paste/delete can also cause a freeze that may take a 20 or more seconds.
    The new spark.components.TextArea is definitely an improvement over mx.controls.TextArea but still has serious performance issues. A simple HTML text area seems to process the same volume without any issues (except some delay at the initial loading). Is there a chance these issues will be addressed before the release of FlashBuilder 4.0? is there a work around?

    Not much is needed. You can create an application that has nothing but the textarea:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application 
    <s:Application 
          xmlns:fx="http://ns.adobe.com/mxml/2009"      xmlns:s="
    library://ns.adobe.com/flex/spark"      xmlns:mx="
    library://ns.adobe.com/flex/halo" 
          minWidth="800" minHeight="600">
         <s:TextArea width='100%' height='100%' horizontalScrollPolicy="auto" verticalScrollPolicy="auto"/></s:Application>
    run it, copy the text in the attached Sample.txt file and paste into the text area. It takes more than 1 minute (did not time it) and then just before the text is displayed, I get this error message:
    Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
    The text is transferred to the textarea but the textarea is very sluggish (try arrow up, arrow down, page up, page down, try typing in the text area and then finally try select all and then cut or delete).
    I hope this helps and thanks.

  • Report Performance Issue - Activity

    Hi gurus,
    I'm developing an Activity report using Transactional database (Online real time object).
    the purpose of the report is to list down all contacts related activities and activities NOT related to Contact by activity owner (user id).
    In order to fullfill that requirment I've created 2 report
    1) All Activities related to Contact -- Report A
    pull in Acitivity ID , Activity Type, Status, Contact ID
    2) All Activities not related to Contact UNION All Activities related to Contact (Base report) -- Report B
    to get the list of activities not related to contact i'm using Advanced filter based on result of another request which is I think is the part that slow down the query.
    <Activity ID not equal to any Activity ID in Report B>
    Anyone encountered performance issue due to the advanced filter in analytic before?
    any input is really appriciated
    Thanks in advanced,
    Fina

    Fina,
    Union is always the last option. If you can get all record in one report, do not use union.
    since all records, which you are targeting, are in the activity subject area, it is not nessecery to combine reports. add a column with the following logic
    if contact id is null (or = 'Unspecified') then owner name else contact name
    Hopefully, this is helping.

  • Report performance Issue in BI Answers

    Hi All,
    We have a performance issues with reports. Report is running more than 10 mins. we took query from the session log and ran it in database, at that time it took not more than 2 mins. We have verified proper indexes on the where clause columns.
    Could any once suggest to improve the performance in BI answers?
    Thanks in advance,

    I hope you dont have many case statements and complex calculations that you do in the Answers.
    Next thing you need to monitor is how many rows of data that you are trying to retrieve from the query. If the volume is huge then it takes time to do the formatting on the Answers as you are going to dump huge volumes of data. Database(like teradata) returns initially like 1-2000 records if you hit show all records then even db is gonna fair amount of time if you are dumping many records
    hope it helps
    thanks
    Prash

  • BW BCS cube(0bcs_vc10 ) Report huge performance issue

    Hi Masters,
    I am working out for a solution for BW report developed in 0bcs_vc10 virtual cube.
    Some of the querys is taking more 15 to 20 minutes to execute the report.
    This is huge performance issue. We are using BW 3.5, and report devloped in bex and published thru portal. Any one faced similar problem please advise how you tackle this issue. Please give the detail analysis approach how you resolved this issue.
    Current service pack we are using is
    SAP_BW 350 0016 SAPKW35016
    FINBASIS 300 0012 SAPK-30012INFINBASIS
    BI_CONT 353 0008 SAPKIBIFP8
    SEM-BW 400 0012 SAPKGS4012
    Best of Luck
    Chris
    BW BCS cube(0bcs_vc10 ) Report huge performance issue

    Ravi,
    I already did that, it is not helping me much for the performance. Reports are taking 15 t0 20 minutes. I wanted any body in this forum have the same issue how
    they resolved it.
    Regards,
    Chris

  • Interested by performance issue ?  Read this !  If you can explain, you're a master Jedi !

    This is the question we will try to answer...
    What si the bottle neck (hardware) of Adobe Premiere Pro CS6
    I used PPBM5 as a benchmark testing template.
    All the data and log as been collected using performance counter
    First of all, describe my computer...
    Operating System
    Microsoft Windows 8 Pro 64-bit
    CPU
    Intel Xeon E5 2687W @ 3.10GHz
    Sandy Bridge-EP/EX 32nm Technology
    RAM
    Corsair Dominator Platinum 64.0 GB DDR3
    Motherboard
    EVGA Corporation Classified SR-X
    Graphics
    PNY Nvidia Quadro 6000
    EVGA Nvidia GTX 680   // Yes, I created bench stats for both card
    Hard Drives
    16.0GB Romex RAMDISK (RAID)
    556GB LSI MegaRAID 9260-8i SATA3 6GB/s 5 disks with Fastpath Chip Installed (RAID 0)
    I have other RAID installed, but not relevant for the present post...
    PSU
    Cosair 1000 Watts
    After many days of tests, I wanna share my results with community and comment them.
    CPU Introduction
    I tested my cpu and pushed it at maximum speed to understand where is the limit, can I reach this limit and I've logged precisely all result in graph (See pictures 1).
    Intro : I tested my E5-XEON 2687W (8 Cores Hyperthread - 16 threads) to know if programs can use the maximum of it.  I used Prime 95 to get the result.  // I know this seem to be ordinary, but you will understand soon...
    The result : Yes, I can get 100% of my CPU with 1 program using 20 threads in parallel.  The CPU gives everything it can !
    Comment : I put 3 IO (cpu, disk, ram) on the graph of my computer during the test...
    (picture 1)
    Disk Introduction
    I tested my disk and pushed it at maximum speed to understand where is the limit and I've logged precisely all result in graph (See pictures 2).
    Intro : I tested my RAID 0 556GB (LSI MegaRAID 9260-8i SATA3 6GB/s 5 disks with Fastpath Chip Installed) to know if I can reach the maximum % disk usage (0% idle Time)
    The result : As you can see in picture 2, yes, I can get the max of my drive at ~ 1.2 Gb/sec read/write steady !
    Comment : I put 3 IO (cpu, disk, ram) on the graph of my computer during the test to see the impact of transfering many Go of data during ~10 sec...
    (picture 2)
    Now, I know my limits !  It's time to enter deeper in the subject !
    PPBM5 (H.264) Result
    I rendered the sequence (H.264) using Adobe Media Encoder.
    The result :
    My CPU is not used at 100%, the turn around 50%
    My Disk is totally idle !
    All the process usage are idle except process of (Adobe Media Encoder)
    The transfert rate seem to be a wave (up and down).  Probably caused by (Encrypt time....  write.... Encrypt time.... write...)  // It's ok, ~5Mb/sec during transfert rate !
    CPU Power management give 100% of clock to CPU during the encoding process (it's ok, the clock is stable during process).
    RAM, more than enough !  39 Go RAM free after the test !  // Excellent
    ~65 thread opened by Adobe Media Encoder (Good, thread is the sign that program try to using many cores !)
    GPU Load on card seem to be a wave also ! (up and down)  ~40% usage of GPU during the process of encoding.
    GPU Ram get 1.2Go of RAM (But with GTX 680, no problem and Quadro 6000 with 6 GB RAM, no problem !)
    Comment/Question : CPU is free (50%), disks are free (99%), GPU is free (60%), RAM is free (62%), my computer is not pushed at limit during the encoding process.  Why ????  Is there some time delay in the encoding process ?
    Other : Quadro 6000 & GTX 680 gives the same result !
    (picture 3)
    PPBM5 (Disk Test) Result (RAID LSI)
    I rendered the sequence (Disk Test) using Adobe Media Encoder on my RAID 0 LSI disk.
    The result :
    My CPU is not used at 100%
    My Disk wave and wave again, but far far from the limit !
    All the process usage are idle except process of (Adobe Media Encoder)
    The transfert rate wave and wave again (up and down).  Probably caused by (Buffering time....  write.... Buffering time.... write...)  // It's ok, ~375Mb/sec peak during transfert rate !  Easy !
    CPU Power management give 100% of clock to CPU during the encoding process (it's ok, the clock is stable during process).
    RAM, more than enough !  40.5 Go RAM free after the test !  // Excellent
    ~48 thread opened by Adobe Media Encoder (Good, thread is the sign that program try to using many cores !)
    GPU Load on card = 0 (This kind of encoding is GPU irrelevant)
    GPU Ram get 400Mb of RAM (No usage for encoding)
    Comment/Question : CPU is free (65%), disks are free (60%), GPU is free (100%), RAM is free (63%), my computer is not pushed at limit during the encoding process.  Why ????  Is there some time delay in the encoding process ?
    (picture 4)
    PPBM5 (Disk Test) Result (Direct in RAMDrive)
    I rendered the same sequence (Disk Test) using Adobe Media Encoder directly in my RamDrive
    Comment/Question : Look at the transfert rate under (picture 5).  It's exactly the same speed than with my RAID 0 LSI controller.  Impossible !  Look in the same picture the transfert rate I can reach with the ramdrive (> 3.0 Gb/sec steady) and I don't go under 30% of disk usage.  CPU is idle (70%), Disk is idle (100%), GPU is idle (100%) and RAM is free (63%).  // This kind of results let me REALLY confused.  It's smell bug and big problem with hardware and IO usage in CS6 !
    (picture 5)
    PPBM5 (MPEG-DVD) Result
    I rendered the sequence (MPEG-DVD) using Adobe Media Encoder.
    The result :
    My CPU is not used at 100%
    My Disk is totally idle !
    All the process usage are idle except process of (Adobe Media Encoder)
    The transfert rate wave and wave again (up and down).  Probably caused by (Encoding time....  write.... Encoding time.... write...)  // It's ok, ~2Mb/sec during transfert rate !  Real Joke !
    CPU Power management give 100% of clock to CPU during the encoding process (it's ok, the clock is stable during process).
    RAM, more than enough !  40 Go RAM free after the test !  // Excellent
    ~80 thread opened by Adobe Media Encoder (Lot of thread, but it's ok in multi-thread apps!)
    GPU Load on card = 100 (This use the maximum of my GPU)
    GPU Ram get 1Gb of RAM
    Comment/Question : CPU is free (70%), disks are free (98%), GPU is loaded (MAX), RAM is free (63%), my computer is pushed at limit during the encoding process for GPU only.  Now, for this kind of encoding, the speed limit is affected by the slower IO (Video Card GPU)
    Other : Quadro 6000 is slower than GTX 680 for this kind of encoding (~20 s slower than GTX).
    (picture 6)
    Encoding single clip FULL HD AVCHD to H.264 Result (Premiere Pro CS6)
    You can look the result in the picture.
    Comment/Question : CPU is free (55%), disks are free (99%), GPU is free (90%), RAM is free (65%), my computer is not pushed at limit during the encoding process.  Why ????   Adobe Premiere seem to have some bug with thread management.  My hardware is idle !  I understand AVCHD can be very difficult to decode, but where is the waste ?  My computer want, but the software not !
    (picture 7)
    Render composition using 3D Raytracer in After Effects CS6
    You can look the result in the picture.
    Comment : GPU seems to be the bottle neck when using After Effects.  CPU is free (99%), Disks are free (98%), Memory is free (60%) and it depend of the setting and type of project.
    Other : Quadro 6000 & GTX 680 gives the same result in time for rendering the composition.
    (picture 8)
    Conclusion
    There is nothing you can do (I thing) with CS6 to get better performance actually.  GTX 680 is the best (Consumer grade card) and the Quadro 6000 is the best (Profressional card).  Both of card give really similar result (I will probably return my GTX 680 since I not really get any better performance).  I not used Tesla card with my Quadro, but actually, both, Premiere Pro & After Effects doesn't use multi GPU.  I tried to used both card together (GTX & Quadro), but After Effects gives priority to the slower card (In this case, the GTX 680)
    Premiere Pro, I'm speechless !  Premiere Pro is not able to get max performance of my computer.  Not just 10% or 20%, but average 60%.  I'm a programmor, multi-threadling apps are difficult to manage and I can understand Adobe's programmor.  But actually, if anybody have comment about this post, tricks or any kind of solution, you can comment this post.  It's seem to be a bug...
    Thank you.

    Patrick,
    I can't explain everything, but let me give you some background as I understand it.
    The first issue is that CS6 has a far less efficient internal buffering or caching system than CS5/5.5. That is why the MPEG encoding in CS6 is roughly 2-3 times slower than the same test with CS5. There is some 'under-the-hood' processing going on that causes this significant performance loss.
    The second issue is that AME does not handle regular memory and inter-process memory very well. I have described this here: Latest News
    As to your test results, there are some other noteworthy things to mention. 3D Ray tracing in AE is not very good in using all CUDA cores. In fact it is lousy, it only uses very few cores and the threading is pretty bad and does not use the video card's capabilities effectively. Whether that is a driver issue with nVidia or an Adobe issue, I don't know, but whichever way you turn it, the end result is disappointing.
    The overhead AME carries in our tests is something we are looking into and the next test will only use direct export and no longer the AME queue, to avoid some of the problems you saw. That entails other problems for us, since we lose the capability to check encoding logs, but a solution is in the works.
    You see very low GPU usage during the H.264 test, since there are only very few accelerated parts in the timeline, in contrast to the MPEG2-DVD test, where there is rescaling going on and that is CUDA accelerated. The disk I/O test suffers from the problems mentioned above and is the reason that my own Disk I/O results are only 33 seconds with the current test, but when I extend the duration of that timeline to 3 hours, the direct export method gives me 22 seconds, although the amount of data to be written, 37,092 MB has increased threefold. An effective write speed of 1,686 MB/s.
    There are a number of performance issues with CS6 that Adobe is aware of, but whether they can be solved and in what time, I haven't the faintest idea.
    Just my $ 0.02

  • Performance Issue for BI system

    Hello,
    We are facing performance issues for BI System. Its a preproductive system and its performance is degrading badly everyday. I was checking system came to know program buffer hit ratio is increaasing everyday due to high Swaps. So asked to change the parameter abap/buffersize which was 300Mb to 500Mb. But still no major improvement is found in the system.
    There is 16GB Ram available and Server is HP-UX and with Netweaver2004s with Oracle 10.2.0.4.0 installed in it.
    The Main problem is while running a report or creating a query is taking way too long time.
    Kindly help me.

    Hello SIva,
    Thanks for your reply but i have checked ST02 and ST03 and also SM50 and its normal
    we are having 9 dialog processes, 3 Background , 2 Update and 1 spool.
    No one is using the system currently but in ST02 i can see the swaps are in red.
    Buffer                 HitRatio   % Alloc. KB  Freesp. KB   % Free Sp.   Dir. Size  FreeDirEnt   % Free Dir    Swaps    DB Accs
    Nametab (NTAB)                                                                                0
       Table definition     99,60     6.798                                                   20.000                                            29.532    153.221
       Field definition     99,82      31.562        784                 2,61           20.000      6.222          31,11          17.246     41.248
       Short NTAB           99,94     3.625      2.446                81,53          5.000        2.801          56,02             0            2.254
       Initial records      73,95        6.625        998                 16,63          5.000        690             13,80             40.069     49.528
                                                                                    0
    boldprogram                97,66     300.000     1.074                 0,38           75.000     67.177        89,57           219.665    725.703bold
    CUA                    99,75         3.000        875                   36,29          1.500      1.401          93,40            55.277      2.497
    Screen                 99,80         4.297      1.365                 33,35          2.000      1.811          90,55              119         3.214
    Calendar              100,00       488            361                  75,52            200         42              21,00               0            158
    OTR                   100,00         4.096      3.313                  100,00        2.000      2.000          100,00              0
                                                                                    0
    Tables                                                                                0
       Generic Key          99,17    29.297      1.450                  5,23           5.000        350             7,00             2.219      3.085.633
       Single record        99,43    10.000      1.907                  19,41           500         344            68,80              39          467.978
                                                                                    0
    Export/import          82,75     4.096         43                      1,30            2.000        662          33,10            137.208
    Exp./ Imp. SHM         89,83     4.096        438                    13,22         2.000      1.482          74,10               0    
    SAP Memory      Curr.Use %    CurUse[KB]    MaxUse[KB]    In Mem[KB]    OnDisk[KB]    SAPCurCach      HitRatio %
    Roll area               2,22                5.832               22.856             131.072     131.072                   IDs           96,61
    Page area              1,08              2.832                24.144               65.536    196.608              Statement     79,00
    Extended memory     22,90       958.464           1.929.216          4.186.112          0                                         0,00
    Heap memory                                    0                  0                    1.473.767          0                                         0,00
    Call Stati             HitRatio %     ABAP/4 Req      ABAP Fails     DBTotCalls         AvTime[ms]      DBRowsAff.
      Select single     88,59               63.073.369        5.817.659      4.322.263             0                         57.255.710
      Select               72,68               284.080.387          0               13.718.442             0                        32.199.124
      Insert                 0,00                  151.955             5.458             166.159               0                           323.725
      Update               0,00                    378.161           97.884           395.814               0                            486.880
      Delete                 0,00                    389.398          332.619          415.562              0                             244.495
    Edited by: Srikanth Sunkara on May 12, 2011 11:50 AM

  • RE: Case 59063: performance issues w/ C TLIB and Forte3M

    Hi James,
    Could you give me a call, I am at my desk.
    I had meetings all day and couldn't respond to your calls earlier.
    -----Original Message-----
    From: James Min [mailto:jminbrio.forte.com]
    Sent: Thursday, March 30, 2000 2:50 PM
    To: Sharma, Sandeep; Pyatetskiy, Alexander
    Cc: sophiaforte.com; kenlforte.com; Tenerelli, Mike
    Subject: Re: Case 59063: performance issues w/ C TLIB and Forte 3M
    Hello,
    I just want to reiterate that we are very committed to working on
    this issue, and that our goal is to find out the root of the problem. But
    first I'd like to narrow down the avenues by process of elimination.
    Open Cursor is something that is commonly used in today's RDBMS. I
    know that you must test your query in ISQL using some kind of execute
    immediate, but Sybase should be able to handle an open cursor. I was
    wondering if your Sybase expert commented on the fact that the server is
    not responding to commonly used command like 'open cursor'. According to
    our developer, we are merely following the API from Sybase, and open cursor
    is not something that particularly slows down a query for several minutes
    (except maybe the very first time). The logs show that Forte is waiting for
    a status from the DB server. Actually, using prepared statements and open
    cursor ends up being more efficient in the long run.
    Some questions:
    1) Have you tried to do a prepared statement with open cursor in your ISQL
    session? If so, did it have the same slowness?
    2) How big is the table you are querying? How many rows are there? How many
    are returned?
    3) When there is a hang in Forte, is there disk-spinning or CPU usage in
    the database server side? On the Forte side? Absolutely no activity at all?
    We actually have a Sybase set-up here, and if you wish, we could test out
    your database and Forte PEX here. Since your queries seems to be running
    off of only one table, this might be the best option, as we could look at
    everything here, in house. To do this:
    a) BCP out the data into a flat file. (character format to make it portable)
    b) we need a script to create the table and indexes.
    c) the Forte PEX file of the app to test this out.
    d) the SQL staement that you issue in ISQL for comparison.
    If the situation warrants, we can give a concrete example of
    possible errors/bugs to a developer. Dial-in is still an option, but to be
    able to look at the TOOL code, database setup, etc. without the limitations
    of dial-up may be faster and more efficient. Please let me know if you can
    provide this, as well as the answers to the above questions, or if you have
    any questions.
    Regards,
    At 08:05 AM 3/30/00 -0500, Sharma, Sandeep wrote:
    James, Ken:
    FYI, see attached response from our Sybase expert, Dani Sasmita. She has
    already tried what you suggested and results are enclosed.
    ++
    Sandeep
    -----Original Message-----
    From: SASMITA, DANIAR
    Sent: Wednesday, March 29, 2000 6:43 PM
    To: Pyatetskiy, Alexander
    Cc: Sharma, Sandeep; Tenerelli, Mike
    Subject: Re: FW: Case 59063: Select using LIKE has performance
    issues
    w/ CTLIB and Forte 3M
    We did that trick already.
    When it is hanging, I can see what is doing.
    It is doing OPEN CURSOR. But not clear the exact statement of the cursor
    it is trying to open.
    When we run the query directly to Sybase, not using Forte, it is clearly
    not opening any cursor.
    And running it directly to Sybase many times, the response is always
    consistently fast.
    It is just when the query runs from Forte to Sybase, it opens a cursor.
    But again, in the Forte code, Alex is not using any cursor.
    In trying to capture the query,we even tried to audit any statementcoming
    to Sybase. Same thing, just open cursor. No cursor declaration anywhere.==============================================
    James Min
    Technical Support Engineer - Forte Tools
    Sun Microsystems, Inc.
    1800 Harrison St., 17th Fl.
    Oakland, CA 94612
    james.minsun.com
    510.869.2056
    ==============================================
    Support Hotline: 510-451-5400
    CUSTOMERS open a NEW CASE with Technical Support:
    http://www.forte.com/support/case_entry.html
    CUSTOMERS view your cases and enter follow-up transactions:
    http://www.forte.com/support/view_calls.html

    Earthlink wrote:
    Contrary to my understanding, the <font face="courier">with_pipeline</font> procedure runs 6 time slower than the legacy <font face="courier">no_pipeline</font> procedure. Am I missing something? Well, we're missing a lot here.
    Like:
    - a database version
    - how did you test
    - what data do you have, how is it distributed, indexed
    and so on.
    If you want to find out what's going on then use a TRACE with wait events.
    All nessecary steps are explained in these threads:
    HOW TO: Post a SQL statement tuning request - template posting
    http://oracle-randolf.blogspot.com/2009/02/basic-sql-statement-performance.html
    Another nice one is RUNSTATS:
    http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551378329289980701

Maybe you are looking for

  • SharePoint 2013 - Office web apps intermittent issue

    From past few weeks we are seeing issue while opening the documents from sites error message says "Sorry something went wrong + An unexpected error occur on the Server".  This happens with individual users accounts(Since it is expected behavior with

  • Fi_sd process

    when i am doing  mb1c i am getting  this error Posting only possible in periods 2014/03 and 2014/02 in company code SAP1 Message no. M7053 please help me

  • Black lines on flv/f4v export

    AE CS4... I am not sure what is going on, I did not have this issue with CS3. I am trying to export an flv or f4v (doesn't matter to me) for a web page.  My optimal output would be 400x300 square pixel from DV footage.  When I render out of AE I get

  • Creating custom Content Server Skin

    I have installed Oracle Content Server on my machine in order to create a demo. I would like to customise the skin of Content Server, in order to follow our company's style. I am following Brian Huff's book (The Definitive Guide to Stellent Content S

  • Can't open iPhoto on Time Machine from within iPhoto

    I have all my iPhoto (iLife 11) libraries backed up to Time Capsule. When I enter Time Machine to restore any other item (for example a Word document) it works fine. But when I try to restore an iPhoto library I get the message that I don't have perm