ithreads or fork() what you recommend?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pawanrpandey
    New Member
    • Feb 2007
    • 14

    ithreads or fork() what you recommend?

    Hi,

    I have to modify and use parallel processing for a large and complex system which is implemented in Perl. Each child process or threads are supposed to use memory around 1 GB each and will run for around 1-3 hours on Solaris Server.

    My question is - what is your recommendation - use of ithreads or multi processing using fork(). 100s of processes or threads need to be created with a concurrency limit of around 15 at a time to loop over list of 100 jobs. Considering amount of memory it is going to use and execution duration, which approach you would suggest? Relibility of the overall processing is very important since it will run in production environment.

    Thanks!

    Best regards,
    Pawan
  • pawanrpandey
    New Member
    • Feb 2007
    • 14

    #2
    I understand that this type of questions are requirement specific and need to be analyzed in details with requirement. Based on my analysis and other online help, I feel that multiprocessing using fork() will be better option for the job in hand, since it is not required to share much data and does not require synchronization between sub tasks.

    Please consider this question as closed!

    Thanks!
    Pawan

    Comment

    Working...