CPU Optimization on RT Target

Hello all,
I am working on an issue an would really appreciate some help.
I am using an sbRIO 9612 for a sort of data acquisition procees. I am acuiring  data on the sbRIO and transferring it via network to the host where it is displayed, etc...
My objective is to try to minimize the CPU utilization time on the sbRIO. For this reason I am using a producer consumer architecture where the producer acquires data and buffers it into a queue (or a single process shared variable with FIFO enabled)  at a rate of 1 loop/ms and the consumer is responsible for sending data to the host.
What I was able to achieve is the following:
1. Instead of sending data one item at a time, I used the consumer loop to build an 50 element array of the data and send it every 50 ms to release the CPU for some time. This enhanced the performance by about 15%
2. I also replaced using the shared variables in sending the data to the host by using Network streaming which also reduced CPU usage by 10%.
3. Using Queues instead of the single process shared variables to send data from producer to consumer didn't seem to affect the CPU usage.
I want to know if anybody has other ideas that allow me to further decrease the CPU usage by proposing different approaches, architectures, functions.... anything that might help me have a starting point to think of,
Thank you
Best Regards

I would tweak the size of the "clumps" of data you are sending between your loops and through the Ethernet port to see what is most efficient.  Keep in mind that you are handing data through 3 FIFOs:
1) FPGA to RT - you can change the value of the FPGA Interface.FIFO Read method.  You need to ensure that you are reading often enough to not overflow the buffer, but generally a larger read size at a given thoughput will use less CPU than multiple smaller reads.
2) Producer to Consumer - The Queue/RT FIFO/Shared Variables used to pass data from producer to consumer
3) RT to Host PC (Ethernet, Network Streaming) - most networks max out their throughput and are most efficient near their MTU packet size.  
I have a hypothesis that making the size of the data packet passed from all 3 FIFOs the same size (or a multiple of a common minimum denominator) will help boost performance because you'll be able to pass data around in a manageable chunk rather than breaking it up and reassembling it at each touch point.  By that logic, it would make sense to pick a packet size that is near the MTU size for the Ethernet network, and back propagate that all the way to the RT read from the FPGA.
Hope this helps, and the disclaimer: these are suggestions for things I would try if I were in your shoes, not things I can guarantee will give the ultimate performance boost you may be looking for.  I think your overall architecture is sound, but depending on how complex and sustainable you intend this application to be, you may have a look at a couple resources I found on ni.com, including:
Reference Example for Streaming Data from FPGA to cRIO to Windows (a little older, written in 8.5, so it may not be using some of the new features you've taken advantage of)
Using NI CompactRIO and LabVIEW for Online Signal Processing and Data Recording (intended for inline analysis, but also includes streaming features - takes advantage of the CompactRIO Waveform Reference Library for FPGA to RT streaming - if doing data conversion, fixed to floating point, this example also includes FPGA based IP for conversion that will max your throughput)
Cheers,
Spex
National Instruments
To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be...

Similar Messages

  • CPU optimization in Mainstage

    Hi Everyone!
    I am running MS 2.1.1 with the Hardware listed below. I usually run Channel EQ and Compression on every layer and Guitar Amp Pro or NI Guitar Rig for Amp Sims with my EP's (usually EVP but sometimes Scarbee in NI Komplete). I have been experiencing CPU spikes and "in the Red" indicators with more frequency than normal. I have done all the traditional optimization and diagnostic procedures and would appreciate any further help and suggestions.
    Thanks in Advance!!!

    Nice setup. I am assuming you have all other applications shut down when running MainStage. Sometimes if you have a LOT of patches with a LOT of plug-ins and virtual instruments setup, you can start to hit a threshold. You could use your Concert and save it under a different name, then experiment by cutting out certain things to see what is overloading your setup. Often, it is third-party stuff. For Apple stuff, the "Designer" plug ins (verb, delay, amp sims) eat up cpu.
    Other stuff to try. Take advantage of your hardware DSP (eq, compression, verb, limiter, etc) in you Ultralite inputs to off load it from MainStage (you can even route MainStage outputs to Ultralite inputs to do this with virtual instruments). Use aliases whenever you can to reduce the use of duplicate plug-ins/instruments in multiple patches. If you have sets that don't change, you can also make separate Concerts for sets, and load them in before the set. Check you buffer setting and make sure it is not set too low. Set it as high as you can without your being bugged by latency effects.
    Its nice to get to the point where you can rapidly scroll through your patches without red lining your cpu, so thats a good goal....

  • CPU optimization: Acceptable amount for a smartphone?

    Hi - I've been optimizing my *** off with removeListeners and vectors to bitmaps etc etc etc... However I am also removing tweening animation that I would like to include but I remove it in case it slows down smartphone too mcuh.
    I have a dul intel core 1,86 mz and 2GB of ram.
    Some of my programmes run at 20% CPU - would they run OK on the new android driven smartphones or would I blow them to pieces, if so what would be a decent CPU usage on my developper machine to know tI would have no problems.
    Thanks

    Excellent answer.
    I should have just looked up the specs.
    What I'll probably do is cut out the tweens and things on the phone but keep them for when specs rise - I suppose when they all get to a decent level then things should be easier. I can get the CPU usage down to 10 in any case and it onlyjumps to 20 if I have a little animation in there so it won't be too hard on the CPU and only in places. I'll just have to see if that causes a lag and if so - change the sliding animation to a make visible animation.
    I was only wandering because the iphone apps seem to have quite a bit of animation with no problem - is that because they have higher processing power?
    Cheers

  • Z77A-G45- CPU fan speed problem

    Hi all, new to this forum and MSI Motherboards.
    i have a problem with my CPU fan speed when i plug any fan and water cooler fan into the CPU 4pin they all run at 2000+ rpm, but when i use the fan 1 or fan 2 --4 pin it runs at a slower speed of 1400rpm, am i missing something in bios, i have 2.5 version of bios, would be greatfull for any help....

    Should be able to adjust in the section below or with control center.
    Quote
    Hardware Monitor
    Press <Enter> to enter the sub-menu.
    CPU Smart Fan Target
    Controls CPU fan speed automatically depending on the current temperature and
    to keep it with a specific range. If the current CPU temperature reaches the target
    value, the smart fan function will be activated.
    SYS Fan1/ Fan2 Control
    These items allow users to select how percentage of speed for the SYSFAN1.
    CPU/ System Temperature, CPU FAN/ SYS FAN 1/ SYS FAN2 Speed
    These items show the current status of all of the monitored hardware devices/ components
    such as CPU temperature/ system temperature and the few fans’ speeds.

  • Latch: row cache objects

    Hello everyone,
    Note: Apologize for the bad formatting, tried but it seems I forgot how to use it
    BANNER
    Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    I've seen  high "*latch: row cache objects*" in SP/ASH report for ~14 hours back, when the users were unable to connect to the database. There were,
    WARNING: inbound connection timed out (ORA-3136)
      Time: 30-APR-2012 02:24:36
      Tracing not turned on.
      Tns error struct:
    errors all over the alert log for the duration of 6 minutes of the problem.
    I've put few records in bold due to which I concluded that the problem was with "dc_users" thing.
    Can anybody tell me how/where I should proceed forward ?
    SP report:Instance Efficiency Indicators
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait %: 100.00 Redo NoWait %: 100.00
    Buffer Hit %: 99.84 Optimal W/A Exec %: 100.00
    Library Hit %: 97.43 Soft Parse %: 87.86
    Execute to Parse %: 22.54 Latch Hit %: 99.95
    Parse CPU to Parse Elapsd %: 0.30 % Non-Parse CPU: 87.83
    Shared Pool Statistics Begin End
    Memory Usage %: 45.09 46.98
    % SQL with executions>1: 11.49 13.15
    % Memory for SQL w/exec>1: 72.96 21.33
    Top 5 Timed Events Avg %Total
    ~~~~~~~~~~~~~~~~~~ wait Call
    Event Waits Time (s) (ms) Time
    latch: row cache objects 6,655 634,260 95306 97.0
    log file sync 289,923 6,469 22 1.0
    CPU time 5,039 .8
    db file sequential read 310,084 2,840 9 .4
    log file parallel write 451,706 1,144 3 .2
    ASH Report
    Analysis Begin Time: 30-Apr-12 02:24:00
    Analysis End Time: 30-Apr-12 02:30:00
    Elapsed Time: 6.0 (mins)
    Begin Data Source: DBA_HIST_ACTIVE_SESS_HISTORY
    in AWR snapshot 12185
    End Data Source: DBA_HIST_ACTIVE_SESS_HISTORY
    in AWR snapshot 12185
    Sample Count: 1,385
    Average Active Sessions: 38.47
    Avg. Active Session per CPU: 1.60
    Report Target: None specified
    Top User Events DB/Inst: NIKU/niku (Apr 30 02:24 to 02:30)
    Avg Active
    Event Event Class % Event Sessions
    latch: row cache objects Concurrency 75.45 29.03
    CPU + Wait for CPU CPU 9.75 3.75
    log file sync Commit 3.83 1.47
    db file sequential read User I/O 3.61 1.39
    Top Event P1/P2/P3 Values DB/Inst: NIKU/niku (Apr 30 02:24 to 02:30)
    Event % Event P1 Value, P2 Value, P3 Value % Activity
    Parameter 1 Parameter 2 Parameter 3
    latch: row cache objects         75.60       "42287858200","279","0"      75.60
    address number tries
      1* select addr, latch#, child#, name, misses, gets from v$latch_children where name like '%row%cache%objec%'  order by gets , misses
    niku> /
    ADDR                 LATCH#     CHILD# NAME                                                   MISSES       GETS
    0000000A16FF21C8        279         26 row cache objects                                           0          0
    0000000A16FF14C8        279          2 row cache objects                                           0          0
    00000009D88D7ED8        279          3 row cache objects                                           0          0
    0000000A16FF1B48        279         14 row cache objects                                           0          0
    00000009D88D8558        279         15 row cache objects                                           0          0
    0000000A16FF1CE8        279         17 row cache objects                                           0          0
    0000000A26265A28        279         19 row cache objects                                           0          0
    0000000A16FF1E88        279         20 row cache objects                                           0          0
    00000009D88D8898        279         21 row cache objects                                           0          0
    0000000A26265BC8        279         22 row cache objects                                           0          0
    0000000A16FF2028        279         23 row cache objects                                           0          0
    00000009D88D8A38        279         24 row cache objects                                           0          0
    0000000A26265D68        279         25 row cache objects                                           0          0
    00000009D88D8BD8        279         27 row cache objects                                           0          0
    0000000A26265F08        279         28 row cache objects                                           0          0
    00000009D88D8D78        279         30 row cache objects                                           0          0
    0000000A262660A8        279         31 row cache objects                                           0          0
    0000000A16FF2508        279         32 row cache objects                                           0          0
    0000000A16FF26A8        279         35 row cache objects                                           0          0
    00000009D88D90B8        279         36 row cache objects                                           0          0
    0000000A262663E8        279         37 row cache objects                                           0          0
    0000000A262668C8        279         46 row cache objects                                           0          0
    0000000A26266A68        279         49 row cache objects                                           0          0
    0000000A16FF2368        279         29 row cache objects                                           0         11
    0000000A16FF2848        279         38 row cache objects                                           0        116
    0000000A16FF29E8        279         41 row cache objects                                           0        200
    00000009D88D93F8        279         42 row cache objects                                           0        318
    00000009D88D9258        279         39 row cache objects                                           0       1010
    0000000A16FF2EC8        279         50 row cache objects                                           0       1406
    00000009D88D9598        279         45 row cache objects                                           0       1472
    0000000A26266588        279         40 row cache objects                                           0       1705
    0000000A26266728        279         43 row cache objects                                           0       7383
    0000000A16FF2B88        279         44 row cache objects                                           0      32346
    00000009D88D98D8        279         51 row cache objects                                          19      63948
    0000000A26265888        279         16 row cache objects                                           0      88045
    0000000A26266248        279         34 row cache objects                                           0     141176
    00000009D88D9738        279         48 row cache objects                                           0     326672
    0000000A16FF19A8        279         11 row cache objects                                         867    1770385
    00000009D88D8078        279          6 row cache objects                                           9    1979542
    0000000A16FF2D28        279         47 row cache objects                                           2    3435018
    00000009D88D86F8        279         18 row cache objects                                        2557   14956121
    0000000A26265068        279          1 row cache objects                                         224   24335868
    0000000A262653A8        279          7 row cache objects                                       29760  133991553
    00000009D88D8F18        279         33 row cache objects                                       60612  677263122
    00000009D88D83B8        279         12 row cache objects                                       23981  739014460
    0000000A26265208        279          4 row cache objects                                    19973399  852043775
    0000000A26265548        279         10 row cache objects                                      280137  856097342
    00000009D88D8218        279          9 row cache objects                                   715879777 1219000976
    0000000A262656E8        279         13 row cache objects                                     3856073 2397402780
    0000000A16FF1668        279          5 row cache objects                                    12763217 2920278217
    *0000000A16FF1808        279          8 row cache objects                                    67329804 4145389092*
    51 rows selected.
    niku> list
      1 select addr, latch#, child#, name, misses, gets from v$latch_children where name like '%row%cache%objec%'  order by gets , misses
    niku> select distinct s.kqrstcln latch#,r.cache#,r.parameter name,r.type,r.subordinate#
    from v$rowcache r,x$kqrst s
    where r.cache#=s.kqrstcid
    order by 1,4,5;  2    3    4
        LATCH#     CACHE# NAME                                               TYPE        SUBORDINATE#
             1          3 dc_rollback_segments                               PARENT
             2          1 dc_free_extents                                    PARENT
             3          4 dc_used_extents                                    PARENT
             4          2 dc_segments                                        PARENT
             5          0 dc_tablespaces                                     PARENT
             6          5 dc_tablespace_quotas                               PARENT
             7          6 dc_files                                           PARENT
             *8         10 dc_users                                           PARENT*
             *8          7 dc_users                                           SUBORDINATE            0*
             *8          7 dc_users                                           SUBORDINATE            1*
             *8          7 dc_users                                           SUBORDINATE            2*
             9          8 dc_objects                                         PARENT
             9          8 dc_object_grants                                   SUBORDINATE            0
            10         17 dc_global_oids                                     PARENT
            11         12 dc_constraints                                     PARENT
            12         13 dc_sequences                                       PARENT
            13         16 dc_histogram_defs                                  PARENT
            13         16 dc_histogram_data                                  SUBORDINATE            0
            13         16 dc_histogram_data                                  SUBORDINATE            1
            14         54 dc_sql_prs_errors                                  PARENT
            15         32 kqlsubheap_object                                  PARENT
            16         19 dc_table_scns                                      PARENT
            16         19 dc_partition_scns                                  SUBORDINATE            0
            17         18 dc_outlines                                        PARENT
            18         14 dc_profiles                                        PARENT
            19         47 realm cache                                        PARENT
            19         47 realm auth                                         SUBORDINATE            0
            20         48 Command rule cache                                 PARENT
            21         49 Realm Object cache                                 PARENT
            21         49 Realm Subordinate Cache                            SUBORDINATE            0
            22         46 Rule Set Cache                                     PARENT
            23         34 extensible security user and rol                   PARENT
            24         35 extensible security principal pa                   PARENT
            25         37 extensible security UID to princ                   PARENT
            26         36 extensible security principal na                   PARENT
            27         33 extensible security principal ne                   PARENT
            28         38 XS security class privilege                        PARENT
            29         39 extensible security midtier cach                   PARENT
            30         43 AV row cache 1                                     PARENT
            31         44 AV row cache 2                                     PARENT
            32         45 AV row cache 3                                     PARENT
            33         15 global database name                               PARENT
            34         20 rule_info                                          PARENT
            35         21 rule_or_piece                                      PARENT
            35         21 rule_fast_operators                                SUBORDINATE            0
            36         23 dc_qmc_ldap_cache_entries                          PARENT
            37         52 qmc_app_cache_entries                              PARENT
            38         53 qmc_app_cache_entries                              PARENT
            39         27 qmtmrcin_cache_entries                             PARENT
            40         28 qmtmrctn_cache_entries                             PARENT
            41         29 qmtmrcip_cache_entries                             PARENT
            42         30 qmtmrctp_cache_entries                             PARENT
            43         31 qmtmrciq_cache_entries                             PARENT
            44         26 qmtmrctq_cache_entries                             PARENT
            45          9 qmrc_cache_entries                                 PARENT
            46         50 qmemod_cache_entries                               PARENT
            47         24 outstanding_alerts                                 PARENT
            48         22 dc_awr_control                                     PARENT
            49         25 SMO rowcache                                       PARENT
            50         40 sch_lj_objs                                        PARENT
            51         41 sch_lj_oids                                        PARENT
    61 rows selected.
    niku> select parameter, gets from v$rowcache order by gets desc;
    PARAMETER                              GETS
    dc_users                         2802019571
    dc_tablespaces                   2405092307
    dc_objects                       1815427326                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    jjk wrote:
    I've already been thru the link that you've mentioned and unfortunately couldn't make much use of it.I didn't think it was really likely to be relevant, but there was always a long shot that it might have given you a clue.
    Considering the "dc_users" had maximum gets, I thought (rather as per internet) that it might be the point of contention. However I did observe high misses on child# 9 which is "dc_objects". It's often the case that the misses is more important than the gets when you see lots of gets and misses on a few latches/caches - the bit that might have been most instructure was the dictionary cache bit from the AWR showing gets, misses, scans, scanmisses etc. It might have told us a little about what was going in and out of the dictionary cache and let us guess why.
    In alert log:
    Sun Apr 29 02:20:00 2012
    29-APR-2012 02:20:00 -- xxxxxxx package - REGRANT_READONLY Begin re-grant read only roles
    Sun Apr 29 02:24:34 2012
    29-APR-2012 02:24:34 -- xxxxxxx package - REGRANT_READONLY End re-grant read only roles
    Sun Apr 29 02:30:00 2012
    29-APR-2012 02:30:00 -- xxxxxxx package - REGRANT_READWRITE Begin re-grant read write roles
    Sun Apr 29 02:32:02 2012
    29-APR-2012 02:32:02 -- xxxxxxx package - REGRANT_READWRITE End re-grant read write roles
    Is this code that "regrants" roles to users who already have them ? That's what it sounds like, and that sounds like something that would impact on various parts of the dictionary cache, especially dc_users, and possibly dc_obejcts.
    CPU per    Elap per     Old
    Executions   Rows Processed   Rows per Exec    Exec (s)   Exec (s)  Hash Value
    161,198           1,244              0.0       0.00        0.00   978935325
    select /*+ rule */ c.name, u.name from con$ c, cdef$ cd, user$ u
    where c.con# = cd.con# and cd.enabled = :1 and c.owner# = u.us
    er#
    159,955         159,952              1.0       0.00        0.00  2458412332
    select o.name, u.name from obj$ o, user$ u  where o.obj# = :1 an
    d o.owner# = u.user#
    159,932               6              0.0       0.00        0.00  2636710067
    insert into objauth$(option$,grantor#,obj#,privilege#,grantee#,c
    ol#,sequence#) values(decode(:1,0,null,:1),:2,:3,:4,:5,decode(:6
    ,0,null,:6),object_grant.nextval)
    147,168         147,168              1.0       0.00        0.00  3468666020
    select text from view$ where rowid=:1
    124,635         124,635              1.0       0.00        0.00   564166580
    select count(*) from (                                 select u.
    name                                        from registry$ r, us
    er$ u                            where r.status in (1,3,5)
    and r.namespace = 'SERVER'The first one looks like a response to a constraint being breached.
    The third one looks like something that might happen when you grant a privilege on an object to a user - and maybe the first one happens if the user has already got it and the insert raises a "duplicate key" error. The fourth one commonly happens when you have to re-optimize a query containing a view - and when you execute DDL (such as changing privileges on an object) you invalidate SQL and have to re-optimize it eventually. I can't remember where I've seen the second one appearing.
    If you have a process that tries to do a lot of grants on objects to users and roles in a very short time, it's quite likely to create havoc in the dictionary cache - check what that package was up to and why it runs.
    What is the missing information ?When I looked at some of your posting, the output didn't match the query, some of the later columns had gone missing - this might have been my browser rather than your input though.
    Regards
    Jonathan Lewis

  • [Solved] Cant install\compile certain AUR packages

    This is a brand new 32-bit build on my laptop. Everything is working great, but for some reason I cant get some AUR packages. I have Yaourt, pacman-color, and slock installed from AUR and working fine, but I cant get mpd-git or mplayer-svn installed? I have gcc, python installed and tried both root and user accounts. Not sure what is missing. This is a new dual core laptop so not sure why I am getting the CPU errors below?
    This is for mplayer-svn:
    ==> SVN checkout done or server timeout, updating build dir
    ==> Applying disabled-features patch...
    /var/abs/local/yaourtbuild/mplayer-svn/./PKGBUILD: line 56: patch: command not found
    Detected operating system: Linux
    Detected host architecture: i386
    Checking for host cc ... gcc
    Checking for cross compilation ... yes
    ./configure: line 1605: gcc: command not found
    ./configure: line 1610: gcc: command not found
    Checking for CPU vendor ... GenuineIntel (6:15:11)
    Checking for CPU type ... Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
    Checking for kernel support of mmx ... failed
    It seems that your kernel does not correctly support mmx.
    To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of mmxext ... failed
    It seems that your kernel does not correctly support mmxext.
    To use mmxext extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of sse ... failed
    It seems that your kernel does not correctly support sse.
    To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of sse2 ... failed
    It seems that your kernel does not correctly support sse2.
    To use sse2 extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of ssse3 ... failed
    It seems that your kernel does not correctly support ssse3.
    To use ssse3 extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of cmov ... failed
    It seems that your kernel does not correctly support cmov.
    To use cmov extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for mtrr support ... yes
    Checking for GCC & CPU optimization abilities ... CPU optimization disabled. CPU not recognized or your compiler is too old.
    error
    Checking for byte order ... failed to autodetect byte order, defaulting to little-endian
    Checking for extern symbol prefix ...
    Error: Symbol mangling check failed.
    Check "configure.log" if you do not understand why it failed.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build mplayer-svn package.
    This is for mpd-git:
    Looks like I need to set the path for gcc in here, but not sure how?
    configure: error: in `/tmp/yaourt-tmp-banshee/aur-mpd-git/mpd-git/src/mpd-build':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build mpd-git package.
    Last edited by banshee28 (2009-09-03 04:15:43)

    Allan wrote:
    You need to install the base-devel group (pacman -S base-devel).
    This is a bit weird though....
    Checking for cross compilation ... yes
    hopefully it goes away!
    Ah, I see all the apps in this group now! Not sure how I missed this? Was this in the wiki somwhere??
    Anyways,its getting further along now ....

  • Sudden slow down in data transfer

    I'm reading data from the hard disk on a Target PXI System (8106 RT) and sending it via Ethernet to a Host PC and writing it to its hard disk. I read a chuck of data from the Target, send it using TCP Write function. The Host uses the TCP Read function get the data and write it to its hard disk. Data is being transfer over a Gbit Ethernet. A total of 9 files ranging in size from 700 MB - 2 GB are being transferred. The process moves along at an adequate speed until it suddenly slows down to slower than a snail's pace in the middle of a file.
    By using probes (see enclosures) I've been able to determine it take approximately 17 seconds between when the data is read on the PXI to when it is written on the Host. However, an iteration of the loop on the Target has increased to over 3 minutes. The CPU usage on the Target and Host are minimal, less than 1%. Memory usage on the Host is also small. Any suggestions on how to diagnose what has caused this sudden slow down?
    Attachments:
    Slide1.PNG ‏104 KB
    Slide2.PNG ‏124 KB
    Slide3.PNG ‏39 KB

    I would recommend using smaller chunk sizes for your data transfers. I would recommend something inthe 10K to 50K range. I have done quite a bit of profiling for sending large amounts of data and I have found that it is better to send lots of smaller chunks rather than fewer large chunks. Also make sure that you are not automatically building up large buffers in your application if you are using shift registers. If you are reading from a file read the file in chunks and send the chuncks. Don't read the whole file in in one read. One experiment I ran resulted in a single read of a large file (2 MB or so) took something like 10 minutes to read it in one read. However it only took a couple of 100 ms to read the whole thing in 10K chunks. Same applies to wrinting very large chunks using the TCP write. You can easily get a timeout if you write 1 MB as a single write because the receiver has not consumed all of the data within the timeout period. However, multiple small writes will reset the timeout for each chunk written.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • What the hell good is Flash?!

    I mean really? After taking time on a few different occassions to try and google and find what I can do w/ flash on Android 2.2 and finding nothing I have to ask myself this.
    I know it's not their fault that Hulu and Netflix want to be #$#$@s and block access but really? Nothing else seems to really work either. I mean Flash "works" but I can't find any place where you could utilize it to watch any TV shows or anything cool like that. Most sites will either end up LINKING you to "Watch White Collar free on Hulu" or a fancast.com - which doesn't work either.
    Hell, TNTs website won't even show up on my browser, it gives an "Internal Server Error" message.
    Basically... you can pretty much be assured that if there is a link that says "Watch Full Episodes" it won't work.
    You can even put in the same link on your browser from say... USA's website and it will reroute you to their dumbed down mobile crap with 3 minute clips and "interviews"... speaking of these types of clips... that's all the "TV.COM" app seems to offer on there. Again, WHY WOULD I WANT THIS?
    To top it all off, my phone is a lot more sluggish with 2.2.

    The Adobe Flash Player is software for viewing animations and movies using a web browser. Flash is a common format for games, and animations such as advertisements embedded into web pages.
    To make it possible to deploy flash content on smartphones that have limited processing power and memory availability compared to PCs, a tremendous amount of work has gone into to making Flash Player 10.1 “ready for mobility”. This work on android phones includes performance improvements such as rendering, scripting, memory, start-up time, battery and CPU optimizations, in addition to hardware acceleration of graphics and video.
    Flash Player 10.1 allows viewing on many sites such as youtube.com as well as viewing embedded video content within sites such as espn.com.
    Sites such as Hulu.com and Netflix movies will not be seen in a full desktop view as the websites recognize the device accessing the site as a mobile device with flash not a laptop or standard PC with flash. This is a limitation on the side of the website being accessed vs. the device itself.
    Even YouTube.com is likely to not be accessible in a desktop format for the same reason. However, YouTube videos can be viewed via the YouTube app/widget or those videos embedded within other sites as mentioned above.
    Hope this helps!

  • Color is faster on slower machine.  Is it Leopard?

    So, maybe I'm jumping to conclusions here, but let me lay the facts out. I rendered the same material in Color on two different machines. One: a dual 2.3 Ghz G5 with 3GB of RAM. And the other: a dual 2.0Ghz G5 with 1.5GB of RAM. Both have the same Radeon graphics card, though the card in the 2.0 is one firmware revision older. Neither are dual core, just dual processor. The 2.3 is connected to the RAID directly and the 2.0 shares that connection via a network connection.
    BUT, the 2.0 is at least twice as fast at rendering and playback in color.
    My conclusion: The 2.3 is running Tiger. The 2.0 is running leopard. Has anyone else experienced this kind of speed boost with the new OS? If so, I should probably load it on my other machines.

    I posted my similar experience on the Color mailing-list with Leopard drastically improving rendering performance when I upgraded to Leopard:
    http://movies.groups.yahoo.com/group/ColorList/message/702
    I'd guess that the performance boost has more to do with optimized GPU drivers under Leopard than it does with any CPU optimization.

  • Panic loop after patching solaris 10 x86

    I have installed a number of patches on to my server and think I have messed things up somehow, wrong order, not in single user mode, missing dependencies, not rebooting, etc...
    After installing I rebooted and now am stuck in a panic loop. I have gathered as much information as possible below.
    The server is a Sunfire V20z running Solaris 10.
    If anyone can interpret the below information and point me in the right direction that would be much appreciated.
    Thanks.
    =======================================================
    Panic Message:
    panic[cpu0]/thread=fffffffffbc22dc0: BAD TRAP: type=d (#gp General protection) rp=fffffffffbc45760 addr=0
    #gp General protection
    pid=0, pc=0xfffffffffb94a051, sp=0xfffffffffbc45850, eflags=0x10282
    cr0: 80050033<pg,wp,ne,et,mp,pe> cr4: 6f0<xmme,fxsr,pge,mce,pae,pse>
    cr2: 0 cr3: 9d60000 cr8: c
    rdi: 0 rsi: 0 rdx: fffffffffbc45730
    rcx: fffffffffbc45700 r8: 0 r9: ffffffff80178945
    rax: f000f84dc000147a rbx: ffffffff80cdc088 rbp: fffffffffbc45870
    r10: 0 r11: 0 r12: 0
    r13: ffffffff80cdc268 r14: ffffffff80178940 r15: 1
    fsb: 200000000 gsb: fffffffffbc240e0 ds: 0
    es: 0 fs: 0 gs: 0
    trp: d err: 0 rip: fffffffffb94a051
    cs: 28 rfl: 10282 rsp: fffffffffbc45850
    ss: 30
    fffffffffbc45670 unix:real_mode_end+6ad1 ()
    fffffffffbc45750 unix:trap+97b ()
    fffffffffbc45760 unix:cmntrap+13f ()
    fffffffffbc45870 genunix:init_node+51 ()
    fffffffffbc458a0 genunix:i_ndi_config_node+f3 ()
    fffffffffbc458c0 genunix:i_ddi_attachchild+41 ()
    fffffffffbc458f0 genunix:devi_attach_node+71 ()
    fffffffffbc45930 genunix:ndi_devi_online+a5 ()
    fffffffffbc45960 unix:add_cpunode2devtree+e4 ()
    fffffffffbc45970 unix:post_startup+78 ()
    fffffffffbc459b0 genunix:main+d3 ()
    fffffffffbc459c0 unix:_start+95 ()
    From kmdb debugger:
    SunOS Release 5.10 Version Generic_118855-36 64-bit
    Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    load 'fs/specfs' id 7 loaded @ 0xfffffffffbb4a630/0xfffffffffbcdfee0 size 20832/248
    installing specfs, module id 7.
    load 'fs/devfs' id 9 loaded @ 0xfffffffffbb503e8/0xfffffffffbce08f1 size 19064/712
    installing devfs, module id 9.
    load 'sched/TS' id 11 loaded @ 0xfffffffffbb54e60/0xfffffffffbce0bdd size 12992/1984
    installing TS, module id 11.
    load 'sched/TS_DPTBL' id 12 loaded @ 0xfffffffffbb58120/0xfffffffffbce13bd size 376/2152
    installing TS_DPTBL, module id 12.
    load 'misc/sysinit' id 13 loaded @ 0xfffffffffbb58298/0xfffffffffbce1c25 size 656/160
    installing sysinit, module id 13.
    uninstalled sysinit
    unloading sysinit, module id 13, loadcnt 1.
    load 'misc/acpica' id 15 loaded @ 0xfffffffffbb5eef8/0xfffffffffbce1d35 size 360536/5712
    load 'misc/pci_autoconfig' id 14 loaded @ 0xfffffffffbb58298/0xfffffffffbce1c25 size 27744/272
    installing pci_autoconfig, module id 14.
    installing acpica, module id 15.
    load 'cpu/cpu.AuthenticAMD.15' id 18 loaded @ 0xfffffffffbbb6f50/0xfffffffffbce38b5 size 12608/368
    installing cpu.AuthenticAMD.15, module id 18.
    load 'mach/uppc' id 19 loaded @ 0xfffffffffbbbac90/0xfffffffffbce3a4a size 11784/616
    installing uppc, module id 19.
    load 'mach/pcplusmp' id 20 loaded @ 0xfffffffffbbbe480/0xfffffffffbce4d32 size 41992/5112
    installing pcplusmp, module id 20.
    load 'drv/rootnex' id 21 loaded @ 0xfffffffffbbc9470/0xfffffffffbce7cba size 18040/840
    installing rootnex, module id 21.
    load 'drv/options' id 22 loaded @ 0xfffffffffbbcdae8/0xfffffffffbce8012 size 432/232
    installing options, module id 22.
    load 'drv/pseudo' id 23 loaded @ 0xfffffffffbbcdc98/0xfffffffffbce80fa size 2704/648
    installing pseudo, module id 23.
    load 'drv/clone' id 24 loaded @ 0xfffffffffbbce728/0xfffffffffbce8382 size 1184/680
    installing clone, module id 24.
    load 'misc/scsi' id 26 loaded @ 0xfffffffffbbe2cf8/0xfffffffffbce91ba size 51384/13152
    load 'drv/scsi_vhci' id 25 loaded @ 0xfffffffffbbcebc8/0xfffffffffbce862a size 82224/2960
    installing scsi_vhci, module id 25.
    installing scsi, module id 26.
    load 'misc/busra' id 28 loaded @ 0xfffffffffbbf1820/0xfffffffffbcecab8 size 6776/136
    load 'drv/isa' id 27 loaded @ 0xfffffffffbbef5b0/0xfffffffffbcec570 size 8816/1352
    installing isa, module id 27.
    installing busra, module id 28.
    load 'drv/sad' id 29 loaded @ 0xfffffffffbbf3298/0xfffffffffbcecb58 size 5320/688
    installing sad, module id 29.
    load 'misc/fssnap_if' id 31 loaded @ 0xfffffffff3a39110/0xfffffffffbcee638 size 776/176
    load 'fs/ufs' id 30 loaded @ 0xfffffffff3a00000/0xfffffffffbcece08 size 233744/6192
    installing ufs, module id 30.
    installing fssnap_if, module id 31.
    load 'misc/hpcsvc' id 34 loaded @ 0xfffffffffbbfb698/0xfffffffffbcef438 size 4472/144
    load 'misc/pcihp' id 33 loaded @ 0xfffffffff3a3a000/0xfffffffffbcef2f0 size 21232/328
    load 'drv/pci' id 32 loaded @ 0xfffffffffbbf6998/0xfffffffffbcef058 size 19712/664
    installing pci, module id 32.
    installing pcihp, module id 33.
    installing hpcsvc, module id 34.
    load 'drv/pci_pci' id 35 loaded @ 0xfffffffffbbfc810/0xfffffffffbcef4d8 size 5144/688
    installing pci_pci, module id 35.
    load 'drv/mpt' id 36 loaded @ 0xfffffffff3a40000/0xfffffffffbcef788 size 83864/109432
    installing mpt, module id 36.
    load 'drv/sd' id 37 loaded @ 0xfffffffff3a55000/0xfffffffffbd0a300 size 134144/9160
    installing sd, module id 37.
    load 'fs/ctfs' id 38 loaded @ 0xfffffffff3a76000/0xfffffffffbd0c6ec size 14808/944
    installing ctfs, module id 38.
    load 'fs/procfs' id 39 loaded @ 0xfffffffff3a7a000/0xfffffffffbd0cafc size 126976/2800
    installing procfs, module id 39.
    load 'fs/mntfs' id 40 loaded @ 0xfffffffff3a99000/0xfffffffffbd0d600 size 10552/248
    installing mntfs, module id 40.
    load 'fs/tmpfs' id 41 loaded @ 0xfffffffff3a9c000/0xfffffffffbd0d708 size 27952/66488
    installing tmpfs, module id 41.
    load 'fs/objfs' id 42 loaded @ 0xfffffffffbbfdc28/0xfffffffffbd1dae8 size 7648/1056
    installing objfs, module id 42.
    panic[cpu0]/thread=fffffffffbc22dc0: BAD TRAP: type=d (#gp General protection) rp=fffffffffbc45760 addr=0
    #gp General protection
    pid=0, pc=0xfffffffffb94a051, sp=0xfffffffffbc45850, eflags=0x10282
    cr0: 80050033<pg,wp,ne,et,mp,pe> cr4: 6f0<xmme,fxsr,pge,mce,pae,pse>
    cr2: 0 cr3: a2a5000 cr8: c
    rdi: 0 rsi: 0 rdx: fffffffffbc45730
    rcx: fffffffffbc45700 r8: 0 r9: ffffffff80178dc5
    rax: f000f84dc000147a rbx: ffffffff80566088 rbp: fffffffffbc45870
    r10: 0 r11: 0 r12: 0
    r13: ffffffff80566268 r14: ffffffff80178dc0 r15: 1
    fsb: 200000000 gsb: fffffffffbc240e0 ds: 0
    es: 0 fs: 0 gs: 0
    trp: d err: 0 rip: fffffffffb94a051
    cs: 28 rfl: 10282 rsp: fffffffffbc45850
    ss: 30
    fffffffffbc45670 unix:real_mode_end+6ad1 ()
    fffffffffbc45750 unix:trap+97b ()
    fffffffffbc45760 unix:cmntrap+13f ()
    fffffffffbc45870 genunix:init_node+51 ()
    fffffffffbc458a0 genunix:i_ndi_config_node+f3 ()
    fffffffffbc458c0 genunix:i_ddi_attachchild+41 ()
    fffffffffbc458f0 genunix:devi_attach_node+71 ()
    fffffffffbc45930 genunix:ndi_devi_online+a5 ()
    fffffffffbc45960 unix:add_cpunode2devtree+e4 ()
    fffffffffbc45970 unix:post_startup+78 ()
    fffffffffbc459b0 genunix:main+d3 ()
    fffffffffbc459c0 unix:_start+95 ()
    panic: entering debugger (no dump device, continue to reboot)
    Loaded modules: [ uppc ufs unix krtld genunix specfs pcplusmp
    cpu.AuthenticAMD.15 ]
    kmdb: target stopped at:
    kaif_enter+8: popfq
    From kmdb msgbuf:
    load 'cpu/cpu.AuthenticAMD.15' id 18 loaded @ 0xfffffffffbbb6f50/0xfffffffffbce3
    8b5 size 12608/368
    installing cpu.AuthenticAMD.15, module id 18.
    load 'mach/uppc' id 19 loaded @ 0xfffffffffbbbac90/0xfffffffffbce3a4a size 11784
    /616
    installing uppc, module id 19.
    load 'mach/pcplusmp' id 20 loaded @ 0xfffffffffbbbe480/0xfffffffffbce4d32 size 4
    1992/5112
    installing pcplusmp, module id 20.
    mem = 2096168K (0x7ff0a000)
    load 'drv/rootnex' id 21 loaded @ 0xfffffffffbbc9470/0xfffffffffbce7cba size 180
    40/840
    installing rootnex, module id 21.
    root nexus = i86pc
    load 'drv/options' id 22 loaded @ 0xfffffffffbbcdae8/0xfffffffffbce8012 size 432
    /232
    installing options, module id 22.
    load 'drv/pseudo' id 23 loaded @ 0xfffffffffbbcdc98/0xfffffffffbce80fa size 2704
    /648
    installing pseudo, module id 23.
    pseudo0 at root
    pseudo0 is /pseudo
    load 'drv/clone' id 24 loaded @ 0xfffffffffbbce728/0xfffffffffbce8382 size 1184/
    680
    installing clone, module id 24.
    load 'misc/scsi' id 26 loaded @ 0xfffffffffbbe2cf8/0xfffffffffbce91ba size 51384
    /13152
    load 'drv/scsi_vhci' id 25 loaded @ 0xfffffffffbbcebc8/0xfffffffffbce862a size 8
    2224/2960
    installing scsi_vhci, module id 25.
    installing scsi, module id 26.
    scsi_vhci0 at root
    scsi_vhci0 is /scsi_vhci
    load 'misc/busra' id 28 loaded @ 0xfffffffffbbf1820/0xfffffffffbcecab8 size 6776
    /136
    load 'drv/isa' id 27 loaded @ 0xfffffffffbbef5b0/0xfffffffffbcec570 size 8816/13
    52
    installing isa, module id 27.
    installing busra, module id 28.
    isa0 at root
    NOTICE: ACPI source type ACPI_RESOURCE_TYPE_EXT_IRQ not supported
    NOTICE: apic: local nmi: 0 1 1 1
    NOTICE: apic: local nmi: 1 1 1 1
    pcplusmp: vector 0x9 ioapic 0x2 intin 0x9 is bound to cpu 1
    load 'drv/sad' id 29 loaded @ 0xfffffffffbbf3298/0xfffffffffbcecb58 size 5320/68
    8
    installing sad, module id 29.
    load 'misc/fssnap_if' id 31 loaded @ 0xfffffffff3a39110/0xfffffffffbcee638 size
    776/176
    load 'fs/ufs' id 30 loaded @ 0xfffffffff3a00000/0xfffffffffbcece08 size 233744/6
    192
    installing ufs, module id 30.
    installing fssnap_if, module id 31.
    load 'misc/hpcsvc' id 34 loaded @ 0xfffffffffbbfb698/0xfffffffffbcef438 size 447
    2/144
    load 'misc/pcihp' id 33 loaded @ 0xfffffffff3a3a000/0xfffffffffbcef2f0 size 2123
    2/328
    load 'drv/pci' id 32 loaded @ 0xfffffffffbbf6998/0xfffffffffbcef058 size 19712/6
    64
    installing pci, module id 32.
    installing pcihp, module id 33.
    installing hpcsvc, module id 34.
    pci0 at root: space 0 offset 0
    pci0 is /pci@0,0
    load 'drv/pci_pci' id 35 loaded @ 0xfffffffffbbfc810/0xfffffffffbcef4d8 size 514
    4/688
    installing pci_pci, module id 35.
    PCI-device: pci1022,7450@a, pci_pci1
    pci_pci1 is /pci@0,0/pci1022,7450@a
    load 'drv/mpt' id 36 loaded @ 0xfffffffff3a40000/0xfffffffffbcef788 size 83864/1
    09432
    installing mpt, module id 36.
    /pci@0,0/pci1022,7450@a/pci17c2,10@4 (mpt0):
    Rev. 8 LSI, Inc. 1030 found.
    /pci@0,0/pci1022,7450@a/pci17c2,10@4 (mpt0):
    mpt0 supports power management.
    pcplusmp: pci1000,30 (mpt) instance 0 vector 0x1b ioapic 0x3 intin 0x3 is bound
    to cpu 0
    /pci@0,0/pci1022,7450@a/pci17c2,10@4 (mpt0):
    mpt0 Firmware version v1.3.27.0 (IM/IME)
    /pci@0,0/pci1022,7450@a/pci17c2,10@4 (mpt0):
    mpt0: IOC Operational.
    /pci@0,0/pci1022,7450@a/pci17c2,10@4 (mpt0):
    Volume 0 is optimal
    PCI-device: pci17c2,10@4, mpt0
    mpt0 is /pci@0,0/pci1022,7450@a/pci17c2,10@4
    load 'drv/sd' id 37 loaded @ 0xfffffffff3a55000/0xfffffffffbd0a300 size 134144/9
    160
    installing sd, module id 37.
    sd1 at mpt0: target 0 lun 0
    sd1 is /pci@0,0/pci1022,7450@a/pci17c2,10@4/sd@0,0
    load 'fs/ctfs' id 38 loaded @ 0xfffffffff3a76000/0xfffffffffbd0c6ec size 14808/9
    44
    installing ctfs, module id 38.
    load 'fs/procfs' id 39 loaded @ 0xfffffffff3a7a000/0xfffffffffbd0cafc size 12697
    6/2800
    installing procfs, module id 39.
    load 'fs/mntfs' id 40 loaded @ 0xfffffffff3a99000/0xfffffffffbd0d600 size 10552/
    248
    installing mntfs, module id 40.
    load 'fs/tmpfs' id 41 loaded @ 0xfffffffff3a9c000/0xfffffffffbd0d708 size 27952/
    66488
    installing tmpfs, module id 41.
    load 'fs/objfs' id 42 loaded @ 0xfffffffffbbfdc28/0xfffffffffbd1dae8 size 7648/1
    056
    installing objfs, module id 42.
    SMBIOS v2.31 loaded (1939 bytes)
    panic[cpu0]/thread=fffffffffbc22dc0:
    BAD TRAP: type=d (#gp General protection) rp=fffffffffbc45760 addr=0
    #gp General protection
    pid=0, pc=0xfffffffffb94a051, sp=0xfffffffffbc45850, eflags=0x10282
    cr0: 80050033<pg,wp,ne,et,mp,pe> cr4: 6f0<xmme,fxsr,pge,mce,pae,pse>
    cr2: 0 cr3: a2a5000 cr8: c
    rdi: 0 rsi: 0 rdx: fffffffffbc45730
    rcx: fffffffffbc45700 r8: 0 r9: ffffffff80178dc5
    rax: f000f84dc000147a rbx: ffffffff80566088 rbp: fffffffffbc45870
    r10: 0 r11: 0 r12: 0
    r13: ffffffff80566268 r14: ffffffff80178dc0 r15: 1
    fsb: 200000000 gsb: fffffffffbc240e0 ds: 0
    es: 0 fs: 0 gs: 0
    trp: d err: 0 rip: fffffffffb94a051
    cs: 28 rfl: 10282 rsp: fffffffffbc45850
    ss: 30
    fffffffffbc45670 unix:real_mode_end+6ad1 ()
    fffffffffbc45750 unix:trap+97b ()
    fffffffffbc45760 unix:cmntrap+13f ()
    fffffffffbc45870 genunix:init_node+51 ()
    fffffffffbc458a0 genunix:i_ndi_config_node+f3 ()
    fffffffffbc458c0 genunix:i_ddi_attachchild+41 ()
    fffffffffbc458f0 genunix:devi_attach_node+71 ()
    fffffffffbc45930 genunix:ndi_devi_online+a5 ()
    fffffffffbc45960 unix:add_cpunode2devtree+e4 ()
    fffffffffbc45970 unix:post_startup+78 ()
    fffffffffbc459b0 genunix:main+d3 ()
    fffffffffbc459c0 unix:_start+95 ()

    I am seeing something similar to this, but I can bring it up and it crashed after a random amount of time. Any ideas what patches could have caused this?
    Jun 24 13:32:08 voldemort2 unix: [ID 836849 kern.notice]
    Jun 24 13:32:08 voldemort2 ^Mpanic[cpu3]/thread=fffffe8000c6ec80:
    Jun 24 13:32:08 voldemort2 genunix: [ID 683410 kern.notice] BAD TRAP: type=d (#gp General protection) rp=fffffe8000c6ea70 addr=fffffe84c13befdb
    Jun 24 13:32:08 voldemort2 unix: [ID 100000 kern.notice]
    Jun 24 13:32:08 voldemort2 unix: [ID 839527 kern.notice] sched:
    Jun 24 13:32:08 voldemort2 unix: [ID 753105 kern.notice] #gp General protection
    Jun 24 13:32:08 voldemort2 unix: [ID 358286 kern.notice] addr=0xfffffe84c13befdb
    Jun 24 13:32:08 voldemort2 unix: [ID 243837 kern.notice] pid=0, pc=0xfffffffffb834fed, sp=0xfffffe8000c6eb68, eflags=0x10286
    Jun 24 13:32:08 voldemort2 unix: [ID 211416 kern.notice] cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6f8<xmme,fxsr,pge,mce,pae,pse,de>
    Jun 24 13:32:08 voldemort2 unix: [ID 354241 kern.notice] cr2: fffffe84c13befdb cr3: 1072d000 cr8: c
    Jun 24 13:32:08 voldemort2 unix: [ID 592667 kern.notice] rdi: ffffffff8027c531 rsi: 1 rdx: 200
    Jun 24 13:32:08 voldemort2 unix: [ID 592667 kern.notice] rcx: 2 r8: ffffffff8027c4c0 r9: ffffffff8027c4c0
    Jun 24 13:32:08 voldemort2 unix: [ID 592667 kern.notice] rax: fffffe8000c6ec80 rbx: ffffffff98401000 rbp: fffffe8000c6ebc0
    Jun 24 13:32:08 voldemort2 unix: [ID 592667 kern.notice] r10: ffffffff97bab7b4 r11: ff00000000000000 r12: ffffffffb5fd4bc0
    Jun 24 13:32:08 voldemort2 unix: [ID 592667 kern.notice] r13: 4 r14: ffffffff8027c531 r15: 1
    Jun 24 13:32:08 voldemort2 unix: [ID 592667 kern.notice] fsb: ffffffff80000000 gsb: ffffffff98401000 ds: 43
    Jun 24 13:32:08 voldemort2 unix: [ID 592667 kern.notice] es: 43 fs: 0 gs: 1c3
    Jun 24 13:32:08 voldemort2 unix: [ID 592667 kern.notice] trp: d err: 0 rip: fffffffffb834fed
    Jun 24 13:32:08 voldemort2 unix: [ID 592667 kern.notice] cs: 28 rfl: 10286 rsp: fffffe8000c6eb68
    Jun 24 13:32:08 voldemort2 unix: [ID 266532 kern.notice] ss: 30
    Jun 24 13:32:08 voldemort2 unix: [ID 100000 kern.notice]
    Jun 24 13:32:08 voldemort2 genunix: [ID 655072 kern.notice] fffffe8000c6e980 unix:real_mode_end+71e1 ()
    Jun 24 13:32:08 voldemort2 genunix: [ID 655072 kern.notice] fffffe8000c6ea60 unix:trap+b04 ()
    Jun 24 13:32:08 voldemort2 genunix: [ID 655072 kern.notice] fffffe8000c6ea70 unix:cmntrap+140 ()
    Jun 24 13:32:08 voldemort2 genunix: [ID 655072 kern.notice] fffffe8000c6ebc0 unix:mutex_owner_running+d ()
    Jun 24 13:32:08 voldemort2 genunix: [ID 655072 kern.notice] fffffe8000c6ec20 cpqary3:cpqary3_sw_isr+5a ()
    Jun 24 13:32:08 voldemort2 genunix: [ID 655072 kern.notice] fffffe8000c6ec60 unix:av_dispatch_softvect+62 ()
    Jun 24 13:32:08 voldemort2 genunix: [ID 655072 kern.notice] fffffe8000c6ec70 unix:intr_thread+b4 ()
    Jun 24 13:32:08 voldemort2 unix: [ID 100000 kern.notice]
    Jun 24 13:32:08 voldemort2 genunix: [ID 672855 kern.notice] syncing file systems...
    Jun 24 13:32:09 voldemort2 genunix: [ID 733762 kern.notice] 350
    Jun 24 13:32:10 voldemort2 genunix: [ID 733762 kern.notice] 349
    Jun 24 13:32:11 voldemort2 genunix: [ID 733762 kern.notice] 348
    Jun 24 13:32:38 voldemort2 last message repeated 20 times
    Jun 24 13:32:39 voldemort2 genunix: [ID 622722 kern.notice] done (not all i/o completed)
    Jun 24 13:32:40 voldemort2 genunix: [ID 111219 kern.notice] dumping to /dev/dsk/c3t0d0s1, offset 1719074816, content: kernel
    Jun 24 13:33:13 voldemort2 genunix: [ID 409368 kern.notice] ^M100% done: 1232512 pages dumped, compression ratio 4.65,
    Jun 24 13:33:13 voldemort2 genunix: [ID 851671 kern.notice] dump succeeded

  • "oracle database 11g performance issues"

    Hai everybody,
    In oracle 11g 11.2.0.1.0 we are developing business application using java, Our developers said Database performance is very poor it takes more time to retrieve values from database, they check froantend and middleware that has no problem, if the query returns less values or rows it takes little more time. How can i solve this problem? please help me
    Regards Benk

    hai,
    sorry for the delay my @$ORACLE_HOME/rdbms/admin/ashrpt.sql output shown below
    ASH Report For ORCL/orcl
    DB Name DB Id Instance Inst Num Release RAC Host
    ORCL 1295420332 orcl 1 11.2.0.1.0 NO node6.node6-
    CPUs SGA Size Buffer Cache Shared Pool ASH Buffer Size
    2 1,561M (100%) 480M (30.7%) 432M (27.7%) 4.0M (0.3%)
    Analysis Begin Time: 04-Oct-12 16:44:16
    Analysis End Time: 04-Oct-12 16:59:33
    Elapsed Time: 15.3 (mins)
    Begin Data Source: V$ACTIVE_SESSION_HISTORY
    End Data Source: V$ACTIVE_SESSION_HISTORY
    Sample Count: 3
    Average Active Sessions: 0.00
    Avg. Active Session per CPU: 0.00
    Report Target: None specified
    Top User Events DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    Avg Active
    Event Event Class % Event Sessions
    null event Other 33.33 0.00
    Top Background Events DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    Avg Active
    Event Event Class % Activity Sessions
    CPU + Wait for CPU CPU 33.33 0.00
    os thread startup Concurrency 33.33 0.00
    Top Event P1/P2/P3 Values DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top Service/Module DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    Service Module % Activity Action % Action
    SYS$BACKGROUND UNNAMED 66.67 UNNAMED 66.67
    SYS$USERS UNNAMED 33.33 UNNAMED 33.33
    Top Client IDs DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top SQL Command Types DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top Phases of Execution DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    Avg Active
    Phase of Execution % Activity Sessions
    SQL Execution 33.33 0.00
    Top SQL with Top Events DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top SQL with Top Row Sources DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top SQL using literals DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top Parsing Module/Action DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top PL/SQL Procedures DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top Java Workload DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top Call Types DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top Sessions DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    -> '# Samples Active' shows the number of ASH samples in which the session
    was found waiting for that particular event. The percentage shown
    in this column is calculated with respect to wall clock time
    and not total database activity.
    -> 'XIDs' shows the number of distinct transaction IDs sampled in ASH
    when the session was waiting for that particular event
    -> For sessions running Parallel Queries, this section will NOT aggregate
    the PQ slave activity into the session issuing the PQ. Refer to
    the 'Top Sessions running PQs' section for such statistics.
    Sid, Serial# % Activity Event % Event
    User Program # Samples Active XIDs
    10, 1 33.33 CPU + Wait for CPU 33.33
    SYS [email protected] (ARC2) 1/917 [  0%] 0
    19, 148 33.33 null event 33.33
    SYS [email protected] (J000) 1/917 [  0%] 0
    139, 3 33.33 os thread startup 33.33
    SYS [email protected] (CJQ0) 1/917 [  0%] 0
    Top Blocking Sessions DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top Sessions running PQs DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top DB Objects DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top DB Files DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Top Latches DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    No data exists for this section of the report.
    Activity Over Time DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
    -> Analysis period is divided into smaller time slots
    -> Top 3 events are reported in each of those slots
    -> 'Slot Count' shows the number of ASH samples in that slot
    -> 'Event Count' shows the number of ASH samples waiting for
    that event in that slot
    -> '% Event' is 'Event Count' over all ASH samples in the analysis period
    Slot Event
    Slot Time (Duration) Count Event Count % Event
    16:48:00 (2.0 min) 1 CPU + Wait for CPU 1 33.33
    16:50:00 (2.0 min) 2 null event 1 33.33
    os thread startup 1 33.33
    End of Report
    Regards Benk

  • Wait events

    Hi ! I have the following wait events in my top timed and I don't know who originated them:
    Wait Event Wait Time Summary Avg Wait Time (ms)
    I# Class Event Waits %Timeouts Total(s) Avg(ms) %DB time Avg Min Max Std Dev Cnt
    * DB CPU N/A N/A 59,651.48 N/A 45.87 2
    User I/O db file sequential read 4,369,213 0.0 20,831.46 4.8 16.02 4.72 4.29 5.14 0.60 2
    Other enq: CF - contention 155,822 3.9 10,390.74 66.7 7.99 68.62 60.31 76.94 11.76 2
    System I/O RMAN backup & recovery I/O 87,205 0.0 5,477.09 62.8 9.15 62.81 62.81 62.81 1
    Cluster gc current block 2-way 2,914,457 0.0 4,811.61 1.7 3.70 1.67 1.60 1.74 0.10 2
    System I/O control file sequential read 3,038,672 0.0 3,762.66 1.2 2.89 1.24 1.22 1.27 0.04 2
    Concurrenc os thread startup 2,842 0.0 3,695.14 1300.2 2.84 1311.83 1143.07 1480.59 238.66 2
    System I/O log file parallel write 1,341,907 0.0 2,530.17 1.9 1.95 1.88 1.88 1.89 0.01 2
    Other reliable message 471,495 0.1 2,388.01 5.1 1.84 5.08 4.12 6.03 1.35 2
    Concurrenc row cache lock 3,135,774 0.0 2,224.53 0.7 1.71 0.72 0.68 0.75 0.05 2
    1 DB CPU N/A N/A 22,584.30 N/A 37.75
    User I/O db file sequential read 2,451,215 0.0
    System I/O RMAN backup & recovery I/O 87,205 0.0
    Other enq: CF - contention 59,735 5.3
    Cluster gc current block 2-way 1,803,542 0.0
    System I/O control file sequential read 1,831,180 0.0
    Concurrenc os thread startup 1,323 0.0
    System I/O log file parallel write 727,883 0.0
    Cluster gc cr multi block request 523,744 0.0
    Concurrenc row cache lock 1,830,913 0.0
    2 DB CPU N/A N/A
    User I/O db file sequential read 1,917,998 0.0
    Other enq: CF - contention 96,087 3.0
    Cluster gc current block 2-way 1,110,915 0.0
    Concurrenc os thread startup 1,519 0.0
    System I/O control file sequential read 1,207,492 0.0
    User I/O direct path read 404,587 0.0
    Other reliable message 233,033 0.1
    System I/O log file parallel write 614,024 0.0
    System I/O control file parallel write 128,905 0.0
    Those are the most worrying events:
    enq: CF - contention
    I/O control file sequential read
    Concurrenc os thread startup
    I have been investigating and I wonder what is wrong to get Concurrenc os thread startup. According to one blog, os thread should be always related with network issues...
    The awr snapshot is from my production window day.
    Rac 11.2.0.3 two nodes on Solaris Sparc 10.

    I have studied the ASH in the problematic period and I have found that there are some full scans:
    Summary of All User Input
    Format         : TEXT
    DB Id          : 2752323407
    Inst num       : 1
    Begin time     : 08-Feb-13 09:30:00
    End time       : 08-Feb-13 10:20:00
    Slot width     : Default
    Report targets : 0
    Report name    : ashrpt_1_0208_1020.txt
    ASH Report For dbp/dbp1
    DB Name         DB Id    Instance     Inst Num Release     RAC Host
    dbp           2752323407 dbp1                1 11.2.0.3.0  YES host-dbp-1
    CPUs           SGA Size       Buffer Cache        Shared Pool    ASH Buffer Size
      16     12,651M (100%)    10,048M (79.4%)     1,921M (15.2%)       32.0M (0.3%)
              Analysis Begin Time:   08-Feb-13 09:30:00
                Analysis End Time:   08-Feb-13 10:20:00
                     Elapsed Time:        50.0 (mins)
                Begin Data Source:   DBA_HIST_ACTIVE_SESS_HISTORY
                                     in AWR snapshot 5100
                  End Data Source:   DBA_HIST_ACTIVE_SESS_HISTORY
                                     in AWR snapshot 5101
                                      + V$ACTIVE_SESSION_HISTORY
                     Sample Count:      10,069
          Average Active Sessions:       33.56
      Avg. Active Session per CPU:        2.10
                    Report Target:   None specified
    Top User Events                     DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
                                                                   Avg Active
    Event                               Event Class        % Event   Sessions
    library cache lock                  Concurrency          43.73      14.68
    cursor: pin S wait on X             Concurrency          18.61       6.25
    CPU + Wait for CPU                  CPU                  15.77       5.29
    reliable message                    Other                 5.88       1.97
    enq: KO - fast object checkpoint    Application           3.48       1.17
    Top Background Events               DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
                                                                   Avg Active
    Event                               Event Class     % Activity   Sessions
    CPU + Wait for CPU                  CPU                   1.25       0.42
    Top Cluster Events                  DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    Event                          % Event Remote I % Activity
    gc current block 2-way            1.72        2       1.72
    gc cr grant 2-way                 1.58      N/A       1.07
    Top Event P1/P2/P3 Values           DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    Event                          % Event  P1 Value, P2 Value, P3 Value % Activity
    Parameter 1                Parameter 2                Parameter 3
    library cache lock               43.75 "29115227816","29218763456","       1.22
    handle address             lock address               100*mode+namespace
                                           "29115227816","28694732944","       1.20
                                           "29115227816","28812373936","       1.17
    cursor: pin S wait on X          18.61 "1497800770","3934190043136",       1.54
    idn                        value                      where
                                           "1497800770","7773890805760",       1.15
    reliable message                  6.07 "30432532808","30354909248","       0.13
    channel context            channel handle             broadcast message
    enq: KO - fast object checkpoi    3.49      "1263468550","65640","1"       0.52
    name|mode                  2                          0
    db file sequential read           1.81               "1","25220","1"       0.01
    file#                      block#                     blocks
    Top Service/Module                  DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    Service        Module                   % Activity Action               % Action
    dbp_DVEBMGS11  CL_SQL_STATEMENT========      86.80 383                     86.80
    dbp_D10_0066   CL_SQL_STATEMENT========       6.28 383                      3.34
                                                       104                      2.94
    dbp_D10_0064   CL_SQL_STATEMENT========       2.40 383                      2.39
    SYS$BACKGROUND UNNAMED                        1.51 UNNAMED                  1.51
    Top Client IDs                      DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
                      No data exists for this section of the report.
    Top SQL Command Types               DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    -> 'Distinct SQLIDs' is the count of the distinct number of SQLIDs
          with the given SQL Command Type found over all the ASH samples
          in the analysis period
                                               Distinct            Avg Active
    SQL Command Type                             SQLIDs % Activity   Sessions
    SELECT                                          485      94.56      31.74
    ALTER TABLE                                     220       2.89       0.97
    Top Phases of Execution             DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
                                              Avg Active
    Phase of Execution             % Activity   Sessions
    Parse                               67.50      22.66
    SQL Execution                       30.46      10.22
    Hard Parse                           5.37       1.80
    Top Remote Instances                DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    Wait Class           % Wait  Remote I % Activity
    Cluster                 5.22        2       3.90
                                      N/A       1.27
    Top SQL with Top Events     DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
                                                            Sampled #
                     SQL ID             Planhash        of Executions     % Activity
    Event                          % Event Top Row Source                    % RwSrc
              350v06jcnd822                  N/A                    0          18.03
    library cache lock                9.41 ** Row Source Not Available **       9.41
    SELECT "DT"."SID_0CALMONTH" AS "S____048" ,"D3"."SID_0MATERIAL" AS "S____006" ,
    "DU"."SID_0UNIT" AS "S____023" ,"DT"."SID_0CALDAY" AS "S____021" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" ,"X33"."S__Z99GRMAT" AS "S_
    ___4443" , SUM ( "F"."QUANTITY" ) AS "Z____1299" , COUNT( * ) AS "Z____016"
                                             N/A                    0          18.03
    cursor: pin S wait on X           8.62 ** Row Source Not Available **       8.62
    SELECT "DT"."SID_0CALMONTH" AS "S____048" ,"D3"."SID_0MATERIAL" AS "S____006" ,
    "DU"."SID_0UNIT" AS "S____023" ,"DT"."SID_0CALDAY" AS "S____021" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" ,"X33"."S__Z99GRMAT" AS "S_
    ___4443" , SUM ( "F"."QUANTITY" ) AS "Z____1299" , COUNT( * ) AS "Z____016"
              48unmtd983uz6                  N/A                    0          16.75
    library cache lock               12.87 ** Row Source Not Available **      12.87
    SELECT "DT"."SID_0CALDAY" AS "S____021" ,"DT"."SID_0CALMONTH" AS "S____048" ,"D
    3"."SID_0MATERIAL" AS "S____006" ,"DU"."SID_0UNIT" AS "S____023" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" , SUM ( "F"."QUANTITY" )
    AS "Z____1299" , COUNT( * ) AS "Z____016" FROM "/BIC/FZ99IC114" "F" JOIN "/BIC
                                             N/A                    0          16.75
    cursor: pin S wait on X           3.88 ** Row Source Not Available **       3.88
    SELECT "DT"."SID_0CALDAY" AS "S____021" ,"DT"."SID_0CALMONTH" AS "S____048" ,"D
    3"."SID_0MATERIAL" AS "S____006" ,"DU"."SID_0UNIT" AS "S____023" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" , SUM ( "F"."QUANTITY" )
    AS "Z____1299" , COUNT( * ) AS "Z____016" FROM "/BIC/FZ99IC114" "F" JOIN "/BIC
              350v06jcnd822           2426825131                    0          15.49
    library cache lock                9.74 ** Row Source Not Available **       9.74
    SELECT "DT"."SID_0CALMONTH" AS "S____048" ,"D3"."SID_0MATERIAL" AS "S____006" ,
    "DU"."SID_0UNIT" AS "S____023" ,"DT"."SID_0CALDAY" AS "S____021" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" ,"X33"."S__Z99GRMAT" AS "S_
    ___4443" , SUM ( "F"."QUANTITY" ) AS "Z____1299" , COUNT( * ) AS "Z____016"
    cursor: pin S wait on X           4.14 ** Row Source Not Available **       4.14
    CPU + Wait for CPU                1.61 SELECT STATEMENT                     1.58
              48unmtd983uz6           3511339786                    0          14.98
    library cache lock               11.50 ** Row Source Not Available **      11.50
    SELECT "DT"."SID_0CALDAY" AS "S____021" ,"DT"."SID_0CALMONTH" AS "S____048" ,"D
    3"."SID_0MATERIAL" AS "S____006" ,"DU"."SID_0UNIT" AS "S____023" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" , SUM ( "F"."QUANTITY" )
    AS "Z____1299" , COUNT( * ) AS "Z____016" FROM "/BIC/FZ99IC114" "F" JOIN "/BIC
    cursor: pin S wait on X           1.97 ** Row Source Not Available **       1.97
    CPU + Wait for CPU                1.51 SELECT STATEMENT                     1.42
              07tcvyb6frtkx           2929764020                    1           1.87
    gc cr grant 2-way                 0.80 TABLE ACCESS - BY USER ROWID         0.75
    SELECT "D3"."SID_0SHIP_TO" AS "SID" FROM "/BIC/FZ99IC035" "F" JOIN "/BIC/DZ99IC
    0352" "D2" ON "F" . "KEY_Z99IC0352" = "D2" . "DIMID" JOIN "/BI0/XMATERIAL" "X9"
    ON "D2" . "SID_0MATERIAL" = "X9" . "SID" JOIN "/BIC/DZ99IC0355" "D5" ON "F" .
    "KEY_Z99IC0355" = "D5" . "DIMID" JOIN "/BIC/DZ99IC0353" "D3" ON "F" . "KEY_Z99
    Top SQL with Top Events     DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
                                                            Sampled #
                     SQL ID             Planhash        of Executions     % Activity
    Event                          % Event Top Row Source                    % RwSrc
    Top SQL with Top Row Sources        DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
                                                            Sampled #
                     SQL ID             PlanHash        of Executions     % Activity
    Row Source                               % RwSrc Top Event               % Event
              350v06jcnd822                  N/A                    0          18.03
    ** Row Source Not Available **             18.03 library cache lock         9.41
    SELECT "DT"."SID_0CALMONTH" AS "S____048" ,"D3"."SID_0MATERIAL" AS "S____006" ,
    "DU"."SID_0UNIT" AS "S____023" ,"DT"."SID_0CALDAY" AS "S____021" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" ,"X33"."S__Z99GRMAT" AS "S_
    ___4443" , SUM ( "F"."QUANTITY" ) AS "Z____1299" , COUNT( * ) AS "Z____016"
              48unmtd983uz6                  N/A                    0          16.75
    ** Row Source Not Available **             16.75 library cache lock        12.87
    SELECT "DT"."SID_0CALDAY" AS "S____021" ,"DT"."SID_0CALMONTH" AS "S____048" ,"D
    3"."SID_0MATERIAL" AS "S____006" ,"DU"."SID_0UNIT" AS "S____023" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" , SUM ( "F"."QUANTITY" )
    AS "Z____1299" , COUNT( * ) AS "Z____016" FROM "/BIC/FZ99IC114" "F" JOIN "/BIC
              350v06jcnd822           2426825131                    0          15.49
    ** Row Source Not Available **             13.91 library cache lock         9.74
    SELECT "DT"."SID_0CALMONTH" AS "S____048" ,"D3"."SID_0MATERIAL" AS "S____006" ,
    "DU"."SID_0UNIT" AS "S____023" ,"DT"."SID_0CALDAY" AS "S____021" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" ,"X33"."S__Z99GRMAT" AS "S_
    ___4443" , SUM ( "F"."QUANTITY" ) AS "Z____1299" , COUNT( * ) AS "Z____016"
    SELECT STATEMENT                            1.58 CPU + Wait for CPU         1.58
              48unmtd983uz6           3511339786                    0          14.98
    ** Row Source Not Available **             13.56 library cache lock        11.50
    SELECT "DT"."SID_0CALDAY" AS "S____021" ,"DT"."SID_0CALMONTH" AS "S____048" ,"D
    3"."SID_0MATERIAL" AS "S____006" ,"DU"."SID_0UNIT" AS "S____023" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" , SUM ( "F"."QUANTITY" )
    AS "Z____1299" , COUNT( * ) AS "Z____016" FROM "/BIC/FZ99IC114" "F" JOIN "/BIC
    SELECT STATEMENT                            1.42 CPU + Wait for CPU         1.42
              07tcvyb6frtkx           2929764020                    1           1.87
    TABLE ACCESS - BY USER ROWID                1.59 gc cr grant 2-way          0.75
    SELECT "D3"."SID_0SHIP_TO" AS "SID" FROM "/BIC/FZ99IC035" "F" JOIN "/BIC/DZ99IC
    0352" "D2" ON "F" . "KEY_Z99IC0352" = "D2" . "DIMID" JOIN "/BI0/XMATERIAL" "X9"
    ON "D2" . "SID_0MATERIAL" = "X9" . "SID" JOIN "/BIC/DZ99IC0355" "D5" ON "F" .
    "KEY_Z99IC0355" = "D5" . "DIMID" JOIN "/BIC/DZ99IC0353" "D3" ON "F" . "KEY_Z99
    Top SQL using literals              DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    -> FORCE_MATCHING_SIGNATURE is used to identify SQL statements that are
          identical except for their use of literals.
    -> Please refer to the Oracle Database Reference to understand how
          the FORCE_MATCHING_SIGNATURE is derived.
                                         # of Sampled
    FORCE_MATCHING_SIGNATURE % Activity SQL Versions
    Example SQL 1
    Example SQL 2
          1021017294885722791       2.89          218
    0htvt0stu1vtq
    SELECT COUNT(*) FROM "/BIC/FZ99IC003" WHERE "KEY_Z99IC003P" = :A0
    0htvt0stu1vtq
    Top Parsing Module/Action           DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    Module                         Action                           % Activ Event
    CL_SQL_STATEMENT============== 383                                67.25 library
                                   383                                      cursor:
                                   383                                      CPU + Wa
    Top Sessions running PQs            DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    -> This section aggregates all the work done by the PQ slaves into
          the session issuing the parallel query.
    Sid,Srl# (Inst) % Activity SQL ID        Event                          % Event
    User                 Program
      1506,   19(1)      33.57 350v06jcnd822 library cache lock               19.15
    UserID:
    SELECT "DT"."SID_0CALMONTH" AS "S____048" ,"D3"."SID_0MATERIAL" AS "S____006" ,
    "DU"."SID_0UNIT" AS "S____023" ,"DT"."SID_0CALDAY" AS "S____021" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" ,"X33"."S__Z99GRMAT" AS "S_
    ___4443" , SUM ( "F"."QUANTITY" ) AS "Z____1299" , COUNT( * ) AS "Z____016"
                                             cursor: pin S wait on X          12.76
    SELECT "DT"."SID_0CALMONTH" AS "S____048" ,"D3"."SID_0MATERIAL" AS "S____006" ,
    "DU"."SID_0UNIT" AS "S____023" ,"DT"."SID_0CALDAY" AS "S____021" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" ,"X33"."S__Z99GRMAT" AS "S_
    ___4443" , SUM ( "F"."QUANTITY" ) AS "Z____1299" , COUNT( * ) AS "Z____016"
                                             CPU + Wait for CPU                1.61
    SELECT "DT"."SID_0CALMONTH" AS "S____048" ,"D3"."SID_0MATERIAL" AS "S____006" ,
    "DU"."SID_0UNIT" AS "S____023" ,"DT"."SID_0CALDAY" AS "S____021" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" ,"X33"."S__Z99GRMAT" AS "S_
    ___4443" , SUM ( "F"."QUANTITY" ) AS "Z____1299" , COUNT( * ) AS "Z____016"
      2255, 1067(1)      31.78 48unmtd983uz6 library cache lock               24.37
    UserID:
    SELECT "DT"."SID_0CALDAY" AS "S____021" ,"DT"."SID_0CALMONTH" AS "S____048" ,"D
    3"."SID_0MATERIAL" AS "S____006" ,"DU"."SID_0UNIT" AS "S____023" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" , SUM ( "F"."QUANTITY" )
    AS "Z____1299" , COUNT( * ) AS "Z____016" FROM "/BIC/FZ99IC114" "F" JOIN "/BIC
                                             cursor: pin S wait on X           5.85
    SELECT "DT"."SID_0CALDAY" AS "S____021" ,"DT"."SID_0CALMONTH" AS "S____048" ,"D
    3"."SID_0MATERIAL" AS "S____006" ,"DU"."SID_0UNIT" AS "S____023" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" , SUM ( "F"."QUANTITY" )
    AS "Z____1299" , COUNT( * ) AS "Z____016" FROM "/BIC/FZ99IC114" "F" JOIN "/BIC
                                             CPU + Wait for CPU                1.51
    SELECT "DT"."SID_0CALDAY" AS "S____021" ,"DT"."SID_0CALMONTH" AS "S____048" ,"D
    3"."SID_0MATERIAL" AS "S____006" ,"DU"."SID_0UNIT" AS "S____023" ,"D2"."SID_0MET
    YPE" AS "S____1342" ,"D2"."SID_0VTYPE" AS "S____504" , SUM ( "F"."QUANTITY" )
    AS "Z____1299" , COUNT( * ) AS "Z____016" FROM "/BIC/FZ99IC114" "F" JOIN "/BIC
    Top DB Objects                      DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    -> With respect to Application, Cluster, User I/O and buffer busy waits only.
          Object ID % Activity Event                             % Event
    Object Name (Type)                                    Tablespace
           13661539       2.45 gc buffer busy acquire               0.87
    SAPSR3./BIC/EZ99IC013 (TABLE)                         PSAPSR3SSD
    Top DB Files                        DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    -> With respect to Cluster and User I/O events only.
            File ID % Activity Event                             % Event
    File Name                                             Tablespace
                 53       3.60 gc current block 2-way               0.98
    +dbp_DATA/dbp_2/datafile/psapsr3ssd.315.805562113     PSAPSR3SSD
    Top Latches                         DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
                      No data exists for this section of the report.
    Activity Over Time                  DB/Inst: dbp/dbp1  (Feb 08 09:30 to 10:20)
    -> Analysis period is divided into smaller time slots
    -> Top 3 events are reported in each of those slots
    -> 'Slot Count' shows the number of ASH samples in that slot
    -> 'Event Count' shows the number of ASH samples waiting for
       that event in that slot
    -> '% Event' is 'Event Count' over all ASH samples in the analysis period
                             Slot                                   Event
    Slot Time (Duration)    Count Event                             Count % Event
    09:30:00   (5.0 min)      260 gc buffer busy acquire               43    0.43
                                  reliable message                     34    0.34
                                  CPU + Wait for CPU                   29    0.29
    09:35:00   (5.0 min)      303 CPU + Wait for CPU                   76    0.75
                                  db file sequential read              40    0.40
                                  gc buffer busy acquire               39    0.39
    09:40:00   (5.0 min)      366 CPU + Wait for CPU                  209    2.08
                                  db file sequential read              26    0.26
                                  gc current block 2-way               22    0.22
    09:45:00   (5.0 min)      511 CPU + Wait for CPU                  249    2.47
                                  cursor: pin S wait on X              93    0.92
                                  reliable message                     45    0.45
    09:50:00   (5.0 min)    2,245 cursor: pin S wait on X           1,442   14.32
                                  library cache lock                  407    4.04
                                  reliable message                    112    1.11
    09:55:00   (5.0 min)    2,037 library cache lock                1,378   13.69
                                  cursor: pin S wait on X             297    2.95
                                  CPU + Wait for CPU                  125    1.24
    10:00:00   (5.0 min)    1,823 library cache lock                1,371   13.62
                                  CPU + Wait for CPU                  263    2.61
                                  reliable message                     72    0.72
    10:05:00   (5.0 min)    1,273 library cache lock                  866    8.60
                                  CPU + Wait for CPU                  155    1.54
                                  reliable message                     96    0.95
    10:10:00   (5.0 min)      798 library cache lock                  350    3.48
                                  CPU + Wait for CPU                  287    2.85
                                  reliable message                     54    0.54
    10:15:00   (5.0 min)      436 CPU + Wait for CPU                  200    1.99
                                  reliable message                     61    0.61
                                  enq: KO - fast object checkpoi       42    0.42
              -------------------------------------------------------------Problems are always on instance 1.
    The queries are different each day, the top sql with performance problem changes the sql_id and I cant attack them or apply a sql profile or tune them because they only execute during a period.
    Any idea?
    :(

  • Taskdef

    Hi,
    I'm trying to deploying my first ejb with the help of ant but it is giving me below error.
    C:\TempSrc\build.xml:70: Could not create task of type: ear. Common solutions are to use taskdef to declare your task, o
    r, if this is an optional task, to put the optional.jar in the lib directory of your ant installation (ANT_HOME).
    It is creating .jar and .war succesfully ,but which creating .ear it is giving the above error.
    The build.xml which i've written is
    <project name="testing" default="deploy" basedir=".">
    <target name="init">
         <property environment="env"/>
         <property name="app.name" value="HelloServlet"/>
         <property name="app.version" value="2.0"/>          
         <property name="WL_HOME" value="${env.WL_HOME}" />
         <property name="WL_JAR" value="${WL_HOME}/lib/weblogic.jar" />
         <property name="W1NOTDELETE" value="${WL_HOME}/config/mydomain/applications/.wlnotdelete"/>
         <property name="WLSTAGING" value="${WL_HOME}/config/mydomain/.wlstaging"/>
         <property name="DIST.HOME"     value="${WL_HOME}/config/mydomain/applications"/>
    <property name="TESTINGSOURCE" value="${env.TESTINGSOURCE}"/>
         <property name="DELETEOLDCLASSES" value="${TESTINGSOURCE}"/>
         <property name="SOURCEDIR" value="${TESTINGSOURCE}/Src"/>
         <property name="ALLXML" value="${TESTINGSOURCE}/XML"/>
         <property name="OUTPUTDIR" value="${TESTINGSOURCE}/Compiled"/>     
         <property name="ASSEMBLE" value="${TESTINGSOURCE}/Assemble"/>          
         <property name="DIST.JAR" value="MyJar.jar"/>
         <property name="DIST.WAR" value="MyWar.war"/>
         <property name="DIST.EAR" value="MyEar.ear"/>     
         <property name="final" value="final"/>
         <property name="debug" value="on"/>
         <property name="optimize" value="off"/>
    </target>
    <!-- Configure properties to access the Manager application -->
    <property name="url" value="http://localhost:7001/MyWar"/>
    <property name="compile.debug" value="true"/>
    <property name="compile.deprecation" value="false"/>
    <property name="compile.optimize" value="true"/>
    <target name="clean">
    <delete dir="${DELETEOLDCLASSES}" />     
    <delete dir="${w1notdelete}"/>
    <delete dir="${wlstaging}"/>
    <delete dir="${DIST.JAR}"/>
    <delete dir="${DIST.WAR}"/>
    <delete dir="${DIST.EAR}"/>
    <delete dir="${TESTINGSOURCE}/Compiled"/>
    </target>
    <target name="compile" depends="init">
    <mkdir dir="${TESTINGSOURCE}/Compiled"/>
    <javac srcdir="${SOURCEDIR}" destdir="${OUTPUTDIR}"/>     
    </target>
    <target name="ejbjaring" depends="compile">
    <mkdir dir="${ASSEMBLE}"/>
    <jar jarfile="${ASSEMBLE}/${DIST.JAR}">
    <fileset dir="${OUTPUTDIR}" includes="FirstEjb/*.class"/>
    <fileset dir="Xml" includes="ejb-jar.xml,weblogic-ejb-jar.xml" />
    </jar>
    </target>
    <target name="ejbwarring" depends="ejbjaring">
    <war warfile="${ASSEMBLE}/${DIST.WAR}" webxml="${ALLXML}/web.xml">
    <webinf dir="${ALLXML}">
         <include name="weblogic.xml" />          
    </webinf>
    <classes dir="${OUTPUTDIR}">
         <include name="MyServlet/*.*" />
    </classes>
    </war>
    </target>
    <target name="ejbc" depends="makeejbjar">
         <java classname="weblogic.ejbc20" fork="yes" failonerror="yes" output="ErrorEjbc">
              <sysproperty key="weblogic.home" value="${WL_HOME}"/>
              <arg line="${MY_PREEJB} ${MY_EJBJAR}" />
              <classpath>
                   <pathelement path="${WL_JAR}"/>
                   <pathelement path="${SFC_JAR}"/>
                   <pathelement path="${DMS_JAR}"/>
                   <pathelement path="${MEM_JAR}"/>
                   <pathelement path="${MEMEJB_JAR}"/>
                   <pathelement path="${EVT_JAR}"/>
                   <pathelement path="${EVTEJB_JAR}"/>
                   <pathelement path="${COMMS_JAR}"/>
                   <pathelement path="${CFC_JAR}"/>
                   <pathelement path="${MHB_UTIL}"/>
                   <pathelement path="${MHB_JAR}"/>
                   <pathelement path="${MHB_EJB}"/>
                   <pathelement path="${ANAUTIL_JAR}"/>
                   <pathelement path="${MY_UTILJAR}"/>                
              </classpath>
         </java>
    </target>
    <target name="ejbearring" depends="ejbwarring">
    <ear destfile="${ASSEMBLE}/${DIST.EAR}" appxml="${ALLXML}/application.xml">
    <fileset dir="${ASSEMBLE}" includes="*.jar,*.war" />
    </ear>
    </target>
    <target name="deploy" depends="clean,ejbearring">
    <copy file="${ASSEMBLE}/${DIST.EAR}" todir="${DIST.HOME}" overwrite="yes"/>
    </target>
    </project>

    Your build.xml file content next fragment:
    <target name="ejbc" depends="makeejbjar">
    ...but no content target named "makeejbjar."
    I don't have other files and i think then you must to:
    1. Try replace "makeejbjar" to "ejbjaring"
    2. If not helped try comment all target named "ejbc"

  • Best practices for data entry online system

    Hi all
    I am(with a team of 4 members) going to build an online data entry system which may have approximately 30 screens. I am going to use Spring BlazeDS remoting to connect middleware.
    Anyone could please suggest me some good practices to follow in flex side to do such a "DATA ENTRY" application.
    The below points are some very few common best practices we need to follow while doing coding .But i am not sure how to achive them in flex side.
    User experience (Probably i can get little info regarding this from my client)
    Code maintanability
    Code extendibility
    memory and CPU optimization
    Able to work with team members(Multiple checkouts)
    Best framework
    So i am looking for valueble suggestion from great minds.

    There are two options, none of them very palatable:
    1) One is to create a domain, and add the VM and your local box to it.
    2) Stick to a workgroup, but have the same user name and password on both machines.
    In practice, a better option is to create an SQL login that is member of sysadmin - or who have rights to impersonate an account that is member of sysadmin. And for that matter, you could use the built-in sa account - but you rename it to something else.
    The other day I was looking at the error log from a server that apparently had been exposed on the net. The log was full with failed login attempts for sa, with occasional attempts for names like usera and so on. The server is in Sweden - the IP address
    for the login attempts were in China.
    Just so know what you can expect.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • We got an error in deploying time

    Hi got Error in share point
    The Web application at http://Test-2:555/sites/SiteCollection1 could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended
    application.
     i create Console Application in that console Application i changed Build options-->Any CPU Or x64 and Target FrameWork-3.5.  all things but it will getting the above error

    Here are the most common issues when this error occurs. Make sure you check all of them.
    http://blogs.technet.com/b/stefan_gossner/archive/2011/09/19/common-issue-new-spsite-returns-quot-the-web-application-at-http-server-port-could-not-be-found-quot.aspx
    Since you have already verified the framework and 64bit CPU I would strongly believe that you are running into permission issue.
    Are you running ths console app right from Visual Studio i.e. Your VS 2010 is installed on SharePoint server and you are hitting F5. If that is the case then make sure you run your Visual Studio as System Administrator i.e. right click --> Run As an Administrator
    If you are executing console app on the server then do the same thing with the Console App. Right Click and then Run as an Administrator. 
    If that does not help make sure that account you are using have read permission on the site collection. 
    Amit

Maybe you are looking for

  • Reg Po creation in ME21N

    Hi all, I am fresher in SAP MM module. When i am creating PO in ME21 with reference to PR  , i am getting a short dump. How can i create PO in ME21N  with reference to PR  ??? Kind regards Karthik

  • Deletion of firmed Planned orders

    Hi, I want to delete the firmed planned orders & Purchase Requisitions for Multiple plants,(Not using MRP Run) so can any one advise me if there is any SAP standard transaction or Program available. I have tried using MD19, but here we can pick firme

  • Change Document - Insert new value / Delete

    Hi, Jus need a quick clarification on change documents - 1. insert opertaion. I have created change documents and able to record the changes in CDPOS when changing or updating the existing values in table. But when i try to insert into the table the

  • Not able to calculate net weight

    Hi After I create a Delivery, when I do 'Calculate Weight/Volume' the system does not give me any result. This happens for only some items only. When I checked up the physical attributes, some of the items have net weight in their physical attributes

  • Using stylesheets right

    Hi guys, for a GUI i wanted to use a stylesheet to save code but i have some questions in how to use it. 1. Is it possible to make elements position flexible? So if i expand the scene the element will still be at xpos = 10% of Scene size or something