PDA

View Full Version : How to run the Windows SMP client as a service


MikeTimbers
27th August 2007, 18:16
These were the steps (I know it looks like a lot, but it really wasnt that much work)

* Create a local user 'folding', give strong password, and add to admin group.
* Log in as 'folding' locally.
* Download and run the win smp installer.
* Accept the standard install location in Program Files (x86) but pick install for all users (common user profile).
* Once installation is complete, added 'everyone' to security permissions of Folding@Home Windows SMP Client V1.01 program files folder, with full control rights. (not sure this is necessary).
* Run install.bat, using folding user and strong password create before, confirmed smpd and mpiexec in windows firewall exceptions & running.
* Open command prompt and change to C:\Program Files (x86)\Folding@Home Windows SMP Client V1.01\ directory.
* Run fah.exe -configonly and setup username, team, no service, no IE, allow big wu downloads, change advmethods, 3 minute checkpoint, set max memory to 512mb (accept defaults where not otherwise specified).
* Run fah.exe -local -verbosity 9 and allow client to download WU and complete 1 frame. (Pulled a 2653 [1760 points ] @ 1534ppd).
* hit Ctrl-C to stop client, all processes died gracefully. So far as good!
* run fah.exe -configonly, this time change run as service to 'Yes'
* open regedit and open HLKM\System\CurrentControlSet\Services\FAH@Folding @Home Windows SMP Client V1.01 key. Edit Image path to add -local -verbosity 9 flags after -svcstart.
* Open Computer Management and go to Services. Open the F@H service and change to the 'Log On' tab. Changed from 'Local System Account' to 'This account' and entered the user '.\folding', entered the strong password. Clicked Apply and OK to the dialog informing about the user being granted the 'Log On as Service' right.
* Started the service, watched processes to see four FahCore_xx threads start and begin processing.
* Logged off local user folding, logged in as domain account, checked Task Manager - processes still running

pelligrini
29th August 2007, 14:37
Cool, thanks for finding that Mike.

Works like a charm.

MikeTimbers
29th August 2007, 15:27
I should be adding another dualie in around a week. :)

pelligrini
5th September 2007, 16:27
I just installed a service on a dual quadcore xeon this morning.

FAHmon was reporting around 2500ppd for a single SMP client. I'll probably leave it as one client for now. I've read about having problems with trying to do more than one, especially as a service.

Besides, the gal who will be using this machine was really bitching about the two regular clients I had on her dualcore. Hopefully she won't have a problem with the one SMP client.

Daniel, Laura, and Nora
5th September 2007, 21:18
FAHmon was reporting around 2500ppd for a single SMP client.Yikes.

MikeTimbers
6th September 2007, 17:17
I just installed a service on a dual quadcore xeon this morning.

FAHmon was reporting around 2500ppd for a single SMP client. I'll probably leave it as one client for now. I've read about having problems with trying to do more than one, especially as a service.

Besides, the gal who will be using this machine was really bitching about the two regular clients I had on her dualcore. Hopefully she won't have a problem with the one SMP client.

So an eight-core machine? Nice! I have ten dual-cpu dual-core Opterons but they run Solaris so no bloody use at all!