mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2008-12-28, 06:22   #1
joblack
 
joblack's Avatar
 
Oct 2008
n00bville

10110101012 Posts
Default priority settings in prime95 25.9 b1?

System: Windows XP

I´ve set the priority in prime95 25.9 build1 to 1 but in the task manager it has still normal priority. How can I setup a priority below normal?

Last fiddled with by joblack on 2008-12-28 at 06:23
joblack is offline   Reply With Quote
Old 2008-12-28, 08:10   #2
S00113
 
S00113's Avatar
 
Dec 2003

D816 Posts
Default

Quote:
Originally Posted by joblack View Post
I´ve set the priority in prime95 25.9 build1 to 1 but in the task manager it has still normal priority. How can I setup a priority below normal?
The main thread has normal priority and the worker threads have low prority. Look at the priority of individual threads, and you'll see that the threads which use lots of CPU have low priority. (I have no idea how you do that in Windows, but I guess it is possible in the task manager.)

The main thread only starts and sgnals the worker threads and handle commnication. This has neglible CPU impact, and to make things go smoothly the main thread should have priority higher than idle.
S00113 is offline   Reply With Quote
Old 2008-12-28, 17:15   #3
starrynte
 
starrynte's Avatar
 
Oct 2008
California

22×59 Posts
Default

You either have to run task manager from the SYSTEM account, or (easier) exit prime95 and reopen it from your account. Then just right click prime95.exe and set priority as desired. (Windows doesn't allow you to set things about processes that don't belong to you. Prime95 starts from the SYSTEM account which...doesn't belong to you)
starrynte is offline   Reply With Quote
Old 2008-12-28, 18:10   #4
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by starrynte View Post
You either have to run task manager from the SYSTEM account, or (easier) exit prime95 and reopen it from your account. Then just right click prime95.exe and set priority as desired. (Windows doesn't allow you to set things about processes that don't belong to you. Prime95 starts from the SYSTEM account which...doesn't belong to you)
This is true, (I think) but you almost definitely don't really want to change the priority of prime95.exe for the reasons S00113 stated.

Last fiddled with by Mini-Geek on 2008-12-28 at 18:10
Mini-Geek is offline   Reply With Quote
Old 2008-12-28, 22:42   #5
Freightyard
 
Nov 2008
San Luis Obispo CA

2008 Posts
Default

The Windows programming API has functions to change a thread's priority. Thus, it is the task of a program that creates new threads to set the priority. You can alter the priority using Task Manager (better, get Sysinternals' Process Explorer), but I don't think the adjusted priority is remembered for next time to run the program.
Freightyard is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
prime95 settings evanh Software 3 2017-12-04 15:18
BUG Prime95 Priority handling Win7 workerthread Software 9 2012-05-01 22:02
Feature request: Prime95 priority higher than 10 JuanTutors Software 19 2006-10-29 04:09
Prime95 causes lag even at priority 1 ixfd64 Software 3 2006-01-23 20:57
Prime95 dont seem to run at idle priority? xtreme2k Software 46 2003-09-08 13:34

All times are UTC. The time now is 12:29.

Thu Aug 13 12:29:38 UTC 2020 up 9:05, 1 user, load averages: 1.57, 1.56, 1.59

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.