Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Overclock.net Forum > Overclock.net Folding@Home Team

Reply
 
LinkBack Thread Tools
Old 12-30-08   #1 (permalink)
filterzzzz
 
Roke's Avatar
 
intel nvidia

Join Date: Apr 2008
Location: Washington State
Posts: 903

Rep: 144 Roke is acknowledged by manyRoke is acknowledged by many
Unique Rep: 106
Folding Team Rank: 176
Team Name: The Replacements
Trader Rating: 0
Default How to use SetPriority

The goal of this how-to is to show you how to set up and configure SetPriority. SetPriority can be run in both XP and Vista and Windows 7 (thanks gibby, grunion and Tufelhunden).
Quote:
SetPriority is a Windows utility that will let you specify beforehand which priority you want your processes to have. Whenever a program is started that you have specified, SetPriority will adjust that program's priority automatically.

SetPriority will sit in your System Tray and watch running processes. When a process matches one on its list, SetPriority will adjust the priority of that process automatically.
SetPriority is very commonly used by folders because it will keep the priority of a certain process even when that process is terminated and restarted. For example, you need the priority of the GPU cliet set to high because you also fold with the CPU client. But everytime you change the priority in the taskmanager you find that the process resets back to idle/low when you finish a work unit (wu). That's because when the client is done it shuts down the GPU core process then restarts it for another wu. The cool thing about SetPriority is that it has Priority Presets, in other words it remembers the priority of a specified process everytime that process is started/restarted so you won't have to worry about the priority changing back to idle/low everytime the client starts a new wu.


First we need to download SetPriority, you can get it here. Save the .exe to your desired location and then double click to run it. You should see SetPriority come up.






Now in order to change the priority of a process we need to add a 'priority preset'. Switch to the Preset tab and click on browse. Find the item whose priority you'd like to change.







Once that is done you need to select the priority. Click the drop down box and select which priority you'd like.

Now click add and you should see the preset.





Now switch back over to the Running Process tab. We need to verify our change by looking at the specific process, to do this click on the show process button at the bottom. Scroll down and find your process. You should see it changed to the priority you gave it in the preset.




That's it, your done. Remember, you have to keep SetPriority running as long as you want the process to be at the priority you set it at. Also, SetPriority 1.1 doesn't save your presets (hopefully future versions do) when you shutdown/restart your computer but luckily there's a workaround you can do by making a simple text file. Thanks to nafljhy for finding this:
Quote:
make a text document and name it.... "SetPriorityPresets"

leave the inside blank for now. you'll want to keep that txt doc in the same folder as setpriority. start setting new priorities.

it should add in the new priorities itself at some point. if it doesn't... then open up the document and type out the name of the process/application as you see it in setpriority. then hit comma. right after type in how high of a priority you want. so example would be.

Folding@home,High
FahCore_a1,AboveNormal
Vlc,Realtime


save and close the doc. now when you open up set priority it should have your presets.
Comments, questions, and concerns are much appreciated. Thanks for looking.


12/30/2008: Added advantage of using SetPriority (Priority Presets), Windows compatibility
2/25/2009: Added way to save presets with .txt file
__________________

If I've helped you out add me as a friend.
Don't know what folding is? Check it out here.
Set up FahMon for Linux SMP or XP GPU folding


System: Folding Fanatic
CPU
E8400 @ 4.1GHz
Motherboard
DFI LP LT X48-T2R
Memory
2gb Mushkin
Graphics Card
GeForce 9800 GTX
Hard Drive
320GB WD
Power Supply
PC P&C 500w
Case
Lian Li PC-A09B
CPU cooling
HDT-S1283
OS
Linux Mint 7 x64
Monitor
20in Dell E207WFP
Overclock.net - 2009 Chimp Challenge Champions 1 Million+ Folding at Home points

Last edited by Roke : 02-25-09 at 10:18 PM
Roke is offline I fold for Overclock.net Overclocked Account   Reply With Quote
Old 12-30-08   #2 (permalink)
Folding Forum Mod
 
gibsonnova74's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Peoria, AZ.
Posts: 6,763

