EXTREME Overclocking  - Building A Diskless Folding @ Home Farm Article - Page: 2
Home | Reviews | Forums | Downloads | $ EXTREME Deals $ | RealTime Pricing | Free Magazines | Gear | Folding Stats Newsletter | Contact Us

Building A Diskless Folding @ Home Farm

Project: Folding @ Home
Date Written: November 25, 2002
Written By: Jason Rabel

 

Getting Started:

When setting up my farm, I came across having to make a decision to either have each client machine make a RAMdisk big enough to hold the F@H files and fold from there, or to each use their own NFS mounted directory and work over the network. Changing the size of the RAMdisk from the kernel's default meant having to compile a custom kernel, which I really didn't want to do, also if a system lost power, all the work in progress would be lost. Running over the network really isn't as bad as it sounds. The F@H client only writes data when it finishes a frame, and it is a very small amount of data at that. Also if a client looses power or locks up, the data is safely stored on the server and it can resume where it left off. Also having all the files in one central place makes it much easier to maintain and monitor. Since the farm is also on its own physical network, it shouldn't interfere with your local network at all except when it is having to send / receive WUs.

My setup that I will be going through in this article revolves around Red Hat 8.0. LTSP actually supports 6 different Linux Distros, so if you feel more comfortable with a different one, you can use it just as easily. The configuration files used in this setup are pretty common across all distros. Also, to save space I'm only going to list the first couple client machines in configurations, adding more clients should be as simple as copy & paste then incrementing the numbers.

