Re: Forked Processes Won't Migrate, Perl & ForkManager
James Wagner <jwagner-I/[email protected]> Mon, 24 Jul 2006 17:46:20 -0400
| Newsgroups | gmane.linux.cluster.openmosix.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks Daniel for your reply. I tried your script and it indeed does spread the work among the available nodes. (I got the highest load reading I've ever seen using it - very cool. :) ) Using this method of forking processes, would I be better served re-writing the script (again) to fork a separate process for each record and pass the record in as a parameter or by including a call to the processing routine in where you have the math functions? Are there any special commands I should not use that would possibly prevent the migration of the spawned processes? Jim Daniel 'Fremen' Llewellyn wrote: > > I haven't used ForkManager, so cannot verify whether it works or not, > but I did write a simple perl benchmark tool for oM clusters. The > forking is managed quite simply. Check it out (I'll direct you to a > less complicated earlier version that just does the forking and > processing with no graphical dohickery) at > http://www.xyz-network.com/ombenchmark.html/downloads/2.00+/mosixtest-2.02.download > > the latest version (3.00) has tk and curses user interfaces if you > have the relevent modules installed; though the curses version was > broken last time I looked at it. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV