PDA

View Full Version : ATTN LOFTY PLEASE FIX THIS


Lofty
05-10-06, 08:33 AM
Section 3: Controlling & Monitoring Folding@Home 5.04 beta

You should still have the console open from the previous section of the tutorial. With Folding@Home set up to run as a service, it should run in the background with no console apparent. However, we need to reboot the computer before this occurs. DO NOT CLOSE THE CONSOLE BY CLICKING THE X IN THE TOP-RIGHT CORNER. This can lead to loss of data. Instead, hit Ctrl + C on the keyboard to safely, manually close the console. Now reboot your computer, and you'll notice there's no trace of Folding@Home anywhere.

This is a good thing - Folding@Home happily runs quietly in the background, with no trace, using up every idle CPU cycle, but allowing you to use your computer with no distraction. By default, Folding@Home has the lowest priorty for CPU use, and uses 100% of idle CPU cycles. That means that while idle, Folding@Home uses up all of the CPU to fold. As soon as you start any other program however, they all have higher CPU priority over Folding@Home and therefore they take as many CPU cycles as they need. Thus, Folding@Home simply folds less when the CPU is being used for other programs, and has no effect on the normal running of your computer.

But if Folding@Home is running with no trace, how do you track how it is progressing? The answer lies in the fact Folding@Home creates a text file log. You can find this in the folder you originally downloaded the Folding@Home console to. Navigate to that folder, and open "FAHlog.txt"

http://www.d12clan.org/d12downloads/lofty/pics/fah-tute/fah-tute-3_1.jpg

Here you will find a complete log of what Folding@Home is doing. This log is extremely useful when you have problems, and can be posted here at the overclockers.com forums to help members identify and solve your issues. An example log is shown below.

There may be a lot of text in the log you don't understand - don't worry about this. However, the log can be used to track the progress of the current work unit. Look for a series of lines that say "Completed XXX out of YYY steps (Z)" - the X and Y values are not important, but the Z value is the percentage of work unit that has been folded so far. Thus, in the example below, at 01:23:40, 14% of the work unit had been folded.

http://www.d12clan.org/d12downloads/lofty/pics/fah-tute/fah-tute-3_2.jpg

Using the log, you can track the progress of the work unit. When it is complete, the work unit is sent to Stanford, you get a certain amount of points added to your stats depending on the work unit, and Folding@Home downloads a new work unit to fold.

If you want to see how many points you have folded and how you stack up against other folders, there are stats sites out there dedicated to the tracking of your stats. One of the best can be found at http://folding.extremeoverclocking.com/team_list.php?s= - which is updated every three hours. Simply enter your Folding@Home username into the "Name Search" box and hit "Search" and the site will find your Folding@Home stats.

http://www.d12clan.org/d12downloads/lofty/pics/fah-tute/fah-tute-3_3.jpg

Advanced stat tracking isn't covered in this tutorial - I'll leave you to experiment with the stats tracking site, it's pretty easy to use.

There is only one more issue to cover here: how to shut Folding@Home down if it's causing serious problems with your PC. There should be no need to do this if Folding@Home is running normally, and should not be done unless needed, as shutting down Folding@Home in this way can lead to loss of data.

Since Folding@Home runs in the background in a service install, it's slightly trickier to shut down. To find it, you need to bring up the Windows Task Manager by hitting Ctrl+Alt+Delete. Then hit the "Processes" tab.

http://www.d12clan.org/d12downloads/lofty/pics/fah-tute/fah-tute-3_4.jpg

It's very helpful at this point to sort the list of processes by their name. Hit the "Image name" tab to sort the list of processes by name.

http://www.d12clan.org/d12downloads/lofty/pics/fah-tute/fah-tute-3_5.jpg

Once sorted by name, scroll down to the F's and you will find two processes that are related to Folding@Home. One is the console - named "FAH504-Console..." and the other is the core (the part of Folding@Home that actually does the folding), named "FahCore_XX.exe".

To shut down Folding@Home completely, you need to select both processes with a single left-click, and then left-click on "End process".

http://www.d12clan.org/d12downloads/lofty/pics/fah-tute/fah-tute-3_6.jpg

That will shut down Folding@Home - but only until you next reboot your computer, where the program will start again. If you do have serious problems, shut down Folding@Home as shown above, locate the Folding@Home log, and post your problem here at the overclocking forums. The friendly and helpful folders here, who know their stuff, will do everything they can to help.

Thank you for folding, for our team, and for the greater cause.
Enjoy the folding.

David
05-12-06, 01:50 PM
Post has been chopped out of the thread because this is not the correct way to kill the client.

When the offending information has been fixed I will reinsert this post back into the thread.

David

Captain Newbie
05-12-06, 02:24 PM
Post has been chopped out of the thread because this is not the correct way to kill the client.

When the offending information has been fixed I will reinsert this post back into the thread.

David
Yep. Personal experience shows that killing off the core like that results in the "--- The last shutdown of this core was improper - restarting from last saved checkpoint" message.

Something about sc stop <svcname> or net stop <svcname> comes to mind. :)

Soichiro
05-12-06, 02:30 PM
Yep. Personal experience shows that killing off the core like that results in the "--- The last shutdown of this core was improper - restarting from last saved checkpoint" message.
Even worse, it can lead to EUE's, which are very, very bad.

The proper way is:
Start->Control Panel->Administrative Tools->Services->FAH->Right-click->Stop

harlam357
05-12-06, 02:59 PM
*OR*

Run->"services.msc"->FAH->Right-Click->Stop

But when my control is ready you will be able to do it with One-Click. ;) ...I just can't keep my mouth shut. :D

AlabamaCajun
05-12-06, 03:36 PM
Been there , done that and it hurts :eek:

Lofty
05-12-06, 04:05 PM
My apologies...I will fix it ASAP.

Silver
05-12-06, 05:30 PM
And occasionally results in starting from 0. All progress on the unit is lost and you get the honor of doing it again.

WarriorII
05-12-06, 05:39 PM
Stability problems cause this too.

-restart from 0.

Been there, done that.

:bang head

the garynator
05-12-06, 08:35 PM
ctrl c works for me, nvr had any probs, dk though.

ChasR
05-12-06, 09:36 PM
ctrl c works for me, nvr had any probs, dk though.

Ctrl-C wont stop the service. It is the correct way to stop the console.

Captain Newbie
05-13-06, 12:25 PM
Ctrl-C wont stop the service. It is the correct way to stop the console.
If you happen to be running it on *nix and have the console up, sending it a break (^C) will stop the console and the client. Not sure about Win32.

the garynator
05-13-06, 02:06 PM
Ctrl-C wont stop the service. It is the correct way to stop the console.
duh :rolleyes: I've been running the console for so long now I get the two mixed up :bang head :bang head

Lofty
05-16-06, 11:46 AM
My apologies for not fixing this thread. I have the time, but simply do not feel like doing it. I have some heavy real life issues right now, and will be lucky to come through it unscathed.

In the meantime, I continue to fold.

David
05-16-06, 12:16 PM
If someone else would like to draft up a replacement post I can edit it in.

Hope you get your life issues sorted Lofty :)

sno.lcn
05-16-06, 12:20 PM
Either click the start button, click run, and in the box type "services.msc" or go to control panel to administrative tools to services. Find the service that begins with "FAH", the rest of it may look a little different depending on how you installed the client and where you installed it to.

sno.lcn
05-16-06, 12:31 PM
Right click the fah service and select "stop."
Then, when ready to start the service back up, right click and select "start."