[ Folding ] We only need 13,000ppd more to start catching ABXzone

-smp isn't sufficient
Yes it is...
@walls I would be thrilled if you could just provide a link to somewhere giving vague instructions on setting it up as a daemon, I don't know where to start.
Sorry man, I'd be writing the instructions from scratch! I'll see if I can get it together soon though.

To be honest, for a quick and very filthy hack, you could probably just execute the script above using your rc.local (just appent a line to execute it).. although this is really bad practice as it will run as root by default and should *not* be done on a real box!
 
Actually had a quick google (folding at home linux daemon) and have found this link which will do exactly what you want. Look about three quarters the way down (look for the init script bit), has a section specifically for what you want :)

I could maybe post up a "how to" with Arch at a later date if anyone is interested (hell - I have no idea if the few extra cycles that having no wm would make any real difference!)...

EDIT: If you follow that, then you don't need to reboot your vm to get it started, you can use "/etc/init.d/folding start" (you can also append "stop", "restart", "force-reload" or "status" - all pretty obvious what they do)
 
Last edited:
It will go for a few % and then 1 core will just stop completely and never recover so im back on the windows SMP as that works out of the box

:confused: sorry can't help you, but then my F@H knowledge is severely limited at the best of times :(
Although it does sound like you have more than one client running? Unless you were just checking core usage in task manager/similar?
 
Yeah checked in task manager in the VM and one core was on 00 % instead of 24/25 %

Is it fah or the vm that's having problems?

if it's fah, please post your fahlog.txt, if it's the vm, then please post your vm logs (probably not the guest OS logs, the logs for the hypervisor). Can't promise anything, but I can have a look :)
 
Wasn't thinking regarding the -smp flag. I should have said that -smp assumes four cores, if you're using any other number you have to specifiy. In my case that's -smp 8, I went through some stress trying to get two smp clients running as it was only using half the cores.

@walls I found this on their main website, and have blindly copied the commands in despite not fully understanding them. I'd appreciate you glancing through them. Is this the ugly hack you had in mind a few posts back? I'm waiting for the current unit to finish before rebooting to see if it behaves itself. In the meantime I'll read through your link, cheers
(running on ubuntu natively)
How to start the linux SMP client as a service

Note: Adding the client as a service in Linux depends on which distribution you are using. The instructions below should work for the majority of distributions available in the market. If nothing works, you might need to do some research to find out what your distribution needs to install as a service.

Do not change accounts or change directory location then create a script named folding by pasting the following commands:

echo "# chkconfig: 345 93 14" > ./folding
echo "# description: will start FAH client as a service" >> ./folding
echo "su - $USER -c \"cd $PWD; ./fah6 -smp -verbosity 9 < /dev/null >
/dev/null 2>&1 &\"" >> ./folding
chmod +x ./folding

Note: In the following steps, replace [fahdir] with the value you saw on screen during the previous installation steps (don't include the brackets).

To mark down where you installed the FAH client just run:

echo "[fahdir] = $PWD"

Note: All the following steps need root privileges to be carried out successfully.

For Debian-based distributions run:

sudo cp [fahdir]/folding /etc/init.d/

For other distributions run:

su - -c "cp [fahdir]/folding /etc/init.d/"

Note: If you installed the client under root user account, do this instead :

echo "# chkconfig: 345 93 14" > ./folding
echo "# description: will start FAH client as a service" >> ./folding
echo "cd $PWD; ./fah6 -smp -verbosity 9 < /dev/null > /dev/null 2>&1 &" >>
/etc/init.d/folding
chmod +x /etc/init.d/folding

Last step is to register the folding service.

For Debian-based distributions run:

sudo update-rc.d folding defaults

For other distributions run:

su - -c "chkconfig --add folding"

That's all so reboot the computer to make the new script start the client. To check if it is working fine, just go to your folding folder and open fahlog.txt or run:

tail -f [fahdir]/FAHlog.txt
 
Linux makes my heard hurt.

Anyway, to report something I understand, according to EOC stats we're a little under four and a half days away from stomping ABXZone.com :cool:
 
Oof its a bit of a dry spell till the next stomp :eek:

Mind you when me other lil-rig comes online we should just be able to stay ahead of the Ukraine :p
 
Oof its a bit of a dry spell till the next stomp :eek:

Mind you when me other lil-rig comes online we should just be able to stay ahead of the Ukraine :p

You may have to rethink your last statement.

Don't forget, I won't be sticking around and at over 20k PPD it's a bit of a loss.

:(
 
@walls I found this on their main website, and have blindly copied the commands in despite not fully understanding them. I'd appreciate you glancing through them. Is this the ugly hack you had in mind a few posts back? I'm waiting for the current unit to finish before rebooting to see if it behaves itself. In the meantime I'll read through your link, cheers
(running on ubuntu natively)

I could think of more elegant ways of doing the init script, but the end result is the same - so it makes no difference really. The second part of that is running the client as root - which is generally bad (principle of least privilege, etc). Basically, what it does is fire up the client and redirects any console output to /dev/null (the system drops the output). It looks fine, but if you're using this method, I would recommend against the "If you installed the client under root user account, do this instead".

If you're running this in a VM which is really only for folding, where you want to power up the VM and it should start folding straight away, then this method is fine, but if you're planning on using this on a more important rig where you want a bit more control, then you can do much better.

@ Biffa: errr.... Ukraine currently have a 66k ppd gain on us... whatever you're running in your other "lil rig" is going to put a serious stop on me stomping you... so get to it :D

Don't forget, I won't be sticking around and at over 20k PPD it's a bit of a loss.

:(
:(
 
Last edited:
You may have to rethink your last statement.

Don't forget, I won't be sticking around and at over 20k PPD it's a bit of a loss.

:(

Well I still have 10K average to go on my current setup. The new rig will push near 70K on top of that.

So cya :)
 
I'm also going to be dropping a lot in PPD, will be losing the quad and both 8800GTs shortly :(

Although sounds like Biffa has us more than covered :D
 
Glad I'm getting out then.
Wouldnt want to be humiliated :(
What on earth do you have in the new rig to get 70k ppd?

LOL you'll be back slacker :p

70K might be a tad optimistic, but it will be fun trying.

Currently I have three rigs, all with quads, all running notfred VM's one has a GTX260 and two with green 9800GT's altogether they have just ramped up to be pushing around 30-31K PPD, thats what I meant about having 10K more to add to our average.

I hope that the new beastie will output 60-70K PPD depending on what core is running that day. But I have to find the time to finish building it and I haven't yet. :(
 
Back
Top Bottom