Thread: Master/Worker applications

  1. #1
    Eager young mind
    Join Date
    Jun 2006
    Posts
    342

    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

  2. #2
    Registered User
    Join Date
    Oct 2009
    Location
    While(1)
    Posts
    377
    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

  3. #3
    Eager young mind
    Join Date
    Jun 2006
    Posts
    342
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Get Installed applications list and applications activity
    By arunarora in forum C++ Programming
    Replies: 5
    Last Post: 05-25-2009, 09:41 AM
  2. First MFC app - Not listed in Task Manager Applications
    By Dino in forum Windows Programming
    Replies: 3
    Last Post: 03-08-2008, 11:06 AM
  3. A question about windows programming
    By Hussain Hani in forum Windows Programming
    Replies: 16
    Last Post: 05-23-2007, 07:38 AM
  4. Creating real applications?
    By OdyTHeBear in forum C++ Programming
    Replies: 7
    Last Post: 12-13-2002, 07:54 PM