Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
The stupid question is the question not asked
 
PerlMonks  

Re: Can Perl take advantage of dual 64bit Opteron?

by mowgli (Friar)
on Jan 07, 2005 at 09:03 UTC ( [id://420252]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Can Perl take advantage of dual 64bit Opteron?

An easy way to take advantage of a dual-processor system would be to formulate your problem in a way that allows you to split it up into two (or more) parts. Fork off a second process (that will hopefully be put on the second CPU by the OS's scheduler), let both of them crunch away on their parts of the problem, and use the standard IPC facilities to communicate between the processes.

If you expect to do your crunching on bigger iron, parallelize your problem more (it's always a good idea to do so, anyway), and use MPI from the beginning - that will save you a lot of hassle later on.

--
mowgli

  • Comment on Re: Can Perl take advantage of dual 64bit Opteron?

Replies are listed 'Best First'.
Re^2: Can Perl take advantage of dual 64bit Opteron?
by rulethirty (Initiate) on Jan 07, 2005 at 13:36 UTC
    I have a colleague who uses MPI for his projects and I am sure he can tutor me more with it. What about the 64bit stuff? Is perl automatically handling that part so long as the perl binaries and libraries are written for the 64bit arch?
      I *think* so, but don't quote me on that.

      --
      mowgli

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://420252]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.