Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › How to use SetPriority
New Posts  All Forums:Forum Nav:

How to use SetPriority

post #1 of 22
Thread Starter 
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

Edited by Roke - 2/25/09 at 7:18pm
Daily Driver
(15 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 DFI LP LT X48-T2R GeForce 8400 GS  Corsair Dominator CM2X1024-6400C4D 
Hard DriveOptical DriveCoolingCooling
WD3200AAKS DVDRW 1116IM HDT-S1283 XIGMATEK PTR-CN881 
OSMonitorKeyboardPower
WIndows 7 Dell E207WFP 20" Monitor Micron RT2258TW PC Power and Cooling Silencer PPCS500 
CaseAudioOther
Lian Li PC-A09B Swan D1080MKII 08 Audio Technica ATH-A700 Headphones 
  hide details  
Reply
Daily Driver
(15 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 DFI LP LT X48-T2R GeForce 8400 GS  Corsair Dominator CM2X1024-6400C4D 
Hard DriveOptical DriveCoolingCooling
WD3200AAKS DVDRW 1116IM HDT-S1283 XIGMATEK PTR-CN881 
OSMonitorKeyboardPower
WIndows 7 Dell E207WFP 20" Monitor Micron RT2258TW PC Power and Cooling Silencer PPCS500 
CaseAudioOther
Lian Li PC-A09B Swan D1080MKII 08 Audio Technica ATH-A700 Headphones 
  hide details  
Reply
post #2 of 22
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+
My Gaming System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 950 @ 4.0GHz @ 1.25v ASUS P6X58D-E GTX 580 Gskill 1600's 3x2 
Hard DriveOSMonitorKeyboard
2x Corsair F120's in RAID0 Win 7 Ultimate 64bit Apple 30" 2560x1600 microsoft reclusa 
PowerCaseMouse
1000w Corsair antec 1200 razer diamondback 
  hide details  
Reply
My Gaming System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 950 @ 4.0GHz @ 1.25v ASUS P6X58D-E GTX 580 Gskill 1600's 3x2 
Hard DriveOSMonitorKeyboard
2x Corsair F120's in RAID0 Win 7 Ultimate 64bit Apple 30" 2560x1600 microsoft reclusa 
PowerCaseMouse
1000w Corsair antec 1200 razer diamondback 
  hide details  
Reply
post #3 of 22
+rep for this THANKS lol
rubberroof v2.2
(13 items)
 
Asus g74sx-bbk7
(6 items)
 
 
CPUMotherboardGraphicsRAM
2600k @ 4.8Ghz Gigabyte p67-ud4 rev. B3 EVGA GTX 780 16gb Gskill @ 2133 
Hard DriveOSMonitorKeyboard
Samsung 128 GB SSD, 1x WD Black 2 TB, 2 x WD Bl... Windows 7 Ultimate SP1 x64 HP 22 inch LCD + 37 inch Sharp Aquos(1080p) Microsoft Sidewinder 
PowerCaseMouseMouse Pad
Corsair 850 Watt Modular Antec 1200 Logitech MX518 Rocketfish 
CPUGraphicsRAMHard Drive
Intel 2630QM 560M 8 GB 2 x 500 
Optical DriveOS
DVD-RW Windows 7 Ultimate x64 
  hide details  
Reply
rubberroof v2.2
(13 items)
 
Asus g74sx-bbk7
(6 items)
 
 
CPUMotherboardGraphicsRAM
2600k @ 4.8Ghz Gigabyte p67-ud4 rev. B3 EVGA GTX 780 16gb Gskill @ 2133 
Hard DriveOSMonitorKeyboard
Samsung 128 GB SSD, 1x WD Black 2 TB, 2 x WD Bl... Windows 7 Ultimate SP1 x64 HP 22 inch LCD + 37 inch Sharp Aquos(1080p) Microsoft Sidewinder 
PowerCaseMouseMouse Pad
Corsair 850 Watt Modular Antec 1200 Logitech MX518 Rocketfish 
CPUGraphicsRAMHard Drive
Intel 2630QM 560M 8 GB 2 x 500 
Optical DriveOS
DVD-RW Windows 7 Ultimate x64 
  hide details  
Reply
post #4 of 22
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.
LL
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
FX6300 Black M5A99X EVO R2.0 Nvidia GTS450 Team Vulcan PC3 12800 
Hard DriveOptical DriveCoolingOS
Samsung 840 PRO Asus DRW-1608P (x2) Custom Water Cooling Win7 (Ult), Win 8.1 & Win Server 2012 R2 
MonitorKeyboardPowerCase
2 X Samsung 915N Ducky Shine III, Blue Cherry/Blue LEDs PCP&C 1kw Lian Li PC-71 (W/Window) 
MouseAudio
Logiteck G400s none 
  hide details  
Reply
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
FX6300 Black M5A99X EVO R2.0 Nvidia GTS450 Team Vulcan PC3 12800 
Hard DriveOptical DriveCoolingOS
Samsung 840 PRO Asus DRW-1608P (x2) Custom Water Cooling Win7 (Ult), Win 8.1 & Win Server 2012 R2 
MonitorKeyboardPowerCase
2 X Samsung 915N Ducky Shine III, Blue Cherry/Blue LEDs PCP&C 1kw Lian Li PC-71 (W/Window) 
MouseAudio
Logiteck G400s none 
  hide details  
Reply
post #5 of 22
yes but setpriority will automatically reset the priority say if the program terminates and is rebooted... AKA every time u finish a WU...
SR2 PWNS J00
(22 items)
 
SL4V3
(16 items)
 
 
CPUMotherboardGraphicsRAM
2x intel Xeon X5650 @ 4Ghz Evga SR-2 SLi Evga GTX480s 18GB G.SKill Pi 1600 DDR3 
Hard DriveHard DriveHard DriveOptical Drive
60GB Vertex 3 2TB Western Digital Black 2TB External HDD (USB 2) 22x Sata Bluray/DVD Multi Drive 
CoolingCoolingCoolingCooling
Hardware Labs GTX 360 Radiator EK Supreme HF Copper Danger Den GTX480 Waterblock All Copper Natemandoo SR-2 Solid Copper Waterblock 
CoolingCoolingOSMonitor
Iwaki RD-30 D5 with DCThermo Top Windows 7 Ultimate 3x 24" LG LCDs (16:9) 
KeyboardPowerCaseMouse
Ducky Shine MX-Cherry Black Mechanical Keyboard... 1500W Silver stone Strider Mountain Mods Extended Ascension Horizon Razer Mamba 2012 (wired) 
Mouse PadAudio
Razer XactMat Asus Xonar SXT 
CPUMotherboardGraphicsRAM
intel Q6600 ASUS P5K-E Wifi AMD HD Radeon 6990 4GBs G.skill HZs 
Hard DriveOptical DriveCoolingOS
OCZ vertex 2 LG 22x combo drive Cooler Master hyper 212+ Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
LG FLATRON L1933TR LG FLATRON L1933TR Logitech G15 rev. 1 Silverstone Decathlon 750W modular PSU 
CaseMouseMouse PadAudio
Thermaltake Armor with 250mm side fan Logitech 2000dpi USB mouse Steel series QcK+ Auzentech X-Fi prelude 
  hide details  
Reply
SR2 PWNS J00
(22 items)
 
SL4V3
(16 items)
 
 
CPUMotherboardGraphicsRAM
2x intel Xeon X5650 @ 4Ghz Evga SR-2 SLi Evga GTX480s 18GB G.SKill Pi 1600 DDR3 
Hard DriveHard DriveHard DriveOptical Drive
60GB Vertex 3 2TB Western Digital Black 2TB External HDD (USB 2) 22x Sata Bluray/DVD Multi Drive 
CoolingCoolingCoolingCooling
Hardware Labs GTX 360 Radiator EK Supreme HF Copper Danger Den GTX480 Waterblock All Copper Natemandoo SR-2 Solid Copper Waterblock 
CoolingCoolingOSMonitor
Iwaki RD-30 D5 with DCThermo Top Windows 7 Ultimate 3x 24" LG LCDs (16:9) 
KeyboardPowerCaseMouse
Ducky Shine MX-Cherry Black Mechanical Keyboard... 1500W Silver stone Strider Mountain Mods Extended Ascension Horizon Razer Mamba 2012 (wired) 
Mouse PadAudio
Razer XactMat Asus Xonar SXT 
CPUMotherboardGraphicsRAM
intel Q6600 ASUS P5K-E Wifi AMD HD Radeon 6990 4GBs G.skill HZs 
Hard DriveOptical DriveCoolingOS
OCZ vertex 2 LG 22x combo drive Cooler Master hyper 212+ Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
LG FLATRON L1933TR LG FLATRON L1933TR Logitech G15 rev. 1 Silverstone Decathlon 750W modular PSU 
CaseMouseMouse PadAudio
Thermaltake Armor with 250mm side fan Logitech 2000dpi USB mouse Steel series QcK+ Auzentech X-Fi prelude 
  hide details  
Reply
post #6 of 22
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.
Daily
(15 items)
 
  
CPUMotherboardGraphicsRAM
5960x Asus X99A II Asus GTX 1060 Dual Team Vulcan (4 x 8GB) DDR4 3000 
Hard DriveOptical DriveCoolingOS
Samsung 960 evo LG Bluray  Thermaltake Water 3.0 Ultimate Windows 7 64 
MonitorKeyboardPowerCase
Dell U3415W OCN Ducky  Seasonic X750 Corsair Carbide 600Q 
MouseMouse PadAudio
Razer DeathAdder Black Edition Glorious  Creative Sound Blaster Z 
  hide details  
Reply
Daily
(15 items)
 
  
CPUMotherboardGraphicsRAM
5960x Asus X99A II Asus GTX 1060 Dual Team Vulcan (4 x 8GB) DDR4 3000 
Hard DriveOptical DriveCoolingOS
Samsung 960 evo LG Bluray  Thermaltake Water 3.0 Ultimate Windows 7 64 
MonitorKeyboardPowerCase
Dell U3415W OCN Ducky  Seasonic X750 Corsair Carbide 600Q 
MouseMouse PadAudio
Razer DeathAdder Black Edition Glorious  Creative Sound Blaster Z 
  hide details  
Reply
post #7 of 22
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.
My Gaming System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 950 @ 4.0GHz @ 1.25v ASUS P6X58D-E GTX 580 Gskill 1600's 3x2 
Hard DriveOSMonitorKeyboard
2x Corsair F120's in RAID0 Win 7 Ultimate 64bit Apple 30" 2560x1600 microsoft reclusa 
PowerCaseMouse
1000w Corsair antec 1200 razer diamondback 
  hide details  
Reply
My Gaming System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 950 @ 4.0GHz @ 1.25v ASUS P6X58D-E GTX 580 Gskill 1600's 3x2 
Hard DriveOSMonitorKeyboard
2x Corsair F120's in RAID0 Win 7 Ultimate 64bit Apple 30" 2560x1600 microsoft reclusa 
PowerCaseMouse
1000w Corsair antec 1200 razer diamondback 
  hide details  
Reply
post #8 of 22
Thread Starter 
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.
Daily Driver
(15 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 DFI LP LT X48-T2R GeForce 8400 GS  Corsair Dominator CM2X1024-6400C4D 
Hard DriveOptical DriveCoolingCooling
WD3200AAKS DVDRW 1116IM HDT-S1283 XIGMATEK PTR-CN881 
OSMonitorKeyboardPower
WIndows 7 Dell E207WFP 20" Monitor Micron RT2258TW PC Power and Cooling Silencer PPCS500 
CaseAudioOther
Lian Li PC-A09B Swan D1080MKII 08 Audio Technica ATH-A700 Headphones 
  hide details  
Reply
Daily Driver
(15 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 DFI LP LT X48-T2R GeForce 8400 GS  Corsair Dominator CM2X1024-6400C4D 
Hard DriveOptical DriveCoolingCooling
WD3200AAKS DVDRW 1116IM HDT-S1283 XIGMATEK PTR-CN881 
OSMonitorKeyboardPower
WIndows 7 Dell E207WFP 20" Monitor Micron RT2258TW PC Power and Cooling Silencer PPCS500 
CaseAudioOther
Lian Li PC-A09B Swan D1080MKII 08 Audio Technica ATH-A700 Headphones 
  hide details  
Reply
post #9 of 22
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.
My Gaming System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 950 @ 4.0GHz @ 1.25v ASUS P6X58D-E GTX 580 Gskill 1600's 3x2 
Hard DriveOSMonitorKeyboard
2x Corsair F120's in RAID0 Win 7 Ultimate 64bit Apple 30" 2560x1600 microsoft reclusa 
PowerCaseMouse
1000w Corsair antec 1200 razer diamondback 
  hide details  
Reply
My Gaming System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 950 @ 4.0GHz @ 1.25v ASUS P6X58D-E GTX 580 Gskill 1600's 3x2 
Hard DriveOSMonitorKeyboard
2x Corsair F120's in RAID0 Win 7 Ultimate 64bit Apple 30" 2560x1600 microsoft reclusa 
PowerCaseMouse
1000w Corsair antec 1200 razer diamondback 
  hide details  
Reply
post #10 of 22
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.
Hephae
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 Zotac 9300 mITX MSI 460GTX Cyclone 2x 2GB Team Xtreem 
Hard DriveOSKeyboardPower
500GB SG Momentus XT Win7 x64 Logitech Illuminated Seasonic X650 
CaseMouse
Hephae Razer Abyssus 
  hide details  
Reply
Hephae
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 Zotac 9300 mITX MSI 460GTX Cyclone 2x 2GB Team Xtreem 
Hard DriveOSKeyboardPower
500GB SG Momentus XT Win7 x64 Logitech Illuminated Seasonic X650 
CaseMouse
Hephae Razer Abyssus 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Overclock.net Folding@Home Team
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › How to use SetPriority