No increase in speed with parallel processing on quad-core

I'm using the NI Vision vi "IMAQ correct calibrated image" on quite a large image.  This takes about 0,09 seconds to complete, and only uses 1 core of my computer.  (25% cpu time)   I always need to correct two images, so I made two parallel execution lines, expecting that I would get 50% cpu usage (i.e. two cpu's used), and still 0,09 seconds to complete.
However, it takes 0,18 seconds to complete, with 25% cpu usage.  It seems the code is not executing in parallel...
I checked the Vision vi, and it's simply a wrapper to a DLL call.   I think I remember hearing once that dll calls are single-threaded...   Is that the reason why I don't see any increase in speed?   Is there a way around this?  
Thanks in advance.

This is no good news then.
But maybe you can introduce parallelism on your own?
Depending on the algorithm, you are using, you CAN split up the image on your own and make calls on the algorithm for each fraction and then put the (altered) fractions together to a new image again. I have not tried something like this, so in the worst case, it does even slow things down.
Nevertheless, if the image is large enough (so "split up" and "merging" overhead is negligible) AND the DLL itself can be called parallel (not sure if this works), you could possibly see some performance increase...
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • Pointers for optimizing system performance (run time) while running DP process chain with parallel processing

    Hi Experts,
    We are running APO DP process chain with parallel processing in our company, we are experiencing some issues regarding run time of process chain, need your help on below points;
    - What are the ways we can optimize process chain run time.
    - Special points we need to take care of in case of parallel processing profiles used in process chain.
    - Any specific sequence to be followed for different processes in process chain - if there is some best practice followed.
    - Any notes suggesting ways to improve system performance for APO version 7 with different enhancement packs 1 and 2.
    Any help will be really appreciated.
    Regards

    HI Neelesh,
    There are many ways to optimize performance of the process chains (background jobs) in APO system.
    Firstly I would recommend you to identify the pain areas (steps) which are completing with more runtimes. Then each one of the step has got different approaches to decrease the runtime.
    Like you may end up with steps like infopackage executions, DTPs, DP mass processing jobs etc which might be running with more runtimes. So now target each one of them differently and find out the ways to optimize. At the same time the approach you follow should be technically possible with basis perspective (system load and utilization) as well.
    And coming to parallel processing, you can use parallel processing for different for different jobs. You can further r explore on the same using parallel processing. Like loading an infocube, mass processing, infopackage execution, DTP, TSCOPY etc.
    Check the below link for more info
    Performance problems in DP mass processing
    Let me know if you require further info.
    Regards,
    Raj

  • Query0;Runtime error time limit exceeded,with parallel processing via RFC

    Dear experts,
    I have created a report on 0cca_c11 cube and while running my report when i give cost center group which contains many cost centers , my report executes for long time and at last gives message
    "Error while reading data;navigation is possible" and
    "Query0;Runtime error time limit exceeded,with parallel processing via RFC"
    please tell me what is the problem and how can i solve this
    Regards
    Shweta

    hI,
    Execute the Query in RSRT with Execute and Debug option.
    Select SQL statements toknow where exactly it's taking time.
    Let us know the details once you done.
    Reg
    Pra

  • Use of global data in transformation with parallel processing

    Hi,
    In an upgrade I have a global variable in a routine in 3.5 in a transfer rule. The global variable keeps count of an ID.
    The global variable is used in every data package,because the corrsponding infopackage is set to PSA only, where help says:
    "If you select this processing option and then request processing is done serially during loading, the global data are maintained as long as the process with which the data were processed remains.
    In 7.0 I also use a global variable to do the same thing, but an Infopackage is no longer available, because we use DTP´s now.
    How can I store my global variable so that all parallel processing of the data packages use the same global variable? or can I set an option so that the DTP does serial processing, similar to the infopackage setting in 3.5?
    As a workaround I increased the package size to a very large figure, but I would be more comfortable with a sounder solution.
    thanks

    Hi Max,
      Try to declare your global variable in start routine. Among the lines:
    $$ begin of global - insert your declaration only below this line  -
    $$ end of global - insert your declaration only before this line   -
    Best Regards.
    Javier Gómez

  • Issues with parallel processing in Logical Database PCH and PNP

    Has anyone encountered issues when executing programs in parallel  that utilizes the logical database PCH or PNP?
    Our scenario is the following:
    We having have 55 concurrent jobs that execute a program that use the logical database PCH at a given time.  We load the the PCHINDEX table with the code below.
          wa_pchindex-plvar = '01'.
          wa_pchindex-otype = 'S'.
          wa_pchindex-objid_low = index_objid.
          APPEND wa_pchindex TO pchindex.
    We have seen instances where when the program is executed in parallel, with each process having its own range of positions id's, that some positions are dropped or some are added that is outside the range of the given process.
    For example:
    process 1 has a range of positions ID's 1-10
    process 2 has a range of positions ID's 11-20
    process 3 has a range of positions ID's 21-30
    Process 3 drops position 25 and adds position 46.
    Has anyone faced a similar issue?
    Thanks for your help.
    Best Regards,
    Duke

    Hi,
    first of all, you should read [Using Parallel Execution|http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/usingpe.htm#DWHSG024] in documentation for your version - almost all of these topics are covered there.
    1. According to my server specification how much DOP i can specify.It depends not only on number of CPU. More important factors are settings of PARALLEL_MAX_SERVERS and PARALLEL_ADAPTIVE_MULTI_USER.
    2. Which option for Setting Parallel is good - Using the 'alter table A parallel 4' or passing the parallel hints in the sql statementsIt depends on your application. When setting PARALLEL on a table, all SQL dealing with that table would be considered for parallel execution. So if it is normal for your app to use parallel access to that table, it's OK. If you want to use PX on a limited set of SQL, then hints or session settings are more appropriate.
    3. We have a batch processing jobs which are loading data into the tables from flat files (24*7) using sql loader. is it possible to parallel this operation and any negative effect if enabled parallel.Yes, refer to documentation.
    4. Query or DML - which one will be perform best with parallel option.Both may take advantages of using PX (with some restrictions to Parallel DML) and both may run slower than non-PX versions.
    5. What are the negative issue if parallel option is enabled.1) Object checkpoint happens before starting parallel FTS (true for >=10gR2, before that version tablespace checkpoint was used)
    2) More CPU and memory resources are used with PX - it may be both benefit and an issue, especially with concurrent PX.
    6. what are the things to be taken care while enabling the parallel option.Read the documentation - it contains almost all you need to know. Since you are using RAC, you sould not forget about method of PX slaves load balancing between nodes. If you are on 10g, refer to INSTANSE_GROUPS/PARALLEL_INSTANCE_GROUPS parameters, if you are using 11g then properly configure services.

  • How can you increase the speed with a slider

    I have been trying to work at this for about a week and a
    half. I browsed several communities but it seems that noone has an
    answer so I am not even sure if this is possible I am not a flash
    expert but what I am trying to do is as follows;
    I have a movie with several movie clips. I have an animation
    of a female walking, I also have a slider that when I move it to
    the right bags are added on to her. but what I am also trying to
    accomplish is to have her walk faster as the slider moves to the
    right.
    I tried several scripts but they seem not to work as I wan
    them to plus they start to cancel out the bag function.
    How could I make this happen if it is even possible. I want
    to use the slider to increase the speed of the lady walking. Slider
    and Lady are movie clips.
    thanks in advance

    At present I'm not aware of any way to achieve this exact effect in Muse (where the first screen of a web page is resized to fill the browser window and the rest of the page, as you scroll down, appears to be fixed height layout).

  • Need help with parallel process in background; not able to call FM in bgnd

    Hello,
      I am trying since 2 days to solve the issue of parallel process in background without using FPP.
    For which I want to call function module of class method in new task but to be processed by background process and not dialog.
    I searched so many websites but everyone has suggesteed to 'call function in background task' . But the fact is the processing of function happens by dailog process even in this case.
    I want to loop at table and call FM or class method inside each loop.
    Kindly suggest me how can I call function or class method in new task in everycall and prcoess it in background.
    thanks

    Balaji,
    Is the name of the button between single or double quotes?
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/

  • Can I use USB 3 with my 2.8Ghz Quad-core

    I have an early 2008, 2.8 GHz Quad-Core Intel Xeon Mac Pro, can I use USB3 Devices with it?

    Yes, they are all backward-compatible.
    If you wnat USB-3 speed, you would need a PCIe card.

  • I have a HP Pavilion p6710f with an AMD Athlon Quad-Core processor takes 10 to 12 minutes to boot

    I have a refurbished HP Pavilion p6710f desktop, with an AMD Quad-Core processor.  About 4 weeks aog I reformated the HD and reinstalled Windows 7 Prof and the rest o my software and it ran fine for about 2 weeks then it started taking 5 to 10 minutes to boot up in morning or to restart.  I had downloaded a couple of things and I uninstalled them and it did better, but gradually over the last week it has started taking 10 to 15 minutes to boot up or restart.  With either it takes a few seconds to get the HP stuff in the middle of the monitor, then in a few seconds it loads the choices (Function keys for setup, recover, etc.) then it takes 4 to five minutes to show "windows loading" the 3 to 4 minutes to show the 4-colored windows logo and then up to 5 minutes to load my icons and be ready to run--once all this is done everything runs fine until I need to restart, and then it is 10 to 15 minutes again to get up and running.
    When I redid everything about 4 weeks ago I made an image on an external 1 Tb HD that is always connected thru a UBB Port and this morning I recovered and It reinstalled it, but it did not help.
    Don't think it is the BIOS battery as it doesn't lose time.
    Hope someone can help me
    drp6149

    Seems to me that your hard drive is gonna fail soon, trying running hard drive diagnostics from the BIOS.
    HP Elite h8-1070T Intel Core i7 2600 12GB RAM AMD Radeon HD 6850 1GB Windows 8 Professional 64-bit (Gaming)
    HP DC7900CMT Intel Core 2 Duo 3Ghz 4GB RAM Windows 8 Professional 64-bit (Workstation)
    HP XW4200 Intel Pentium 4 HT 3.6GHz 4GB RAM Windows XP Professional (Home File Server)

  • Audition CC - Compatibility with Mac Pro 2012 (Quad-Core) & RME UFX

    I am new here and wanting to use Audition again after being away for years, so I apologize if this is a dumb question. In previewing a training video about Audition CC it highlighted that Audition CC is now 64 bit.  Before I download CC I want to be sure that the 64 bit part does not present a problem for me on my system.  I do not know if my hardware is 32 or 64 bit.  My question is - Will I have any compatibility issues with my hardware: Mac Pro 2012 Quad-Core & RME UFX interface and the Audition CC software?  Thanks for any light you can shed on this for me.

    It's not the hardware you want to worry about (that will be 64-bit capable, as all Macs are) but the software. If it's a recent Mac I don't think you'll have any problems at all, though - do they actually do a 32-bit release?
    The best thing to do if you're worried about this is to download the trial version and see if that's okay.

  • Not seeing increase in speed with dual GTX880m (16GB in SLi)- Premier CS6 or CC

    -I've enabled the "hack" so CUDA is recognized in Premier CS6 and CC but I don't see any difference in speed between software and CUDA.
    Machine: OEN17-SLI
    i7 4810mq 2.8ghz
    32gb Hyperx 1600
    Dual GTX880m in Sli
    512gb SSD in raid0
    thoughts on this?

    In a laptop I am wondering if they really can support two PCIe X16 lanes.  I would suggest that you download GPU-Z and look at this
    This when the GPU is working hard this is what you should see, when not working it throttles back to  "@x16 2.0"  or to @x16 1.1" .  But at least it is running with x16 lanes of the PCIe bus.  In desktop systems when you install two GPU's it is not uncommon to see one or both fall back to x8.  GPU-Z can run multiple instances so you can have two of these screens running and set one to each GPU.  If this shows a throttling problem I doubt that there is any way around it.
    Next lesson for the day is to then look at the Sensors TAB on the top of each and this is what you will see:
    Notice the GPU Load item where we have 99% usage.  So for this case my GTX 765M is being fully utilized.
    If you also notice in both screens I have overclocked the GPU memory by 50% and achieved much better results but the GPU temperature is a very safe 56°C.  In laptops they of course stress battery life, they achieve this ultra conservative operation by severe performance reduction.

  • Is there a way to increase the speed with which Acrobat X Standard opens a form?

    I have several PDFs stored on my computer.  If Acrobat is not open on my system, the first form that I open takes forever to load.  It opens; however, I cannot access the text/check boxes for sometimes upwards of 30 to 45 seconds.  This is extremely frustrating.  Is there something that I am doing wrong or something that I can reset to prevent this from happening?  Once the first form of the day is open, the subsequent forms don't seem to suffer this problem.  I am working on Windows 7 Pro. 

    Hey guys, Gt this problem nailed. There is an add-on called "yet Another Smooth Scrolling" which is terrific and even works with keyboard up/down keys as well. Take a peek at it and this should resolve your problem.
    So far I have been using Google Chrome and recently moved to FireFox for its better stability. The things that I found lacking are
    1) "Web Applications" like in chrome "Web Store",
    2) Google Instant search through its address bar.
    3) Quick Start-up.
    Otherwise, I love Fire Fox and I hope people help survive this open community.
    Thanks.
    P.S: I use Firefox 7 (A Beta version). Let me know if anybody has questions.

  • Is Lion compatible with Mac Pro Intel Quad Core 3.0 GHz x 2?

    I couldn't find Lion requirements. Sorry to post the question.
    In About this Mac it also says:
    MacPro2,1
    1.33 bus speed
    8 GB RAM
    1.5 TB hard drive
    Currently on OSX 10.6.8
    Thanks
    Steven

    Lion Specs:
    http://www.apple.com/macosx/specs.html

  • New MacPro  with Nehalem 2.93 Quad core

    Has anyone used this with FCP? I'm just interested to learn what improvement in rendering and real time performance will be compared to my 2007 Dual 2.66G MacPro. Any advice welcome.
    Thanks in advance,
    Geoff

    www.barefeats.com has some pretty interesting tests.
    http://www.barefeats.com/nehal08.html
    also remember that the video card is a critical factor. Many are purchasing the ATI 4870 to improve FXPlug performance.

  • CIF compare/reconcile -- Parallel process profile in R/3

    Dear experts, I'm opening a complete new discussion with this topic...
    does anybody have experience setting up parallel processing for CCR?
    I did create 2 parallel profiles in customizing (1 for APO and 1 for R3) and I executed the report in background.
    Most of the performance time that the report uses is spent on R3 side reading tables like VAPMA and VLPMA. In order to improve runtime performance I set up the 2 parallel process profiles as shown above (defiining server, number of processes and block size in customizing following SAP recommendations already).
    In APO I am perfectly able to see how more than one process is being triggered and therefore parallelization works.
    Nevertheless, I never see in R/3 the same thing happening. No matter how I define the parallel process profile for R/3, I always see one unique process in transations SM51 and SM66 on this system as shown below.
    Is there a specific setting I need to maintain to achieve this process parallelization in R/3? Is it even possible to split processes in R3? and if not, what is the purpose of having Parallel Process profiles in R3?
    Thanks for your support
    Salvador

    Hi Rupesh,
    indeed a good remark, but we already got this note in R3 upfront.
    Regarding VBBE, we did ran CCR without it being selected. This has an equivalent effect to running report SDRQCR21 as it will also update index tables. It is recommented by SAP to schedule it on a regular basis and that's the direction we took.
    These ones certainly improve performance significantly, but still we are wondering about parallel processing in R3.
    If there is a profile for parallel process available in CCR, why are we not able to see parallel processes in R3 when executing the report? This should also help in improving even more performance if we could get it working properly...
    Further information...
    Is maybe someone aware of the following points?
    - RFC call is using DIA processes. Are these suitable for parallellization in any case?
    - what are the profile parameters that need to be set up (RZ10) and is there a direct link with parallel processing? For example, I notice that rdisp/rfc_pool_size is equal to zero in my R3 system but it is 10% in APO.
    - are there other parameters like rdisp/rfc* that can really block me from getting parallel processes?
    Thanks for your interventions
    Salvador
    Message was edited by: Salvador García

Maybe you are looking for