Why is my FFT benchmark VI not seeing any multithreading gains?

I am trying to utilize a multi-core CPU to speed up the computation of 32 FFTs by running them in four parallel threads, as shown in the code example image below. However, the performance difference between single and multi-threading is only ca. 10% even on a Core 2 Quad CPU.
I already tried a few things such as placing the array split and merge functions, or the waveform graph, outside the timed section, but this has very little effect - the main delay still occurs with the FFT VIs. These VIs are already set to reentrant execution, but somehow still don't perform well in parallel. Why?
Can someone demonstrate a better performance gain in a similar VI? I am using Labview 7.1, using images instead of a VI for replies would be greatly appreciated! 
Thanks!
Solved!
Go to Solution.

Hello,
Thanks for your response. Actually, I found the solution. Rather than already doing internal multi-threading, the Express VI did just the opposite, it internally broke the multithreading ability by including several sub-VIs which were not reentrant. That means that the overall Spectral Analysis Express VI is not reentrant either, and will not properly accelerate on a multi-core CPU.
My solution was to dig down into the Express VI until I found the most basic VI levels (DLL function calls etc.), which actually were fully re-entrant. By extracting these, and saving just this essential code as a new, fully reentrant sub-VI, I was able to unlock the full multi-core potential. My FFT benchmark VI now runs 5x faster, simply by replacing the Express VI with the stripped-down FFT VI of my own.
As a courtesy, I am attaching my new, 5x faster Multi-Core FFT VI.
It scales as follows on an Intel Core 2 Quad CPU:
Labview Spectral Analysis Express VI (single or multiple instances): 1x Speed
Multi-Core FFT VI (single instance): 2.3x to 2.4x Faster
Multi-Core FFT VI (dual instance): 3.7x to 4.0x Faster
Multi-Core FFT VI (quad instance): 4.8x to 6.1x Faster
Multi-Core FFT VI (octo instance): 4.8x to 6.1x Faster (would probably need an 8-core to see benefit)
Here are the internals of the stripped-down Multi-Core FFT VI:
Attachments:
Multi-Core FFT.vi ‏156 KB

