POV-Ray : Newsgroups : povray.general : CPU usage in Win NT : Re: CPU usage in Win NT Server Time
13 Aug 2024 09:26:48 EDT (-0400)
  Re: CPU usage in Win NT  
From: Ron Parker
Date: 18 Sep 1998 10:36:01
Message: <360261c1.0@news.povray.org>
On Fri, 18 Sep 1998 16:17:28 +0900, Rainer Mager <rvm### [at] cyberadjp> wrote:
>This brings me to another question. What is the coorelation between the
>priority setting in POV and the priority setting via the TaskManager?
>Presumable when the render thread is created it takes over the priority as
>set in POV and the TM priority applies to the GUI only. Yes?

The priority setting in POV is the Thread priority.  This priority is an offset
between -2 and +2, specifying the relative priority of this thread within the
priority class of its containing process.  As you say, this priority setting
affects only the render thread.

The priority setting in Task Manager, however, is the process priority class.  
This affects the entire process and makes a bigger difference in general than 
does the Thread priority.  The priority difference between classes is 5, so a 
"lowest" priority thread in a "high" priority process still beats a "highest" 
priority thread in a "normal" priority process.  Since it does affect the entire
process, it affects both the GUI and the render thread, and any other threads
that might be running in the process.

There are some exceptions to these generalizations.  In particular, the 
"realtime" priority class is as big as all the other priority classes put 
together, and there is another thread priority, not available in the POV 
interface, that can cause a thread to run outside its priority class.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.