07-11-2006 04:55 AM
07-11-2006 06:57 AM
If you could just run the program and post a screenshot of the timings (like the attached) I would be very grateful.
Thansk
07-12-2006 04:47 AM - edited 07-12-2006 04:47 AM
Hi, I ran the speed test2.vi and modified your .vi(Two convolutions in the same sequence) and ran it again. You can look at the result from the attached file.
It seems that a faster cpu does improve the execution time.
My system: Pentium(R)4 dual core 3.40GHz with 2.0Gb RAM.
Regards
Message Edited by Morini on 07-12-2006 11:48 AM
07-12-2006 06:00 AM
Yes the execution time is indeed faster - but not very much.
I think that a much faster cpu is needed in order to get the processing time below 25ms. I guess it will take a few years 😞
I could of cause try and rewrite it to see if parallel running on a dual core cpu will help.
Thanks
Simon
07-12-2006 07:19 AM
07-21-2006 03:24 AM
Hi Morini
Could you please try and run this vi?
It has been rewritten in order to make use of dual core cpu's and I would like to see if it makes an impact on the computation time.
Best Regards
Simon
07-24-2006
02:58 AM
- last edited on
06-02-2025
12:49 PM
by
Content Cleaner
07-24-2006 03:05 AM
Hi Morini
You mean that since the two threads are in the same loop the process wont be running parallel?
This test is just tempoary, the real program will be running several hours a day as fast as I can get it to run (hopefully 40 Hz) - since it has to analyse millions of images any speed imporvement would be worth a lot of effort.
07-24-2006 03:47 AM
Hi, to make sure that Labview will try to run them in parallel, you have to use independent multiloops.
One more thing: When you test your VI, make sure to do that in runtime. Because Labview doesn't support hyperthreading in edit time. That means you have to build a .exe file.
Regards
07-24-2006 07:53 AM
Hi
Making them run in independent loops is very hard.
The only way I can think of is somehow having the acquisition and analysis running separate, using a series of image buffers. Then two images could be loaded from the buffer simultaniusly and be processed in different threads - while the grabbing just puts images into some kind of ring buffer. Im not completely sure how to do that though.
I tried to change some priorities and setting the convolution as reentrant - it seemed to increase the speed by 5-10%.
I have also made an executable, however it didnt run any faster on my computer. Could you try running it?
I have enclosed a zip file with the executable and 50 images that are looped through. All you need to do is type in the path for the images and then hit run.
Best regards
Simon