LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-12-2005, 03:16 PM   #1
chutsu
Member
 
Registered: Nov 2003
Location: UK
Distribution: Debian Lenny
Posts: 255

Rep: Reputation: 31
Parallel Computing


Hi I was just really into the fact the you can build a cluster using your old computers, and I was wondering...say if you were to perform a task on the host computer, does it mean that the task is autmatically split into little bits and sent to other computers to process the information and sends it back to the host?? or do you need very specific programms to do that?? what what kind of programms are they apart from science and research programs??
Oh one more thing can you create a network of both PPC computers and x86 computers together to make a cluster??
Thanks
 
Old 05-12-2005, 04:02 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Most multithreaded applications can be split across multiple machines in a cluster. A unithreaded application generally cannot be.
 
Old 05-12-2005, 10:04 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Just to add on to this: it depends onthe application. Some multithreaded applications can be made to run on more than one machine easily. But if the application relies on shared memory or another form of intra-machine IPC, porting it becomes a lot more difficult. Most parallel programs are written that way explicitly using MPI or PVM to save the programmer from having to implement low level communication routines. You can also use OpenMosix which simply migrates processes but does not provide for explicit parallel communication so much.

You can network together x86s and PPCs in the same cluster, but given that the same code won't run on both systems (unless you use a scripting language, Java, or some other CPU neutral sort of code, which is a bad idea if you really want performance) there's no much of a point. Plus cluster nodes generally are meant to be as close in speed as possible to make load-balancing easy.
 
Old 05-12-2005, 10:29 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You *CAN* cluster x86 and ppc using some proprietary software, but not in the traditional manner. You can perform more of a distributed computing system (like distributed.net) does. This is, however, taking a look at the problem from a whole different perspective.
 
Old 05-13-2005, 01:58 AM   #5
cerealdaemon
Member
 
Registered: Dec 2004
Distribution: Fedora Core 5 (Bordeaux), Kubuntu Dapper Drake
Posts: 92

Rep: Reputation: 15
Called a Beowulf, its a neat idea, though with standard x86 computers, especially older ones, you aren't really going to see an appreciable gain in preformance, even multithreaded ones. The main problem is this, you need to have computers that are almost if not totally identical, reason being that if you have computers that aren't then the processing load bearing is unbalanced. You'll have one or a couple of the faster computers doing most of the work, while the slower ones just sit on the network and process little bits. Thing about that is that they contribute to lag in the system because of the addressing needed to have everycomputer know that they are there.

Another big thing to consider is the interlink. I'm assuming that you will be using Cat5 cable with a 100 switch, or rack switch depending on your fundage. The problem with this solution over proprietary ones like Inifiniband or some of the stuff that Cray has to offer, is the massive lag that you are going to see. Usually, they use a standard IP addressing on a special network with the nodes, all that passing of data and ipaddressing and caching of ipaddresses, combined with the physical limitations of the cable can lead to a really laggy multicpu setup. You'll have a "supercomputer" technically, but chances are that you'll have a better experience with a single modern cpu. Lag and latency on that are limited to your bus and local bottlenecks, not network bottlenecks, which can really add up.


Check out the Stone Soup Computer, just google that. And the Big Mac at Virginia Tech. An x86 and a PPC beowulf, respectively.
 
Old 05-13-2005, 09:20 AM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You *CAN* make use of slower computers, provided that your computational units are proportionately larger. And you can load-balance across a heterogenous network, it just takes a bit of extra work.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Computing for toddlers bogler General 11 03-11-2024 11:19 PM
Grid Computing Oxagast Linux - General 4 12-01-2005 02:30 AM
trusted computing tincat2 General 13 12-06-2003 05:15 AM
Computing in the dark? MasterC General 33 07-30-2003 07:11 PM
Cluster computing?? Yo-DUH_87 Linux - General 2 04-23-2003 05:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration