Results 1 to 6 of 6

Thread: F@H Guides & Useful Info

  1. #1
    =+/TOOL FAN\+= Tawcan's Avatar
    Join Date
    May 2002
    Vancouver eh?

    F@H Guides & Useful Info

    Folding @ Home Guide

    In this thread hopefully you will find everything you need with F@H.

    Note: For performance/point purpose you should install the non-graphical console (text only console)

    Joining The Team

    - You can get the folding client here. It is recommended using the non-graphical console since it is much faster.

    -You may use one username for multiple computers. Make sure that you input the exact same name or else you’ll show up on the stats multiple times. This includes: punctuation, capitalization, and spacing.

    -If you are running Intel Pentium 4 “C?type CPU’s or AMD Duallies, you can run two instances of folding. To do so, create 2 different F@H directories and run the clients. During set up make sure you enter machine ID 1 for the 1st CPU and machine ID 2 for the 2nd CPU. (For Intel make sure hyper-thread is enabled).

    -To join Speedguide, during installation, enter 15 as the team number.

    -Latest beta version ?In this version if the –foreasm flag is used, SSE will be used, if available, on every work unit run.

    Other Guides
    Here are some other guides written by SG members.

    -Lance's Guide. Listen to everything he says except for the user name you really should put down Spankin_Barbaric_Beavers

    -UOD's SG F@H setup videos
    I particularly like Ken's pic.

    Folding @ Home Stats

    Here are some stats pages you can use to see how well you’re doing.

    Official Stanford Stats

    All Teams - / JAVA[/URL]
    Speedguide Team 15 - HTML[/URL] / Temp edit by Ken, website was hijacked...[/URL]
    Statsman stats that are updated every 6 hours.

    EOC Stats Page
    All Teams
    Speedguide Team 15 Summary
    Speedguide Team 15 Members
    EOC stats are updated every 3 hours.

    Folding @ Work

    Useful Links

    Some links you may find quite useful.

    Stanford Main Page

    Stanford Folding Forum

    What is Folding

    Folding @ Home FAQ

    Protein Summary
    This link is particular useful if you want to find out how much point the protein you’re folding is worth.


    Folding Monitors
    Electron Microscope Track your Folding@Home progress. Written by TheWeatherMan and updated constantly.

    This is a very simple stats tracking program. It's integrated in IE and allows you to view various online stat pages. Has a very simple design as well. Best of all, you can get its source.

    Yet another monitoring program.

    Folding Spy
    Folding Spy is a little program that "spies" on the progress and performance of the Folding@home client. It also provides some stats as well.

    Stealth F@H client

    Some of you may not want to see the ugly F@H client window on your taskbar at all.

    -Running F@H as a service in XP/2000 machines
    Method 1
    Note: This method requires you to edit Windows registry.

    -Running F@H as a service using Firedaemon.
    Setup Guide

    -Running F@H as a service using this guide
    Service Installer

    -Hide client window
    A small system tray applet for hiding application windows

    -Use HideIt
    This is the best program that hides the client in my opinion.

    -Ocforum One Click Service install
    Service for 1 CPU
    Service for dual CPU or Intel with Hyperthread
    I found this on Overclocker's forum. More info on this later.

    Advanced Stuff

    This section will be for advanced setup/tweaks.

    Diskless Guide
    This guide helps you set up diskless f@h folding machines.

    Knoppix 3.2 bootable CD
    This is a Linux bootable CD with f@h on it.

    That's all for now folks!

    Fold on!

  2. #2
    =+/TOOL FAN\+= Tawcan's Avatar
    Join Date
    May 2002
    Vancouver eh?
    Setup questions for F@H 5.x client.

    1) Enter your folding name here (remember it is case sensitive)
    2) Enter Team number 15
    3) Launch automatically at machine startup, installing this as a service? [NO]
    Note: If you're installing F@H as service using 3rd party software method answer as no. Otherwise yes. More info on this later.
    4) Ask before sending work unit (Enter your preference here) [NO]
    5) Use Internet Explorer settings (Enter your preference here) [NO] (Dial uppers may want to chose yes.)
    [humour]Hmmm they should put in a question for Firefox users. [/humour]
    6) Allow receipt of work assignments and return of work results greater than 5MB demand? <such work unit may have large memory demands> [NO]
    See notes above. If your machine is a delicate folder then yes.
    6) Change advance option? [YES]
    7) Core priority <idle/low> [Idle]
    Note: Idle for everyday machine, low for delicate folder. (I use low)
    8) CPU usage requested? <5-100> [100]
    Note: Here you can change the max amount of CPU power the client uses. ie. If you want to use a server to fold you may change it to say...50.
    9) Disable highly optimized assembly code? [NO]
    10) Pause if battery power is being used [NO]
    Note: If you're using a laptop you may want to change this to yes.
    11) Interval in minutes between check points? <3-30> [15]
    Note: If you turn on and off the computer often you might want to change this to 3 so the client saves progress every 3 minutes.
    12) Request work without deadline? <no-pref/yes/no> [no-pref]
    Note: Yes if you have a low power CPU.
    13) Ignore deadline information? [No]
    Note: See 12
    13) Machine id? [1]
    Note: For your first client and 2 if your setting up two instances of F@H or Hyper-threading can set up to 8 per computer (also helpful for Dual Processor users)

    Folding@Home will now self install and if it is your first installation it will set up the necessary files into your new folder.
    Benchmark your system and download your first WU (work unit)

    If you already had F@H installed on your PC it will begin at your current WU.

    Close Fold@Home so we can create shortcuts and add flags.

    Go into your computer and right click on FAHconsole and send to your desktop

    Now right click on your Icon and click on "Properties"

    In the "Target box" click after the last " marks
    type {space} -{appropriate flag}

    Recommend flags to use:
    -forceasm -advmethods

  3. #3
    =+/TOOL FAN\+= Tawcan's Avatar
    Join Date
    May 2002
    Vancouver eh?
    Service Install Procedures

    There are several ways to run F@H clients as service. Here I'll list some ways to hide the F@H text clients. (Sorry no graphical client).

    Ocforum One Click
    I found this in All credits go to them.

    Service for 1 CPU
    Service for dual CPU or Intel with Hyperthread

    Here's how you can set up the client using this way:
    1. You download the file
    2. You edit the client.cfg(s) with your username. Right now the client has the 5MB work unit download enabled. If download bandwidth is a problem change bigpackets answer to no.
    3. You click the .exe
    4. The One-Click then creates the appropriate directories (C:\Program Files\FAH), (now) downloads the FAH502-Console.exe, creates and installs FAH as a service in the registry, removes the extra install files after completion, and starts FAH as a service.

    There is an extra edit required in the client.cfg if you want to fold BigPacket WU's. There has been ample discussion about this, but here's the basic rules: If you have more than 1GB of RAM per CPU, then you can fold BigPackets. If you want BigPackets, simply edit the client.cfg's to "bigpackets=yes".

    *Note: With some W2K and XP Home rigs you have to reboot to get the service running. So if you use the One-Click and don't see FAHCore_##.exe running after a minute in the task manager, just reboot.

    Buzzard from the OCAU team made an excellent install for people who want to chose all the options themselves (flags, run as a service, install directory etc). You can download it here.

    Win9x One-Click

    Nitro-Boie made this nice batch install for Win9x machines. Download it here.

    How-to Install FAH as a service and set the flags, the long version.

    For those of you interested in what was just accomplished in the above One-Click FAH Installs and want to know where the FAH service is installed, what we are talking about when we say "flags" and where they are located, read on.

    Your computer needs three things to run FAH as a service: The appropriate files have to be located on your computer, the service has to be entered into the registry, and the service needs to be started. Let's take a look at them step by step.

    The FAH Files.
    To start using FAH as a service,FAH needs three files located in a directory (such as C:\Program Files\FAH), which are;

    1. "The Client" the actuall folding program from Stanford which is currently FAH4console.exe.
    2. "The Client.cfg" This is the client configuration file which holds your username, team number, and many other specifics about you computer and how it should fold.
    3. srvany.exe Microsofts own creation that's been around for years. This program enables you to run any other program as a service as long as the registry is set up correctly.

    *Note: There are other files necessary for FAH to run, however, to simply installed FAH and set it up as a service, these three files are all you need. One such example is "The Core", the proggy that crunches the numbers and whose name is formatted as Core_##.exe.

    With these three files in place, we can now check out what is required in the registry to initiate the service.

    FAH in the registry

    (Appropriate Disclaimer here: editing you registry can kill your OS, blow up your computer, and make your pets pee on your carpet. Wedo, The One-Click, and all partners therein are not responsible for your actions on your computer. Do so at your own risk)

    To set up FAH in the registry, you need to only make a handful of registry additions in one location. An example of an exported install reg file is located below (one could copy/paste this into notepad, save it as "FAH-Install.reg" and merge it if need be):

    ---copy below this line ----

    Windows Registry Editor Version 5.00

    "DisplayName"="Folding@Home 1"
    "Description"="Uses your computer's spare CPU cycles to solve complex scientific problems."

    "Application"="D:\\Program Files\\FAH\\FAH4Console.exe"
    "AppDirectory"="D:\\Program Files\\FAH1"
    "AppParameters"="-local -service -forceSSE -advmethods"

    ---copy above this line----

    In the above settings, "Type", "Start", and "ErrorControl" are DWORD hex values. When you create the keys manually, you would use the actual values of:

    Type: "16"
    Start: "2"
    ErrorControl: "1"

    and Windows will convert them to hex values. Furthermore, "ImagePath" is a string value that should match the directory for your FAH installation, such as: "C:\Program Files\FAH\srvany.exe"

    Note the reference to the 'srvany.exe' here, this is what kicks FAH into a service.

    In addition, for additional client installs (dually/quad installs) the service name is changed in the registry from FAH to FAH1, FAH2 and so on. The appropriate paths would also have to be placed in the registry entries to point to directories such as C:\Program Files\FAH\FAH1 and FAH\FAH2 etc.

    The "Flags" explained

    You'll notice that in the above registry export file under the second key (\FAH\Parameters) there is a little line called "AppParamters", herein lies the much talked about option flags for running FAH.

    Here is your guide to the flags:

    -local: Used with multiple cpu rigs (dually, HT, quad cpus etc) to set up FAH as one client per one cpu. If this flag isn't used on a dually and two instances are running, your rig will show up as running at 50% in task manager as both instances will split the processing power of one cpu leaving the other to sit at idle.

    -service: Sets FAH as a service. Very important flag that will tell your rig to use srvany.exe to run FAH4Console.exe as a service instead of running the client in the console window. Thereby keeping your rig folding even when no one is logged on.

    -forceasm: Forces the use of 3DNow and SSE. In some instances, if a power failure occured, your computer locks up (not due to FAH), or your kid brother kicks over your tower, FAH will restart in a form of "safe mode" that doesn't use 3DNow/SSE. This will cause your machine to fold much slower so this flag forces the higher setting on no matter how the client was turned off previously.

    -advmethods: The gromacs flag. This flag tells FAH to only seek out Gromacs (a type of protein) from the Stanford servers. Gromacs used to be the end-all-be-all of point production. However, recent changes to the point value for Tinkers have made this flag counter-productive on AMD rigs.

    -verbosity 9: Gives you the uber update in your log files. More info will be written in case your having issues or are just interested in what FAH is doing.

    F@H 5.x Service Install Procedures

    Now I haven't done any work on this and I haven't been able to find anything on it so if anyone tried this and found out any more info let me know.

    Again if you don't want to use 3rd party software to install F@H as a service you can do the following while answering the setup questions.

    3) Launch automatically at machine startup, installing this as a service? [YES]

    F@H will then create a service for XP/2000 users.
    Simply run from the commandline (Example of your executable name) fahsrv -configonly <enter>
    and choose the RUN AS SERVICE option
    Last edited by Tawcan; 12-29-04 at 08:28 PM.

  4. #4
    R.I.P. 2022-05-29 Ken's Avatar
    Join Date
    Dec 1969
    Good post!

    I have updated a few of my rigs to v5 and on setup (I totally deleted the old folding folder) if asked if you wanted to run it as a service, I typed y and then enter and it seems to be fine without the need of a 3rd party app such as Firedaemon...

    I have not had a chance to read your whole incredible thread, I just caught the last paragraph and thought that I would add this...
    Nice job!

    Thanks for taking the time to research and write it all out!

    Major admin rep points go to Tawcan!

  5. #5
    =+/TOOL FAN\+= Tawcan's Avatar
    Join Date
    May 2002
    Vancouver eh?
    Np. I believe the Firedaemon method is to add the necessary flag. Unless you can add flags through registry? (Let me know if you can and I'll change the guide).

  6. #6
    P/T Pagan God thepieman's Avatar
    Join Date
    Nov 2003
    Brooklyn , New York
    Quote Originally Posted by Tawcan
    Np. I believe the Firedaemon method is to add the necessary flag. Unless you can add flags through registry? (Let me know if you can and I'll change the guide).

    Tawcan...the new version of F@H no longer needs external service programs or any user modification of the registry. Simply run from the commandline (Example of your executable name) fahsrv -configonly <enter>
    and choose the RUN AS SERVICE option

    SG Pimp Name : *Treacherous P. Shizzle*
    The fight for our way of life needs to be fought on our own soil, for our own people and because of our own interests.
    Hey, If Me & My Buddies Were Making Billions of Dollars I'd Tell Ya What Ya Wanted To Hear Too!

Similar Threads

  1. How screwed up are you?
    By Qwijib0 in forum General Discussion Board
    Replies: 95
    Last Post: 09-27-04, 03:40 PM
  2. KDFold Linux & Windows V6 Beta 8 F@H 1,2,3 G@H 1,2(F@H3) DF & F-A-D
    By corruptor in forum Distributed Computing
    Replies: 3
    Last Post: 03-18-03, 05:26 PM
  3. Need Some Info On TwinMOS 466mHz Memory
    By §I€MFKR™ in forum Hardware & Overclocking
    Replies: 1
    Last Post: 03-11-03, 01:31 PM
  4. Star Trek X "Nemisis" Info (Spoilers Inside)
    By Brent in forum General Discussion Board
    Replies: 3
    Last Post: 07-26-01, 01:34 AM
  5. Consolidate this info ??
    By keeper in forum Distributed Computing
    Replies: 0
    Last Post: 02-01-01, 07:19 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts