0

I have a number-crunching multithreaded software which creates a thread per CPU. For example, if cat /proc/cpuinfo | grep proc | wc -l prints 24 than the software will create 24 threads.

I want to connect additional X machines with Y cpu cores so that the main sever on which the software runs will see 24+X*Y CPUs. It seems like I'm looking for implementation of SMP over IP.

Any existing solution for that?

svick
  • 236,525
  • 50
  • 385
  • 514
rlib
  • 7,444
  • 3
  • 32
  • 40
  • Do you know how much do the threads communicate with each other? With even a modest amount of communication, if what you're asking was possible, it would likely significantly *decrease* the performance of the application, because of communication overhead. Only software designed to be run distributed will work well distributed. – svick Jun 25 '17 at 13:13
  • @svick: thread Xi runs for t secs, then sends result to common queue on the main thread which takes the result from the queue and uses it. – rlib Jun 25 '17 at 13:33
  • SMP over TCP? not a chance. But read about _cluster computing_. (e.g., https://en.wikipedia.org/wiki/Computer_cluster) – Solomon Slow Jun 25 '17 at 22:08

0 Answers0