From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <138575260903030352s623807d7p5a3075b1f7a591f6@mail.gmail.com> References: <138575260903030352s623807d7p5a3075b1f7a591f6@mail.gmail.com> Date: Tue, 3 Mar 2009 08:00:21 -0800 Message-ID: <13426df10903030800y49a444een89951c359813bf6d@mail.gmail.com> From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] threads vs forks Topicbox-Message-UUID: ac8cb7fa-ead4-11e9-9d60-3106f5b1d025 On Tue, Mar 3, 2009 at 3:52 AM, hugo rivera wrote: > You see, I have to launch many tasks running in parallel (~5000) in a > cluster running linux. Each of the task performs some astronomical > calculations and I am not pretty sure if using fork is the best answer > here. lots of questions first . how many cluster nodes. how long do the jobs run. input files or args? output files? how big? You can't say much with the information you gave. ron