Similar Messages

  • Why can I not see any of my music purchases, I have not changed my ID or account details

    Why can I not see any of my music purchases, I have not changed my ID or account details?

    Hi,
    Please enable Speakers in Playback devices as follows:
    1. Right click speaker icon (right hand corner)
    2. Select Playback devices
    3. Right click Speakers
    4. Enable it and set as Default
    5. Click Apply/Ok
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Why I can not see any home video or slideshow on my Apple TV?

    Why I can not see any video or slideshow on my Apple TV?

    Can you elaborate on the issue?

  • TS1538 itunes does not see any of my devices.

    itunes does not see any of my devices.  It used to. But not any more. Why. They show up in Windows. But not itunes.
    <Edited by Host>

    Try
    iOS: Device not recognized in iTunes for Windows
    I would start with               
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or               
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    New cable and different USB port?
    Runs this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Try on another computer to help determine if computer or iPod problem

  • I do not see any database menu under windows

    As per DW's online help, I should see a Database submenu under the windows menu, when I open a php file, but I do not see any such submenu. What am I doing wrong?

    The panel you are looking for was removed from the newer versions of DW with no plan to replace them. I'm not sure why they decided not to replace them (I think they're letting 3rd party extension builders be responsible for possible security issues or some such tomfoolery), but the code used in the old ones is about to become problematic with new installations of PHP.
    You can get some functionality back by installing a deprecated server behaviors extension, it may already be on your system, depending on your version...
    For CC: http://helpx.adobe.com/x-productkb/policy-pricing/dreamweaver-cc-server-extensions.html
    For CC 2014, you need to download it: https://creative.adobe.com/addons/products/1315

  • Can not see any Data in OKE.OKE_K_FUND_ALLOCATIONS

    I am looking in this table with SQLPlus and TOAD and can not see any rows.

    Hi Hussein;
    First I ran:
    select fu.user_name, fr.responsibility_name
    , fu.user_id, fr.responsibility_id resp_id
    , furg.responsibility_application_id resp_appl_id, furg.security_group_id sec_group_id
    from apps.fnd_user_resp_groups furg
    , apps.fnd_user fu
    , apps.fnd_responsibility_vl fr
    where furg.user_id = fu.user_id
    and upper(fu.user_name) = upper('&User_Name')
    and furg.responsibility_id = fr.responsibility_id
    order by 1, 3
    Passing in SYSADMIN
    Taking this row:
    SYSADMIN,General Ledger Super User,0,20434,101,0
    I ran:
    I ran exec fnd_global.APPS_INITIALIZE (0,20434,101,0);
    I still get no rows returned.
    Is thier a way in the App to ensure the SYSADMIN,General Ledger Super User can see this data? Or am I missing something else?

  • I have just dowloaded the icloud control panel on my PC and i am am able to see everything that has been pushed to icloud from my ipad. However i cannot see my email. i can send from the computer using icloud, but i do not see any mail that is being rec.

    i have just dowloaded the icloud control panel on my PC and i am am able to see everything that has been pushed to icloud from my ipad. However i cannot see my email. i can send from the computer using icloud, but i do not see any mail that is being received by my ipad, which is set up with my mail server. What haven't i checked lol?

    turn your ipad off by holding the sleep wake button for 5 seconds and slide to turn off then turn it back on and the apps should be finished and if the apps didnt finish just redownload them

  • How do I delete photo ALBUMS from my iPHONE 4? I sync via icloud and I can not see any folders selected in itunes. I searched the internet and basically there is no one who has the answer to how you delete the iphone photo library and misc albums

    how do I delete photo ALBUMS from my iPHONE 4?
    I sync via icloud and I can not see any folders selected in itunes.
    I searched the internet and basically there is no one who has the answer (so far)
    to how you delete the iphone photo library and misc albums
    I have also had every iphone and I am not stupid.
    charles altman

    Replying to my own post - heh. I downloaded iExplorer (http://www.macroplant.com/iexplorer/) which allowed me access to the files on the phone and there was the phantom movie in the DCIM folder. Deleted it, and all is well - although I still have 0.65gb of Other in iTunes.....

  • How can I buy ringtones in itunes 10.7.0.21 store?  I do not see any options in the store at all.

    I do not see any options for ringtones in the itunes 10.7.0.21 store, where can I find them so that I can purchase some ringtones?

    Unfortunately you can only get ringtones from the iTunes store app on your phone. I’m guessing they did that so people wouldn’t create their own ringtones for free. So all you do is go to your iTunes store app then go to more then tones.

  • In iphoto my photos do no appear just a blank dated square. Somehow I messed up when trying to send a photo via email.I cannot not see any but 4 photos.

    Help!   In iphoto my photos do not appear just a blank dated square. Somehow I messed up when trying to send a photo via email.I cannot not see any but 4 photos.I tried all of the solutions that Apple suggested. Somehow I think that i am trying to send ALL my photos in an email.How do i unhide all of my photos?

    Did you launch iPhoto with the Option(Alt) and Commnad keys held down like Terence suggested?  If you did it properly you will get this window:
    The second option is the one you want to run.
    OT

  • Just installed CC on my PC, Windows 7, 64 bit system. Not seeing any applications on the desktop or installation folder. However, all the resource files are present in the installation folder. What am I doing wrong?

    Just installed CC on my PC, Windows 7, 64 bit system. Not seeing any applications on the desktop or installation folder. However, all the resource files are present in the installation folder. What am I doing wrong?
    I've installed three times with no luck. I downloaded the Creative Cloud Packager off the licensing site: https://licensing.adobe.com. I unpacked and choose my applications. The install seemed to be successful, but I don't so any of the applications anywhere.

    Hi,
    Creating package doesn't mean it will install the product,
    You will need to install the package now. Please follow the instructions mentioned in the below articles
    Creative Cloud Help | Creating or editing packages
    Creative Cloud Help | Deploying packages
    Please let me know if it doesn't help.
    Regards,
    Devendra

  • Since upgrading to windows 8.1 I can not see any local files in the files window.

    I have recently upgraded to windows 8.1 and can no longer see my local files in the files window. All remote files for all remote sites are visable.
    If I change sites under local view get error thet dreamweaver can not update cache

    Thanks Nancy
    It certainly worked in windows 8.
    I have deactivated and am trying to reload software inside of windows 8.1.
    Will let you know.
    Thanks again
    Terry
    Date: Fri, 1 Nov 2013 12:13:57 -0700
    From: [email protected]
    To: [email protected]
    Subject: Since upgrading to windows 8.1 I can not see any local files in the files window.
        Re: Since upgrading to windows 8.1 I can not see any local files in the files window.
        created by Nancy O. in Dreamweaver support forum - View the full discussion
    I honestly don't know if DW CS5 is compatible with Win 8.1.  The OS compatibility FAQ only mentions DW CS6 & CC.
    http://helpx.adobe.com/x-productkb/global/windows-8-1-compatability.ht ml
    Maybe someone else can shed more light on this.
      Nancy O.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5807551#5807551
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5807551#5807551
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5807551#5807551. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Dreamweaver support forum at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I subscribed to a photo stream in iPhoto but I'm not seeing any photos

    I'm using iPhoto 9.6 on a Macbook using Yosemite.  Someone shared a photostream with me.  I subscribed (using Yosemite) without any errors but I'm not seeing any photos.  I've confirmed with the person who created the photostream that there are photos in it (I've seen them first hand).  I've had this issue before on Mavericks so .  Anyone seen this before?  Any idea how to solve?

    Not occurring for me, but you could try this:
    This solved my question by adamnash on Oct 19, 2014 6:52 PM
    Solution:
    I took a brute force approach:
    - I quit iPhoto
    - I launched Settings, went to iCloud, turned off Photo
    - I launched iPhoto
    - I verified that iCloud was off
    - I quit iPhoto
    - I went back to Settings, went to iCloud, turned on Photo
    - I launched iPhoto
    It's now synching all the albums, although the one I published while in this broken case seems to have now disappeared.

  • Hi, I've just downloaded the latest release 10.1.1 and now I do not see any more correctly my clips either in the canvas and in the timeline. Playing clips, they now appears with garbled images, completely unstables: I can not editing in these conditions!

    Hi, I've just downloaded the latest release 10.1.1 and now I do not see any more correctly my clips either in the canvas and in the timeline. Playing clips, they now appears with garbled images, completely unstables: I can not editing in these conditions!
    Anyone can help me?
    Thank you, Claudio

    Hi Russ, Thank you for your reply!
    System Spec:
    2x2.26 Ghz QUAD-CORE
    12 GB RAM 1066 MHz DDR3
    I've stored the library in HARD DISK which is installed inside my computer (1 TB capacity) and different from my hard disk in which I've installed all my applications (600 GB capacity).
    I've installed FCP since 2001, bought FCP X in 2012: never had a problem. Yesterday I was editing my video of my last vacations (in California!) and I have updated FCP X, downloading FCP X 10.1.1: then the problem!
    Strange is the fact that I've just tried to export a short project, I can see the final product quite well.
    What is impossible is playing the clips within Final Cut: they are jumpimg, moving, presenting some frame in green or red ...
    Everything all right in iMovie.
    I've just checked the RAM: 9GB out of 12 GB is busy, could this be the problem?
    Motion is very slow: for 20 sec of project, it takes minutes to play. And once again, if you finalize the projet and export it in Quicktime, you can see it correctly.
    I do hope you may suggest something, I'm getting crazy!
    Thank you in adavance
    Claudio

  • I recently installed the trial version of Adobe XI and the trial period ended, so I wanted to revert back to the version I already had. I did not see any uninstall feature and my old version was apparently replaced by the trial version. I cannot re-instal

    I recently installed the trial version of Adobe XI and the trial period ended, so I wanted to revert back to the version I already had. I did not see any uninstall feature and my old version was apparently replaced by the trial version. I cannot re-install a previous version b/c I need both a product Id (GOd only knows where that is now) and a way to uninstall the trial. Any ideas?

    When you installed the trial, there should have been an option to have ignored your current installation and leave it. Apparently you skipped that case. To uninstall the trial (in Windows) go to Control Panel>Programs & Features and select the Acrobat XI and choose uninstall. After the uninstall run http://labs.adobe.com/downloads/acrobatcleaner.html to clean up your system. HOWEVER, if you see your old Acrobat in that window, do not run the cleaner, but do a repair on the old version.
    You did not mention the old version you had. You might try from http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html. As for the S/N, you should have register and if so you can get it from Adobe. The instructions are at http://helpx.adobe.com/x-productkb/global/find-serial-number.html#adobeproductdownload.
    Be sure to backup any download of the old installer and the S/N to CD or backup HD for future use. They will not likely continue to be available.

Maybe you are looking for