Folding Team Rank: 9
Team Name: Just Be Cause
Trader Rating: 58
Default

Great job on the guide! I have added it to the Essential Thread. I'm sure it will come in handy with members who fold GPU clients and CPU clients at the same time. rep+
__________________
Quote:
Originally Posted by ENTERPRISE
"fold for the cause, fold for the people"
http://valid.canardpc.com/show_oc.php?id=789195

System: My Gaming System
CPU
Q9650 @ 4.2GHz
Motherboard
Evga 790i FTW
Memory
2x2 g.skill 1600's ddr3
Graphics Card
SLI GTX 285's
Hard Drive
500gb - 1TB for storage
Sound Card
Creative X-Fi XtremeGamer
Power Supply
1000w Corsair
Case
antec 1200
CPU cooling
T.R.U.E. - 2 fans
GPU cooling
stock
OS
Win 7 Ultimate 64bit
Monitor
28" hanns.g 1920x1200
10 Million+ Folding at Home points
gibsonnova74 is online now I fold for Overclock.net Overclocked Account   Reply With Quote
Old 12-30-08   #3 (permalink)
Folding Fanatic
 
ipod4ever's Avatar
 
intel nvidia

Join Date: Oct 2007
Location: Pulaski, Wisconsin
Posts: 2,100

Rep: 102 ipod4ever is acknowledged by manyipod4ever is acknowledged by many
Unique Rep: 90
Folding Team Rank: 73
Trader Rating: 3
Default

+rep for this THANKS lol
__________________



I FOLD FOR OCN..

System: rubberroof v1.9a
CPU
Q9650 @ 4.1Ghz 1.36vcore
Motherboard
GIGABYTE GA-EP45-UD3P
Memory
2GB x 4 G skill 1066
Graphics Card
Evga GTX 295 + xFx 8800gts
Hard Drive
2xWD640 AAKS RAID0 + 300GB (storage)
Sound Card
Onboard
Power Supply
Corsair 750 Watt
Case
Antec 1200
CPU cooling
T.R.U.E. with push/pull Kaze 3000 Fans
GPU cooling
onboard fans
OS
Windows Vista Ultimate 64bit
Monitor
HP 22 inch LCD + 37 inch Sharp Aquos(1080p)
2 Million+ Folding at Home points
ipod4ever is offline I fold for Overclock.net   Reply With Quote
Old 12-30-08   #4 (permalink)
4.0ghz
 
billbartuska's Avatar
 
intel nvidia

Join Date: Mar 2005
Location: Greater Chicagoland Area
Posts: 2,149

Rep: 271 billbartuska is a proven memberbillbartuska is a proven memberbillbartuska is a proven member
Unique Rep: 244
FAQs Submitted: 2
Trader Rating: 0
Default

Quote:
Originally Posted by Roke View Post
The goal of this how-to is to show you how to set up and configure SetPriority.
Microsoft's Process Explorer can do that also.
Attached Thumbnails
How to use SetPriority-set-priority.jpg  
__________________
EDGE ...if you're not on it, you're taking up too much space.

System: My System
CPU
Athlon FX-57
Motherboard
A8N32-Sli-Deluxe
Memory
TWINX2048-3200C2PT,2x1G
Graphics Card
6800GT (x2)
Hard Drive
Raptors (RAID0)
Sound Card
SB Live24 --> X-Fi Xtreme
Power Supply
PCP&C 1kw
Case
Lian Li PC-71 (W/Window)
CPU cooling
Stock Heatsink
GPU cooling
Stock Heatsink
OS
XP-sp3 (x2) & Win7
Monitor
2 X Samsung 915N
billbartuska is offline Overclocked Account   Reply With Quote
Old 12-30-08   #5 (permalink)
NEEDZ MOAR PPD
 
H3||scr3am's Avatar
 
intel nvidia

Join Date: Mar 2007
Location: Cambridge, Ontario
Posts: 6,936

Folding Team Rank: 33
Team Name: Nom Nom Nom PPD
Trader Rating: 21
Default

yes but setpriority will automatically reset the priority say if the program terminates and is rebooted... AKA every time u finish a WU...
__________________

