Challenges of running an application on multi core environment
-
I want to know what sort of complexities may arise, if we port an existing application(huge application having so many threads connected to various components) onto a multi-core system.What all the things that can be taken care of while developing an application in order to make it run efficiently in multi-core environment too? If someone have the experience in handling such scenario, please suggest.
-
I want to know what sort of complexities may arise, if we port an existing application(huge application having so many threads connected to various components) onto a multi-core system.What all the things that can be taken care of while developing an application in order to make it run efficiently in multi-core environment too? If someone have the experience in handling such scenario, please suggest.
You won't find new bugs by moving from a single core to a multi core. But you will find the same bugs you already had will manifest more often... I know that's a short answer, but the idea is not a big one! Iain.
I have now moved to Sweden for love (awwww).
-
I want to know what sort of complexities may arise, if we port an existing application(huge application having so many threads connected to various components) onto a multi-core system.What all the things that can be taken care of while developing an application in order to make it run efficiently in multi-core environment too? If someone have the experience in handling such scenario, please suggest.
In multicore environment your multithreaded applications will experience real concurrency, it may be a good test for your synchronization mechanism. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
In multicore environment your multithreaded applications will experience real concurrency, it may be a good test for your synchronization mechanism. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]Thanks for your comments!! Exactly, I am also worried about the thread/process synchronization issues that may come up in the multi core environment. Can anyone have the experience of facing such issues, or atleast have the knowledge about the issues, if so, please reply?
-
I want to know what sort of complexities may arise, if we port an existing application(huge application having so many threads connected to various components) onto a multi-core system.What all the things that can be taken care of while developing an application in order to make it run efficiently in multi-core environment too? If someone have the experience in handling such scenario, please suggest.
totally depend on your application architecture, in single core machine, practically each thread on application run on same CPU, means CPU allocate time for Main thread and Workerthread, in that case if program is not correctly syncronize, it can still work. But on multicore CPU, if every thread utilize service of diffrent CPU, here syncronization should be perfect otherwise be ready for new defect coming your way.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You