LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-02-2004, 10:06 AM   #1
sponsii
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
Linux cluster Vs 1 good CPU


hey guys maybe you can help me with this one.
I wonder what is better : 2-3 PCs(for a start) with a crappy 2Ghz Celeron (or any other cheap cpu) +GigaBit ethernet or a good new AMD 64 ???



Any information will be appreciated and i can't be more specific i guess because i don't know much

Last edited by sponsii; 11-02-2004 at 10:13 AM.
 
Old 11-02-2004, 10:14 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Most programs aren't optimized to run on multiple processors, let alone multiple machines.

On the other hand, the more boxes you have, the more processes you can have running that have more processor time... One box can be compiling, one box can be browsing, one box can be playing music, one box can be serving, etc.

On the other hand, the more boxes you have, the systems you have to maintain.

On the other hand, the more boxes you have, the less you are to have a catostrophic failure and not be able to do anything.

On the other hand, the more boxes you have, the more hardware you have to buy.

How many hands is that, so far?

If you want to go with the cluster, you should know that it doesn't usually work as if it is one big computer. As I mentioned first, most programs aren't written to run on multiple processors. But, the more processors you have, the more programs you can have running. A good thing to look into would be grid-computing. It's a cluster that does some automatic load balancing... Intensive jobs get passed to the computer with the best processor.
 
Old 11-04-2004, 09:39 AM   #3
sponsii
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by ranger_nemo
Most programs aren't optimized to run on multiple processors, let alone multiple machines.

On the other hand, the more boxes you have, the more processes you can have running that have more processor time... One box can be compiling, one box can be browsing, one box can be playing music, one box can be serving, etc.

On the other hand, the more boxes you have, the systems you have to maintain.

On the other hand, the more boxes you have, the less you are to have a catostrophic failure and not be able to do anything.

On the other hand, the more boxes you have, the more hardware you have to buy.

How many hands is that, so far?

If you want to go with the cluster, you should know that it doesn't usually work as if it is one big computer. As I mentioned first, most programs aren't written to run on multiple processors. But, the more processors you have, the more programs you can have running. A good thing to look into would be grid-computing. It's a cluster that does some automatic load balancing... Intensive jobs get passed to the computer with the best processor.
well then maybe i am confused with the meaning of cluster..
I thought it's like 3little cpus = 1 big CPU and that's how things work... meaning that if a dvd-rip proccess needs the 75% of the combined CPU power it gets it and remains the 25% of the CPU power.. not like 1 process uses 1 cpu...
i get a little confused here ..could anyone give me some basic info (simple stuff so that i have't got to dig through GooGle) ???
 
Old 11-04-2004, 02:12 PM   #4
ky-lab_rat
Member
 
Registered: Jan 2004
Posts: 44

Rep: Reputation: 15
I hope this helps out a little. (Here I go)

Clusters only make apps run more reliable/faster if the app is cluster aware. For the most part Cluster run in an "active -passive" state meaning that one node processes the requests while the other node sits idle/dormant. Meaning that if the active node fails the backup node will kick in and you might only lose a few transactions. There are some “active - active” clusters but these are very highly specialized apps that are expensive and complicated to configure.

Grids share the computing load among multiple computers/nodes. Now this adds more complexity to the mix. These are VERY specialized apps. These for the most part are number crunchers and simulators that are usually custom wrote for a specific purpose. For example the Earth Similar by NEC in Japan or weather model generators by NSSL (National Severe Storms Laboratory). There are also some relatively less expensive and easier to configure (I use those term loosely) apps. An example I can think of is Oracle (which does grids and clusters)

So if just wanted to rip some MP3’s, while re-compiling your kernel, while rendering a movie there is no one stop magic app/component, I’ve ever seen or heard of that will do this. What I basically mean is, there nothing to take some generic app and spread it’s load across a grid or cluster and make it work.

If there is such a thing let me know and I’ll use my test 10g grid and test it. (I love working at large Companies!)

Sorry I'll stop rambling on now....


This link may also help shed some light on it for you.
http://lcic.org/
 
Old 11-06-2004, 12:31 AM   #5
KohlyKohl
Member
 
Registered: Aug 2004
Location: Wausau, WI
Distribution: SuSE Linux Enterprise Desktop 10
Posts: 193

Rep: Reputation: 30
Your are right, a cluster is 3 cpus into 1 big cpu. Thats the whole meaning of cluster. Buisnesses use them all the time, be it for the internet, intranet, or fileserver. The whole point is this:
If client a is using word processing and client b is accessing files on the server, client b gets precidence over client a. So on a larger scale the server if at near full capacity would put client a on hold because in a server enviroment client b is more important. Which is why clusters are so invaluable, now client a won't get shoved to the side when the first computer is at 100% processing compacity. There is no such thing as node this node that.
 
Old 11-06-2004, 02:26 AM   #6
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
Quote:
Originally posted by sponsii
well then maybe i am confused with the meaning of cluster..
I thought it's like 3little cpus = 1 big CPU and that's how things work... meaning that if a dvd-rip proccess needs the 75% of the combined CPU power it gets it and remains the 25% of the CPU power.. not like 1 process uses 1 cpu...
i get a little confused here ..could anyone give me some basic info (simple stuff so that i have't got to dig through GooGle) ???
think of it like this, if you make shoes, and you hire 3 more people to help you make shoes, you wont make any single shoe 4 times as fast, but you will make 4 times the amount of shoes in the time it used to take to make only 1.

thats like a cluster, work in a cluster must be devided up between the nodes by the cluster aware program. thats why tasks such as audio encoding cant be done any faster for a single track, but you can do twice as many tracks in the same time if you have a cluster.
 
Old 11-06-2004, 03:45 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
What is your level of experience with Linux? If you are relatively new to it, perhaps the best thing to do would be to get a solid, midrange machine, install Linux, then learn Linux. Once you're comfortable, acquire a second machine, set up your cluster, and expand as much or as fast as you're comfortable with. You'll have a lot more fun and enjoy it a lot more if you don't bite off more than you can chew on day one.

Good luck with it either way and welcome to LQ -- J.W.
 
Old 11-12-2004, 07:56 AM   #8
sponsii
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Tnx for the replies guys, i've got it all cleared up now


@J.W. : i've been working with linux since kernel 2.4.22 and slack9.0 i think
i did the right thing and started with slack
 
Old 11-12-2004, 12:24 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Excellent. And if you ask me, Yes, you definitely did the right thing by starting with Slack Right on. Anyway I didn't mean for my question to be seen as a challenge, but rather just as a measure that would help people to respond appropriately. Your original post came across (to me anyway) that you were brand new to Linux, and therefore I figured that for a newibe, it would be a better experience to gradually come up to speed with Linux rather than to try to build a cluster as your very first project. Sorry if that didn't come across the right way.

In any event, congrats on solving the issue -- J.W.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Good vendor for turn-key cluster? DDD26 Linux - Hardware 1 04-29-2005 07:09 PM
Please suggest a good cpu/mobo combo at about 2.8G Streagan2 Linux - Hardware 3 11-28-2004 01:45 PM
I need a good cpu Monitor webwolf70 Linux - Software 9 11-24-2004 11:15 AM
AMD64 CPU and Linux - a good combination? datapulse Linux - Hardware 3 03-26-2004 05:07 PM
Cluster vs. Dual CPU Stephanie General 4 01-13-2004 12:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:09 AM.

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