943,675 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1753
  • C++ RSS
Sep 3rd, 2008
0

Multi-threading Vs. Distributed Computing

Expand Post »
Which is better?

We're designing a new autonomous robot for the competition we attend during the summer and this is one of our topics for design. I want to do a dual-processor, multi-core computer to run the software. Some others want to do distributed computing (between two laptops). Am I wrong in thinking the performance of multi-threading far outweighs that of distributed computing?
Reputation Points: 817
Solved Threads: 32
Nearly a Posting Virtuoso
Duki is offline Offline
1,474 posts
since Jun 2006
Sep 3rd, 2008
0

Re: Multi-threading Vs. Distributed Computing

What if one of the laptops was on your desk, and the other laptop was on your robot?

Something your "dual core" processor could never do.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Sep 3rd, 2008
0

Re: Multi-threading Vs. Distributed Computing

for (;;) {
Too many factors pro et contra. It depends on control processes architecture.
As usually, multi-core CPUs can't run concurent heavy-floating-point-calcs processes or threads effectively. Distributed computing has its own syhch overheads. Number of data transmission channels...
}
Reputation Points: 1234
Solved Threads: 347
Postaholic
ArkM is offline Offline
2,001 posts
since Jul 2008
Sep 3rd, 2008
0

Re: Multi-threading Vs. Distributed Computing

Click to Expand / Collapse  Quote originally posted by Salem ...
What if one of the laptops was on your desk, and the other laptop was on your robot?

Something your "dual core" processor could never do.
That would be nice, but both computers have to be directly mounted to the robot. That does bring up a good point though; one that was discussed yesterday. Another pro to having dual computers would be a fail-over system.
Reputation Points: 817
Solved Threads: 32
Nearly a Posting Virtuoso
Duki is offline Offline
1,474 posts
since Jun 2006
Sep 3rd, 2008
0

Re: Multi-threading Vs. Distributed Computing

How are you proposing to divide up the work between 2 laptops (if that's the way you go)?

One for each side, so each has one eye, arm, and one side of wheels?
Or one for all input sensors, and another for all movement?
Or maybe something else, say either could do any job based on current work load?

A single multi-core CPU would probably mean you wouldn't have to worry about say load balancing. And inter-process communication is fast and easy.

I'm not sure there's a "killer" argument which favours one or the other.
What about other non-computational requirements, like battery life or weight?
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: QT XML compiling error on Mac
Next Thread in C++ Forum Timeline: C++ debug macro





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC