LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-12-2008, 07:45 AM   #1
lucor
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Rep: Reputation: 0
linux server cluster for old pc ?


I would like to know what is the best choice to make an internet type server, (like xamp, lamp linux, apache, msql, php, etc...) on old pc.
When I mean old I mean there is 4 category:
- 486 with from 128/to 256 memory. I think I can forget about this one, you'll tell me.
- pentium/amd 100 to 300 with 128/2 Gig. Too old too ?
- 350 800 with 256/2 Gig. Too old?
- 900 2,4 Mhz with 256/2Gig. Might be ok ?
It seems that it's a HA Cluster High Availability Cluster) that is needed in this case.
I make some research, but it's a complex subject, for me at least, and there is so many solutions, I need a knowledgable help.

Last edited by lucor; 02-12-2008 at 07:59 AM.
 
Old 02-12-2008, 10:33 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
What is the nature of the network connection through which you will serve data? If this is a home DSL connection, the bandwidth there will be the choke-point, and anything in the Pentium class of CPU should keep up okay. Shoving bytes from disk to network interfaces is a relatively low CPU load. I have run a file server/web server/firewall on a 300Mhz K6, and was able to continuously saturate the network connection. If your server is going to do much backend database work (you mentioned mysql, but no reference to how it would be used), more CPU and memory will probably be required.
--- rod.
 
Old 02-12-2008, 01:52 PM   #3
lucor
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Hi Rod,
You're right it's cable home connection 30mbits. I plan to get more speed (paying for it) when it'll become necessary.
I could use mysql for lots of things, I plan to offer services like forums, buy and sell ads, may be auctions site too, or use the database for subscribers, (paying and free, depending on offers).
Obviously there will be more than one database.
Many scripts use databases, not to say all of them.
I don't know, yet, which offers will start first.
It'll be restrained by the initial brandwith (30mbits) and hardware at hand ((around 10 old pc from i486 to P2.4 ghz).
It's difficult to say as it also depends on successes (or lack of) offers will meets.
Some may last a short time and be quickly replaced with others (it'll be more like tests) until one works and stay.
Quote:
Originally Posted by theNbomr View Post
If this is a home DSL connection, the bandwidth there will be the choke-point, and anything in the Pentium class of CPU should keep up okay.
--- rod.
Even as low as P50 or 70, 90, 100?

Searching a little more, I found ultra monkey (using debian or red hat (it seems that debian is more developped) for High availability clustering.
But nothing yet, except your answer Rod, concerning brandwith and old pc.


Thank you for your help, it is much appreciated.

Last edited by lucor; 02-12-2008 at 04:52 PM.
 
Old 02-12-2008, 05:10 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by lucor View Post
Hi Rod,
You're right it's cable home connection 30mbits. I plan to get more speed (paying for it) when it'll become necessary.

Is P100 is included in your explanation ?

Searching a little more, I found ultra monkey (using debian or red hat (it seems that debian is more developped) for High availability clustering.
Without any significant database &/or CGI backend stuff, your P100 will be fine as a file/web server on a DSL connection. I ran a phpBB based forum for a short time on the above mentioned K6-based host (actually, it was a 200Mhz, not 300MHz as I said earlier), and with few users (I think there were never more than 4 concurrent), it was okay. Just for the sake of my own interest, I recently set up Plone on a 350 Mhz, 256MB K6/2, and this was hopelessly slow. Plone, based on Zope, generates all pages from Python code, based on its own internal database. I will probably use this as a rough benchmark of server speed for future evaluations.

I have used a 32MB 66Mhz 486 machine as a simple firewall for a home network. This was running the single floppy based Coyote Linux. Network speeds were slower in those days, but even that old dog could keep up with the network.

In summary, I think it is best to look at the non-networking aspects of a file/web server to evaluate performance. If there is little else besides serving static pages & files, a relatively pedestrian system will do.

I cannot speak to the matter of High Availability, per se, but again, the reliability issues in my world have more to do with my ISP and power provider than the equipment I run.

--- rod.
 
Old 02-13-2008, 04:41 AM   #5
lucor
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Original Poster
Rep: Reputation: 0
It's funny, because we did same kind of experiments, I think for same reasons : fun, learning, curiosity! I did it with an amd300 256Mo memory lamp and a database forum with around 5/6 people conecting, result a bit slow and some crash! I had to stop it.

Quote:
Originally Posted by theNbomr View Post
In summary, I think it is best to look at the non-networking aspects of a file/web server to evaluate performance. If there is little else besides serving static pages & files, a relatively pedestrian system will do.
Yes, in a word : test, test, test.

Quote:
Originally Posted by theNbomr View Post
I cannot speak to the matter of High Availability, per se, but again, the reliability issues in my world have more to do with my ISP and power provider than the equipment I run.
--- rod.
Right, understood, first the basics : network itself and electric power.
It reminds me that there is two values in network flow the downstream in this case a theorical 30 Mb AND the upstream which is desperatly slower 512 Kb - theorical. So, speed comes down to this theorical upload value.
Which put me back to the first one : test, test, test.

This is really good, down to earth, advices.
They are so clear when put on paper that I wonder why I hadn't them myself.
And that's precisely how you know they are good advices.

Many thanks.
 
  


Reply

Tags
cluster, clustering, linux, old, pc


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Cluster/Server configuration Tabemasu Linux - Server 4 06-12-2007 12:42 AM
LXer: Penguin Computing's Scyld ClusterWare(TM) HPC Offers Enhanced High Availability and Most Advanced Linux Cluster Virtualization, Enabling Broader Cluster Use LXer Syndicated Linux News 0 04-06-2006 07:03 PM
Cluster server with SuSE 9.1 burst Suse/Novell 0 12-28-2004 11:02 AM
Linux server cluster lovelysandu Linux - Networking 0 06-02-2004 06:46 AM


All times are GMT -5. The time now is 02:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration