View Full Version : Settting Nice priorities in Ubuntu for Fahcore automatically
whfrazier
10-08-07, 12:18 PM
Does anyone know how to set the Nice priorities automatically for the Fahcore_78.exe?
I currently start with this command
sudo nice -n -6 ./FAH504-Linux.exe -verbosity 9
this sets nice for FAH504-Linux.exe but Fahcore_78.exe does the crunching and I have to set it manually or it runs really slow. Everytime it starts a new WU it has to be done. I'm running Ubuntu 7.04 AMD64, and promise I used search :D
NedClocker
10-08-07, 09:16 PM
Sorry. I don't know what the Nice priorities are.
whfrazier
10-08-07, 10:11 PM
If you run Ubuntu, click on System, Administration, System Monitor. After it starts you'll get something similar to windows task manager, Nice is listed in a column and ranges from -20 to 20. Nice, as I understand it, sets CPU time allotted to a process. If 2 programs are competing over the CPU then the one with a lower nice would take precedence.
Nice -n # sets the nice level at launch, but since FAH launches the core I cant do it that way, was hoping someone else knew another trick.
ihrsetrdr
10-09-07, 12:27 AM
Nice -n # sets the nice level at launch, but since FAH launches the core I cant do it that way, was hoping someone else knew another trick.
A recent discussion in this thread (http://forum.folding-community.org/ftopic21314-0-asc-30.html) on FC.org touched on the subject of nice levels. Even though the thread concerns the v6 Mac beta client it 'should' be relevant, none-the-less.
I've never found a need to change the nice level beyond what is already available by selecting low priority (nice = 13) in -config. I'm curious as to what is happening on your machine that would lead you to need to lower nice further. If it is a dedicated rig, there should be no performance benefit to changing nice unless there is some other runaway process and, if it isn't dedicated, the machine will become almost unusable for anything but folding with a nice of -6.
whfrazier
10-09-07, 12:47 PM
I've never found a need to change the nice level beyond what is already available by selecting low priority (nice = 13) in -config. I'm curious as to what is happening on your machine that would lead you to need to lower nice further. If it is a dedicated rig, there should be no performance benefit to changing nice unless there is some other runaway process and, if it isn't dedicated, the machine will become almost unusable for anything but folding with a nice of -6.
I'm not sure why it makes a difference, no its not my dedicated folder it is the one I use daily(the #1 machine), -6 doesnt effect me really(its running that way atm), I've had 3 instances of Firefox and Openoffice wordprocessor running. The only effect I noticed was that OO took longer to start, but after that there was no difference that I could tell. It has made a slight difference with my #3 machine, usually its just folding unless I use it while gaming.
Thanks for the link ihrsetrdr, give me more info to work off of.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.