I am 91% addicted to Counterstrike. What about you?
OCN CS:S GG: overclock.nuclearfallout.net:27015
OCN TF2: 68.232.173.130:27015 BRAND NEW 500FPS!!!
My Role in this community is to make your gaming experience on our gameservers enjoyable
please feel free to PM me with your suggestions and issues.

System: B3 Holds me back :(
CPU
Intel Q6600 (L664G)
Motherboard
Asus P5K Deluxe
Memory
G.Skill 2GB HZs & 2GB Ballistix
Graphics Card
eVGA 8800GTX / XFX 8800GS
Hard Drive
WD SATA HD 250GB
Sound Card
Auzentech X-Fi Prelude
Power Supply
Silverstone Decathlon 750W
Case
TT Armor w/ 25cm side fan
CPU cooling
D-Tek FuZion WB
GPU cooling
DD 8800GTX WB / Stock
OS
XP pro SP3 :D
Monitor
2x 19" LG LCDs
Overclock.net - 2009 Chimp Challenge Champions 5 Million+ Folding at Home points
H3||scr3am is offline I fold for Overclock.net Overclocked Account H3||scr3am's Gallery   Reply With Quote
Old 12-30-08   #6 (permalink)
xxxxxxxxxxx
 
Mikecdm's Avatar
 
intel nvidia

Join Date: Feb 2008
Location: Arlington, TX
Posts: 3,528

Rep: 404 Mikecdm is a proven memberMikecdm is a proven memberMikecdm is a proven memberMikecdm is a proven memberMikecdm is a proven member
Unique Rep: 311
Folding Team Rank: 66
Team Name: Rough Riders / Kung Fu GPU
Trader Rating: 14
Default

Quote:
Originally Posted by billbartuska View Post
Microsoft's Process Explorer can do that also.
I was thinking the same thing

Quote:
Originally Posted by H3||scr3am View Post
yes but setpriority will automatically reset the priority say if the program terminates and is rebooted... AKA every time u finish a WU...
But this is a very good reason why to use it.


Maybe stating the advantages of using setpriority in the OP would lessen the amount of questions and also inform people who know nothing about the program about it's benefits.
__________________
System: Copycat
CPU
i5 750 @ 4.3ghz
Motherboard
EvGa P55 FTW
Memory
Kingston Hyper X
Graphics Card
EvGa GTX260 c216 783/1674/1296
Hard Drive
WD 250gb, 640gb, 1tb black
Power Supply
Corsair 650TX
Case
Rocketfish
CPU cooling
Apogee XT, MCP655, MCR-320,
GPU cooling
XSPC Razor GTX260
OS
Windows 7 64bit
Monitor
Viewsonic VP230mb
Overclock.net - 2009 Chimp Challenge Champions 2 Million+ Folding at Home points
Mikecdm is offline I fold for Overclock.net Overclocked Account Mikecdm's Gallery   Reply With Quote
Old 12-30-08   #7 (permalink)
Folding Forum Mod
 
gibsonnova74's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Peoria, AZ.
Posts: 6,763

Folding Team Rank: 9
Team Name: Just Be Cause
Trader Rating: 58
Default

Gentlemen, for the ones recommending Process Explorer, please feel free to make a guide as well. I will be more than happy to add it to the Essentials thread as well.
__________________
Quote:
Originally Posted by ENTERPRISE
"fold for the cause, fold for the people"
http://valid.canardpc.com/show_oc.php?id=789195

System: My Gaming System
CPU
Q9650 @ 4.2GHz
Motherboard
Evga 790i FTW
Memory
2x2 g.skill 1600's ddr3
Graphics Card
SLI GTX 285's
Hard Drive
500gb - 1TB for storage
Sound Card
Creative X-Fi XtremeGamer
Power Supply
1000w Corsair
Case
antec 1200
CPU cooling
T.R.U.E. - 2 fans
GPU cooling
stock
OS
Win 7 Ultimate 64bit
Monitor
28" hanns.g 1920x1200
10 Million+ Folding at Home points
gibsonnova74 is online now I fold for Overclock.net Overclocked Account   Reply With Quote
Old 12-30-08   #8 (permalink)
filterzzzz
 
Roke's Avatar
 
intel nvidia

Join Date: Apr 2008
Location: Washington State
Posts: 903

Rep: 144 Roke is acknowledged by manyRoke is acknowledged by many
Unique Rep: 106
Folding Team Rank: 176
Team Name: The Replacements
Trader Rating: 0
Default

Alright, I've update the OP with some more information about SetPriority and why it's useful for folders, let me know what you think. Does anyone know if this program will work in Vista too? Thanks for the feedback guys.
__________________

If I've helped you out add me as a friend.
Don't know what folding is? Check it out here.
Set up FahMon for Linux SMP or XP GPU folding


System: Folding Fanatic
CPU
E8400 @ 4.1GHz
Motherboard
DFI LP LT X48-T2R
Memory
2gb Mushkin
Graphics Card
GeForce 9800 GTX
Hard Drive
320GB WD
Power Supply
PC P&C 500w
Case
Lian Li PC-A09B
CPU cooling
HDT-S1283
OS
Linux Mint 7 x64
Monitor
20in Dell E207WFP
Overclock.net - 2009 Chimp Challenge Champions 1 Million+ Folding at Home points
Roke is offline I fold for Overclock.net Overclocked Account   Reply With Quote
Old 12-30-08   #9 (permalink)
Folding Forum Mod
 
gibsonnova74's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Peoria, AZ.
Posts: 6,763

Folding Team Rank: 9
Team Name: Just Be Cause
Trader Rating: 58
Default

Quote:
Originally Posted by Roke View Post
Alright, I've update the OP with some more information about SetPriority and why it's useful for folders, let me know what you think. Does anyone know if this program will work in Vista too? Thanks for the feedback guys.
Hey Roke, I have used SetPriority on my sig rig, which is Vista 64bit. I have also installed it on Vista 32bit.
__________________
Quote:
Originally Posted by ENTERPRISE
"fold for the cause, fold for the people"
http://valid.canardpc.com/show_oc.php?id=789195

System: My Gaming System
CPU
Q9650 @ 4.2GHz
Motherboard
Evga 790i FTW
Memory
2x2 g.skill 1600's ddr3
Graphics Card
SLI GTX 285's
Hard Drive
500gb - 1TB for storage
Sound Card
Creative X-Fi XtremeGamer
Power Supply
1000w Corsair
Case
antec 1200
CPU cooling
T.R.U.E. - 2 fans
GPU cooling
stock
OS
Win 7 Ultimate 64bit
Monitor
28" hanns.g 1920x1200
10 Million+ Folding at Home points
gibsonnova74 is online now I fold for Overclock.net Overclocked Account   Reply With Quote
Old 12-30-08   #10 (permalink)
Moldder
 
nafljhy's Avatar
 
intel ati

Join Date: Feb 2008
Location: ROC
Posts: 8,225

Rep: 572 nafljhy is becoming famousnafljhy is becoming famousnafljhy is becoming famousnafljhy is becoming famousnafljhy is becoming famousnafljhy is becoming famous
Unique Rep: 358
Folding Team Rank: 20
Team Name: Brass Bottom Boys
Trader Rating: 86
Default

hey roke,

great guide! some tidbits though. setpriority actually does save your presets. mine is set to start up when windows starts up and its always come up perfect with all my settings. i'm not anywhere near my comps right now so i don't remember how i got them to save but they do.

System: BrassIe
CPU
Q9550
Motherboard
DFI JR-P45
Memory
4x 2GB Team Xtreem
Graphics Card
XFX 4890
Hard Drive
SG 80GB + 640GB
Sound Card
ASUS Xonar DX
Power Supply
Corsair HX620
Case
Lian Li V350
OS
7 x64
Monitor
2x Samsung 226BW
Overclock.net - 2009 Chimp Challenge Champions 8 Million+ Folding at Home points
nafljhy is offline I fold for Overclock.net Overclocked Account nafljhy's Gallery   Reply With Quote
Reply

Tags
f@h, fah, folding@home, process priority, setpriority


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 12:52 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.20789 seconds with 9 queries