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 18: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