Log in

View Full Version : Can I change the priority of THINK?



IronBits
05-03-2005, 09:46 AM
From the FAQ


The THINK computational thread runs at low priority.
You can set the environmental variable THINK_PRIORITY to one of the following values.
Value Priority
IDLE:IDLE 1
IDLE:LOWEST 2
IDLE:BELOW_NORMAL 3
IDLE:NORMAL 4
IDLE:ABOVE_NORMAL 5
IDLE:HIGHEST 6

LOW:IDLE 6
LOW:LOWEST 7
LOW:BELOW_NORMAL 8
LOW:NORMAL 9
LOW:ABOVE_NORMAL 10
LOW:HIGHEST 11

BELOW_NORMAL:IDLE 11
BELOW_NORMAL:LOWEST 12
BELOW_NORMAL:BELOW_NORMAL 13
BELOW_NORMAL:NORMAL 14
BELOW_NORMAL:ABOVE_NORMAL 15
BELOW_NORMAL:HIGHEST 16

NORMAL:IDLE 16
NORMAL:LOWEST 17
NORMAL:BELOW_NORMAL 18
NORMAL:NORMAL 19
NORMAL:ABOVE_NORMAL 20
NORMAL:HIGHEST 21

Lower priority processes yield to higher priority processes which have more time.
The names are derived from the Microsoft windows process class and
process priorities and the numbers used directly by the Linux setpriority system routine.

Members can edit think.env using a text editor such as notepad (not word) to
set an environment variable by inserting a line such as
THINK_PRIORITY=IDLE:NORMAL

n7vxj
05-03-2005, 11:52 AM
So if I set it to idle:highest, when it's idling think will get highest priority, right?What is set at by default. low:?

jasong
05-03-2005, 04:20 PM
I noticed once, when I ran WinRAR, that Think and that program were evenly sharing resources. This is something that a n00b might want to know about beforehand.

Has anyone else seen this, in general or relating to compression programs?

FluffyChicken
05-05-2005, 05:20 PM
Default = Idle:Idle