If you plan on building you farm out of what you have just laying around, then I would pick the most powerful machine to be the Farm Server (it can still do F@H so don't worry), or if you are planning on purchasing identical hardware for your farm you can use one of those machines just as easily, all you need is a decent sized hard drive (5-10GB should be more than enough), an extra NIC (to connect your two networks), and I would spring the money for a little extra RAM (256MB should be plenty).

The first thing I did was to do a pretty bare install of Red Hat on the Farm Server. The install process is pretty basic, if you need help getting it installed there are plenty of guides on the net to show you how. The only difference I did from the standard install is that I manually configured my NICs (usually they default to DHCP). I configured both NICs with static IPs, the first NIC was an IP within my current home network, and the second NIC was for the farm network and had the IP 192.168.2.100. Refer to the picture in the introduction for how my IPs are setup.

Next I made sure I had the following services installed:

  • bind
  • dhcp
  • nfs-utils
  • tftp-server
  • portmap

To check and see if they are installed, you can issue the following commands, and they should return the version that is installed:

[jason@PE1400SC root]$ rpm -q bind
bind-9.2.1-9
[jason@PE1400SC root]$ rpm -q dhcp
dhcp-3.0pl1-9
[jason@PE1400SC root]$ rpm -q nfs-utils
nfs-utils-1.0.1-2
[jason@PE1400SC root]$ rpm -q tftp-server
tftp-server-0.29-3
[jason@PE1400SC root]$ rpm -q portmap
portmap-4.0-46

 

If you are missing one or more packages, you can use the Red Hat up2date program, or you can find and install them from Rpmfind.net. Be sure to pick the proper files for your distro.

Once you have verified that you have the necessary services installed (but not started), you can go ahead and install the LTSP RPM files. I have a mixture of NICs that I use in my farm, including some Intel NICs, and onboard NICs which boot via PXE (slightly different than the regular DHCP process), I installed those files too, which the GZip includes a README on where to put the files and the extra configuration necessary.

The Download Page @ SourceForge has all of the following files, and much more should you need them. *Note - There might be slightly newer releases depending on when you read this article, so the version numbers might not match up 100%. Download the files to a directory on the Farm Server then install them via the regular RPM install process. Also, I don't know if you can just do a *.rpm to install them, I didn't try that, instead I installed the files in that order (there are only 3 of them so it's not that big of a deal), and uncompressed the extra PXE file. One of the files says "local apps" in it, but you aren't going to be running anything locally really, there are files that it has for DNS resolution that the clients will need, I had that hardest time with the clients resolving DNS names until I found a random post while searching the net which said to try and install that RPM, and sure enough things started working after that. You can fully configure the local apps part if you want to be able to telnet to the clients and such, but for this folding project it really isn't needed.

  • ltsp_core-3.0.7-0.i386.rpm
  • ltsp_kernel-3.0.5-0.i386.rpm
  • ltsp_local_apps-3.0.0-0.i386.rpm
  • pxestuff-3.0.5-i386.tgz (*Note - Only needed if you are going to use NICs that boot via PXE)
[root@PE1400SC root]# rpm -ivh ltsp_core-3.0.7-0.i386.rpm
[root@PE1400SC root]# rpm -ivh ltsp_kernel-3.0.5-0.i386.rpm
[root@PE1400SC root]# rpm -ivh ltsp_local_apps-3.0.0-0.i386.rpm
[root@PE1400SC root]# tar zxvf pxestuff-3.0.5-i386.tgz

 

Now you need to run the initialization program, you really don't need to change any settings that it asks.

[root@PE1400SC root]# cd /opt/ltsp/templates
[root@PE1400SC root]# ./ltsp_initialize

 


EXTREME Overclocking Newsletter
Thousands of PC enthusiasts are already subscribed to the EXTREME Overclocking Newsletter, have you signed up yet?
Your Email Address:
Sponsored Links
Latest Reviews
Most Downloaded Files
Recently Added Files
CPU-Z 1.455/16/08
Compare Prices On Top Brands!
Search:
For:

Intel Core 2 Processors
Kentsfield (LGA 775)
QX6850  QX6800  QX6700  Q6700  Q6600
Conroe (LGA 775)
X6800  E6850  E6750  E6700  E6600  E6550  E6420  E6400  E6320  E6300
Allendale (LGA 775)
E4500  E4400  E4300

AMD Athlon 64 Processors
Brisbane (AM2) X2
5000+  4800+  4400+  4000+  BE-2350  BE-2300
Windsor (Socket F) X2
FX-74  FX-72  FX-70
Windsor (AM2) X2
FX-62  6400+  6000+  5600+  5400+  5200+  4600+  4200+  3800+
Orleans (AM2)
4000+  3800+  3500+  3200+  3000+

AMD Opteron Processors
Santa Rosa (Socket F)
2224 SE  2222 SE  2220  2218 HE  2216 HE  2214 HE  2212 HE  2210 HE
Santa Ana (AM2)
1222  1220  1218  1216  1214  1212  1210
Santa Ana (AM2)
1216 HE  1214 HE  1212 HE  1210 HE
Denmark (939)
185  180  175  170  165

DDR3 Memory
PC3-14400  PC3-12800  PC3-11000  PC3-10666  PC3-10600  PC3-8500

DDR2 Memory
PC2-9600  PC2-8500  PC2-8000  PC2-7200  PC2-6400  PC2-5400  PC2-5300  PC2-4200

DDR Memory
PC-4200  PC-4000  PC-3500  PC-3500  PC-2700

Motherboards
ABIT  ASUS  AOpen  Biostar  DFI  Gigabyte  Intel  MSI  Shuttle  Tyan

Video Cards
ATi  BFG  Leadtek  MSI  nVidia  PowerColor  PNY  Sapphire  Visiontek  XFX

Hard Drives
Seagate  Maxtor  Samsung  Fujitsu  Western Digital

  Technology Magazines FREE to Qualified Professionals.
eWeek MagazineeWeek is the essential technology information source for builders of e-business. Focuses on e-commerce, communications and Internet-based architecture. Oracle MagazineOracle Magazine contains technology-strategy articles, sample code, tips, Oracle and partner news, how-to articles for developers and DBAs, and more. Dr. Dobb's JournalDr. Dobb's Journal enables programmers to write the most efficient and sophisticated programs and help in daily programming quandaries. InformationWeekInformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
  Other Popular Titles: PC Magazine, BusinessWeek, Baseline, Business Solutions, Software Magazine, InfoStor, Security Source , TelevisionWeek, more...
  EXTREME Deal Of The Day | More EXTREME Deals
Dell Home - Dell Inspiron 518 Mini Tower with Core 2 Quad Processor, 4GB Memory, 640GB HD, DVD Burner, plus 20" LCD Monitor for $649 with FREE Shipping!
$649 buys you a Dell Inspiron 518 with 2.4Ghz Intel Core 2 Quad Q6600 processor, 4GB of DDR2 SDRAM, 640GB hard drive, 16x DVD+/-RW double layer burner, 7.1 sound, Windows Vista Home Premium 64-bit, a 1 year warranty, plus a 20" widescreen Dell E207WFP LCD monitor!  Expires 11/27/08.  DELL INSPIRON 518 MINI DESKTOP DEAL

  • Update: For $449 plus shipping, get a Dell Inspiron 530 with 2.4Ghz Intel Core 2 Quad Q6600 processor, 3GB of DDR2 SDRAM, 500GB HD, 16x DVD+/-RW double layer burner, Windows Vista Home Premium, and a 1 year warranty!  DELL INSPIRON 530 MINI DESKTOP DEAL
Dell Small Business - Black Friday Deals!
Dell Small Business released their Black Friday deals early!  The deals will expire on different days though, so don't delay too long if you find one you want.  The $499 Vostro 1510 laptop, $389 Vostro 200 Mini Tower, and $99 SE178WFP 17" LCD Monitor are especially hot.  DELL BLACK FRIDAY DEALS

  • Update: Use coupon code: 9Q26N641C6QSDC for 20% off select electronics & accessories, excluding Gaming, TV's, Software Licensing, Power, Batteries, Monitors, dell docking stations, Cameras, Camcorders, and printer consumables, expiring 11/25/08.  DELL ELECTRONICS & ACCESSORIES DEALS
Copyright © 2000-2008 EXTREME Overclocking. All rights reserved.
Disclaimer of Liability - Privacy Policy