Insider1984
Technical User
We have a in house data processing program (image processing to be exact). We are running them on Dual 2.0Ghz G4 on one machine. One of our programs swears that having it setup for 8 threads (the number of independant image acq. boards) is better than setting up for 2 or 4.
I see his side in one view but since acq is hardware controlled (not affected by cpu usage) would it be better to match the threads to the processors we have available?
Is there some rule I can look to in the future for this?
I always thought you want to use multiple threads to increase the fluidity(is that a word) of your applications (aka gui and core use different threads). In this case we are purely cranking data through the processsors. a thread match to the processors seems to make sense although I havn't taken any offical classes on the subject.
Please advise.
PS> my subject would make you believe I don't believe in threaded applications. That is wrong... I just am wwondering if in a purely data processing app. if having 4 times the threads as you do processors is a healthy habbit?
Thanks again.
=====================
Insider
4 year 'on the fly' programmer
C++ Basic Java
I see his side in one view but since acq is hardware controlled (not affected by cpu usage) would it be better to match the threads to the processors we have available?
Is there some rule I can look to in the future for this?
I always thought you want to use multiple threads to increase the fluidity(is that a word) of your applications (aka gui and core use different threads). In this case we are purely cranking data through the processsors. a thread match to the processors seems to make sense although I havn't taken any offical classes on the subject.
Please advise.
PS> my subject would make you believe I don't believe in threaded applications. That is wrong... I just am wwondering if in a purely data processing app. if having 4 times the threads as you do processors is a healthy habbit?
Thanks again.
=====================
Insider
4 year 'on the fly' programmer
C++ Basic Java