LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 09-26-2002, 08:54 PM   #1
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Rep: Reputation: 30
constructing a beowolf cluster


how do you construct such a cluster. what connects the computers ethernet, can wireless do it? what software is needed?
 
Old 09-26-2002, 09:20 PM   #2
jonfa
Member
 
Registered: Mar 2001
Location: FL
Posts: 257

Rep: Reputation: 30
A wireless connection will work for Beowulf clusters, but the limited bandwidth of wireless networks(~11mbps) severly limits the through put of the parallel algorithms. They need to communicate large amounts of data very quickly to the master node.

Beowulf clusters are hetergeneous, meaning they can be alpha, intel, amd, risc processors. Just about anything will work together. Different processor speeds are also allowed on the same cluster. There are two "mainstream" controllers of Beowulf clusters: Parallel Virtual Machine (PVM) and Message Passage Interface (MPI).

To construct such a cluster you simply build as many machines as you can, multiples of 2 make life easy. My cluster is currently 4 machines. The connection between them is very important. I have a 10/100 ethernet connection.

The problem will be writing parallel code. There are several programs out there for you to use. You have to ask yourself what you want it for. If it's for fun, then search the net for parallel code to rip mp3's or to do some bazaar computation in a short time. Also, POVRAY can produce nice CGI's.

Jon
 
Old 09-27-2002, 09:28 PM   #3
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Original Poster
Rep: Reputation: 30
i mainly want to use it to help speed up the kernel recompile and software installation on my slower computers
 
Old 10-13-2002, 08:00 PM   #4
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Original Poster
Rep: Reputation: 30
can anyone tell me how to connect the computers and what if any software is needed? thanks.
 
Old 11-07-2002, 10:22 AM   #5
Zwitterion
LQ Newbie
 
Registered: Nov 2002
Location: Florida
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
Quote:
Originally posted by Goatdemon
i mainly want to use it to help speed up the kernel recompile and software installation on my slower computers
That's my question as well, but another is does this work with Windows machines? (2000 and higher)
 
Old 11-07-2002, 11:41 AM   #6
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
But how are you going to parallelise the code? The kernel is written in C, and has support for multiprocessing but multiprocessing is not the same as parallelisation which is the main application for cluster computers.

Most problems actually can't be parallelised. Think of this: if a woman can produce one baby in 9 months, can 2 women produce 1 baby in 4.5 months?

A smarter solution would be to download one of those distributed application SDKs, and to ask all your friends to run it on their desktops.
 
Old 11-07-2002, 03:30 PM   #7
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Original Poster
Rep: Reputation: 30
so, is there anyway i can hook up my 800mhz desktop, to my 233mhz laptop and have it do compiling and recompiling of software and kernels.

1. if a prog isnt multithreaded can i have it just use the desktop cpu
2. are multithreaded apps the only ones that can be beowolfed?
3. how do i set up a beowolf cluster? how could i take full advantage of it on my slow laptop?
 
Old 11-08-2002, 06:45 AM   #8
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Quote:
Originally posted by Goatdemon

1. if a prog isnt multithreaded can i have it just use the desktop cpu
A multithreaded application can use a single CPU too, but it won't execute it in parallel. Parallelisation and multithreading are not really the same - many programs have more than one thread of execution - the OS you're using now certainly has more than one thread of execution. Think of the most visible application of parallelisation (and distributed computing), SETI. This task can broken into many small independent pieces and then reassembled to give a result.
Quote:

2. are multithreaded apps the only ones that can be beowolfed?
Parallelised programs are the only ones which will take advantage of the architecture.
Quote:

3. how do i set up a beowolf cluster? how could i take full advantage of it on my slow laptop?
If you only want to save time (2 babies in 4.5 months), think of NFS so that you can link up the two computers over TCP/IP and run the kernel recompilation concurrently. Careful though! If I'm not mistaken, kernel recompilation is a sequential process. You want to use two processors to share the workload? Sell one of the computers and use the cash to buy more RAM and a faster processor for the other one. Or get out your soldering iron and put the second processor into the other computer if thats possible on your hardware.

