parallel processing - what are the models to distribute tasks in processes using openMPI? -


the thing want ask : have several steps of big source code (each step has virtual computation time , virtual communication data,i taking virtual wants model latency , somehow managed measure them throughout source code) . need test make code sleep computation time , transferring data equivalent communication data . can suggest configuration models same ? aim minimizing overall execution time of program , want diminish overhead process can have.

the simplest strikes mind :


  1. do computation on processes , send virtual data making asynchronous call root processes
  2. do same synchronous call .
  3. assume communication time linear communication data . use algorithm divide tasks formerly each process (inspired load balancing)
  4. start first task root process , sends data next process , sleep on process , show on.

can please give me idea or verify ,if strategy makes lot of difference ?


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -