sudo init 3 & FAHControl

Moderators: Site Moderators, FAHC Science Team

Post Reply
MeeLee
Posts: 1339
Joined: Tue Feb 19, 2019 10:16 pm

sudo init 3 & FAHControl

Post by MeeLee »

For those folding long stretches at a time,
Would you recommend disabling X11 for folding on Linux, using following code below?

Code: Select all

sudo init 3
Or are there stability or other issues related to running FahClient from a terminal?

Also, is there a sort of text based alternative to FAHControl, which one can run from the terminal to see about all progress that one sees in the GUI client of FAHControl?
Joe_H
Site Admin
Posts: 7929
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: sudo init 3 & FAHControl

Post by Joe_H »

Welcome to the folding support forum.

I see no real advantage to disabling X11, and I believe you need it active to do GPU folding.

As for a text based alternative to FAHControl, none that I know of. You can run FAHClient from the command line instead of using the default method which installs it to run in the background like a daemon. Haven't done so myself, so do not know what gets displayed in this mode. It is considered an expert mode of running the client, about the only documentation were a page or two in the old development wiki, and the output from running 'FAHClient --help' at a command line.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Theodore
Posts: 117
Joined: Sun Feb 10, 2019 2:07 pm

Re: sudo init 3 & FAHControl

Post by Theodore »

Running FAHClient from outside of init, will allow you to only fold on CPU.
I guess it's a current limitation of the client.

You'll see very similar text appear in TTY as would be in the FAHControl log window, but in real time.

FAHClient displays a lot of text over time.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: sudo init 3 & FAHControl

Post by bruce »

FAH can be run on a server distro where the only terminal support if for text-based connections. Although it's often a challenge to get it installed and configured through the telnet API and you've opened up the direct connection to port 33630, it will run just fine. Isn't that what you're trying to achieve?
MeeLee
Posts: 1339
Joined: Tue Feb 19, 2019 10:16 pm

Re: sudo init 3 & FAHControl

Post by MeeLee »

Perhaps I'd just like to see FAHControl getting headless linux support.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: sudo init 3 & FAHControl

Post by bruce »

MeeLee wrote:Perhaps I'd just like to see FAHControl getting headless linux support.
I'm not sure what you mean. FAHControl is simply a user-friendly GUI based way of talking to FAHClient. FAHClient's API is man-readable ... you just have to learn to use it -- or somebody could rewrite it with text-based (headless) menu choices, using the same API. I believe the source is available.
58Enfield
Posts: 26
Joined: Sun Dec 02, 2007 1:35 pm
Location: Cedar Wilds of North Central Arizona

Re: sudo init 3 & FAHControl

Post by 58Enfield »

I tried that about 10 years ago on a Core2Quad and found no extra performance with the headless Ubuntu install on cpu only work units......IF you build your desktop environment with as few databases, indexers, servers and other assorted crap as possible consistent with what else you want to do with that computer.

KDE (akonadi etc) Gnome ( Phonon, zeitgeist) PHP servers, sql anything, PDF (evince), Music (jackd, timidity and many, many others). At that time many of those applications on a GUI install would slow up a 3ghz Core2Quad by 1-4% combined. On a modern computer running cpu only? I dunno, but I still avoid them even now.

I believe Joe_H is correct, you need a x-server to fold on a gpu, but not dead sure. Please, run the experiment and report back. Install a headless system, average the production over 3 days or so then dban the hard drive and install a desktop environment using the exact same kernel, see what happens. Good Luck.
Post Reply