Sorry to shake yours ideas of clustering and beowulf etc., but there's a lot of myths about this topic - it's not for the light-hearted, and would not really pay off for less than about 20 computers - standalone PCs are just not put together with clustering in mind - they are too autonomous in the way they process instructions.

Bert
 
Old 11-08-2002, 07:03 PM   #9
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Original Poster
Rep: Reputation: 30
ok, thanks for the bad news.
 
Old 12-18-2002, 10:43 PM   #10
jkoppee
LQ Newbie
 
Registered: Dec 2002
Posts: 1

Rep: Reputation: 0
clustering

I am currently about to take on a project at school to create a beowolf cluster as a senior project, not quite sure how to do this as in the software end. Most like going to be a couple dozen 486's with a 10/100 connection through each in a custom box, what software should I use and how to I use it
 
Old 12-18-2002, 11:21 PM   #11
rkaran
LQ Newbie
 
Registered: Sep 2001
Posts: 15

Rep: Reputation: 0
Try this site:

http://dune.mcs.kent.edu/~farrell/equip/beowolf/

They have an FAQ there that kind of explains the challenges. Most of the other links appear to be dead.

However, here is a link to a how-to

http://tldp.org/HOWTO/Beowulf-HOWTO.html
 
Old 12-19-2002, 01:32 AM   #12
katana
Member
 
Registered: Jun 2001
Posts: 100

Rep: Reputation: 15
I did a beowulf cluster on 35 PCs running RedHat 7.1 as OS for my end-of semester thesis..

well, software side, there are quite a lot out there, but the one i used are MPICH (for MPI) and PVM...MPI is quite new (at least here in my country ) and PVM is more mature and more widely used here. I wrote parallel programs (mathematical problems) using C++ to run on the cluster and compared the two (MPI and PVM), studied the load-balancing and stuff..

actually it wasnt quite that hard..u just have to configure the RedHat box a little, most of it for cluster administration..and RedHat 7x even comes with this sofware called LAM-MPI, which is similar to MPICH, but i didnt try it coz some people said it's not as sturdy as MPICH or PVM..

the beowulf link rkaran gave is a good one...if u guys really interested i'll refer back to my tesis and see if i can translate the whole 250 pages of it into English or something hehe...

but really, this cluster stuff doesnt really do real work(at least in my case, parallel programs/computing) unless the cluster consists of more than 32 PCs at least, but even then,using 35 PCs, i'm not much impressed...

Suzana

Last edited by katana; 12-19-2002 at 01:35 AM.
 
Old 12-19-2002, 04:07 PM   #13
chupacabra
Member
 
Registered: Oct 2002
Posts: 30

Rep: Reputation: 15
Thumbs up I might have what you want

I have docs, RPMs and all the tools needed for clustering. The HOWTO I have is a step by step cookbook-recipe type of thing.

Email me at chupacabra@linuxmail.org.

Do you have a place where I can upload that stuff? total weight is about 7MB.
 
Old 12-20-2002, 01:01 PM   #14
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Original Poster
Rep: Reputation: 30
email it to me, i can try to put it on my crappy web site... which is crappy... http://home.earthlink.net/~goatdemon/data/

my email is goatdemon@earthlink.net
 
Old 12-08-2003, 08:56 AM   #15
Mack_T
LQ Newbie
 
Registered: Sep 2003
Location: Rohnert Park, CA
Distribution: Red Hat 9.0/ Debian/ Solaris 9 (just trying out)
Posts: 27

Rep: Reputation: 15
Check
www.rocksclusters.org
They can help ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A beowolf cluster svinka Linux - Networking 7 05-17-2006 12:35 PM
Cluster question: Is it possible to make a bulletproof cluster? ValidiusMaximus Linux - Software 1 09-06-2005 02:07 PM
To cluster or not to cluster engnet Linux - Hardware 1 06-25-2005 09:24 PM
Setting up a cluster with pxe and cluster knoppix bucovaina78 Linux - Networking 1 05-15-2005 11:29 PM
cluster i_is_cat Linux - Networking 1 06-09-2003 05:59 PM


All times are GMT -5. The time now is 11:04 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration