C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 10-19-2009, 11:56 PM   #1
Eager young mind
 
Join Date: Jun 2006
Posts: 338
Master/Worker applications

Folks,
I hope I am posting this question in the right area. I have the following doubt.
I am trying to work on parallel Master/Worker applications. In general, how common/un-common is it for the workers to do different amount of work? Is it ok to generalize that most applications that use this paradigm of programming, involve uniform division of labor across all the worker processes?

Thanks
__________________
In the middle of difficulty, lies opportunity
kris.c is offline   Reply With Quote
Old 10-20-2009, 12:02 AM   #2
Registered User
 
Join Date: Oct 2009
Location: While(1)
Posts: 316
I think if i m correct you are talkin abt the threaded application ? If yes then you can use multi threading concept in your model
RockyMarrone is offline   Reply With Quote
Old 10-20-2009, 09:29 PM   #3
Eager young mind
 
Join Date: Jun 2006
Posts: 338
Well, I am actually using MPI. I want to create a bunch of worker processes, the master deals with the workers using MPI calls, the workers work on their own contribution and this may or may not involve communication with other worker processes. At the end of a time-step, the workers report back their results to the master. And this goes on a bunch of times, till the exit condition is reached.
I have found a few applications that rely on uniform distribution of work, whereas, one application that I have come across, deliberately divide the work in a non-uniform manner. I want to know if the majority of the applications rely on a uniform distribution.
__________________
In the middle of difficulty, lies opportunity
kris.c is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get Installed applications list and applications activity arunarora C++ Programming 5 05-25-2009 09:41 AM
Changing console applications cursor? kevinawad C++ Programming 7 11-07-2008 03:12 PM
First MFC app - Not listed in Task Manager Applications Dino Windows Programming 3 03-08-2008 11:06 AM
A question about windows programming Hussain Hani Windows Programming 16 05-23-2007 07:38 AM
Creating real applications? OdyTHeBear C++ Programming 7 12-13-2002 07:54 PM


All times are GMT -6. The time now is 12:12 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22