POV-Ray : Newsgroups : povray.windows : Processor affinity? Server Time
10 Oct 2024 10:07:02 EDT (-0400)
  Processor affinity? (Message 1 to 10 of 28)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Mike Horvath
Subject: Processor affinity?
Date: 4 Mar 2018 20:53:21
Message: <5a9ca311$1@news.povray.org>
Is there a permanent way to set the processor affinity of the POV-Ray 
render processes? I can do this Process Hacker, but as soon as I 
minimize or exit Process Hacker, the changes are reversed.

I would like to still be able to use my computer for other stuff while 
rendering, and setting the render priority isn't always enough.


Mike


Post a reply to this message

From: dick balaska
Subject: Re: Processor affinity?
Date: 5 Mar 2018 01:38:46
Message: <5a9ce5f6$1@news.povray.org>
On 03/04/2018 08:53 PM, Mike Horvath wrote:
> Is there a permanent way to set the processor affinity of the POV-Ray 
> render processes? I can do this Process Hacker, but as soon as I 
> minimize or exit Process Hacker, the changes are reversed.
> 
> I would like to still be able to use my computer for other stuff while 
> rendering, and setting the render priority isn't always enough.
> 
> 
> Mike

I always set it from Task Manager. Right click on the process and you 
can change its affinity and priority.

-- 
dik
Rendered 920576 of 921600 pixels (99%)


Post a reply to this message

From: Stephen
Subject: Re: Processor affinity?
Date: 5 Mar 2018 02:17:54
Message: <5a9cef22$1@news.povray.org>
On 05/03/2018 06:38, dick balaska wrote:
> On 03/04/2018 08:53 PM, Mike Horvath wrote:
>> Is there a permanent way to set the processor affinity of the POV-Ray 
>> render processes? I can do this Process Hacker, but as soon as I 
>> minimize or exit Process Hacker, the changes are reversed.
>>
>> I would like to still be able to use my computer for other stuff while 
>> rendering, and setting the render priority isn't always enough.
>>
>>
>> Mike
> 
> I always set it from Task Manager. Right click on the process and you 
> can change its affinity and priority.
> 

Task Manager works well for Windoze and Pov retains the affinity 
settings when it is closed but I have a feeling Mike uses Linux.

-- 

Regards
     Stephen


Post a reply to this message

From: dick balaska
Subject: Re: Processor affinity?
Date: 5 Mar 2018 02:37:28
Message: <5a9cf3b8$1@news.povray.org>
On 03/05/2018 02:17 AM, Stephen wrote:
> On 05/03/2018 06:38, dick balaska wrote:
>> On 03/04/2018 08:53 PM, Mike Horvath wrote:
>>> Is there a permanent way to set the processor affinity of the POV-Ray 
>>> render processes? I can do this Process Hacker, but as soon as I 
>>> minimize or exit Process Hacker, the changes are reversed.
>>>
>>> I would like to still be able to use my computer for other stuff 
>>> while rendering, and setting the render priority isn't always enough.
>>>
>>>
>>> Mike
>>
>> I always set it from Task Manager. Right click on the process and you 
>> can change its affinity and priority.
>>
> 
> Task Manager works well for Windoze and Pov retains the affinity 
> settings when it is closed but I have a feeling Mike uses Linux.
> 

Ah.

Wait. Why post this question in the windows group then? ;)

-- 
dik
Rendered 920576 of 921600 pixels (99%)


Post a reply to this message

From: Stephen
Subject: Re: Processor affinity?
Date: 5 Mar 2018 03:24:30
Message: <5a9cfebe@news.povray.org>
On 05/03/2018 07:37, dick balaska wrote:
> On 03/05/2018 02:17 AM, Stephen wrote:
>> On 05/03/2018 06:38, dick balaska wrote:
>>> On 03/04/2018 08:53 PM, Mike Horvath wrote:
>>>> Is there a permanent way to set the processor affinity of the 
>>>> POV-Ray render processes? I can do this Process Hacker, but as soon 
>>>> as I minimize or exit Process Hacker, the changes are reversed.
>>>>
>>>> I would like to still be able to use my computer for other stuff 
>>>> while rendering, and setting the render priority isn't always enough.
>>>>
>>>>
>>>> Mike
>>>
>>> I always set it from Task Manager. Right click on the process and you 
>>> can change its affinity and priority.
>>>
>>
>> Task Manager works well for Windoze and Pov retains the affinity 
>> settings when it is closed but I have a feeling Mike uses Linux.
>>
> 
> Ah.
> 
> Wait. Why post this question in the windows group then? ;)
> 

Oh! That's a duh on my part. :-(

-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Processor affinity?
Date: 5 Mar 2018 03:49:19
Message: <5a9d048f$1@news.povray.org>
On 5-3-2018 2:53, Mike Horvath wrote:
> Is there a permanent way to set the processor affinity of the POV-Ray 
> render processes? I can do this Process Hacker, but as soon as I 
> minimize or exit Process Hacker, the changes are reversed.
> 
> I would like to still be able to use my computer for other stuff while 
> rendering, and setting the render priority isn't always enough.
> 

I doubt if setting the affinity is such a good way to go (just googled 
the topic rapidly). Depending on the number of cores you have available 
on your computer, just set +wt in POV-Ray. In my case, I have 8 cores 
and I always render with +wt6. For most of my other activities while a 
render is in progress, the 2 remaining cores are more than enough.

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Processor affinity?
Date: 5 Mar 2018 03:51:53
Message: <5a9d0529$1@news.povray.org>
On 5-3-2018 9:49, Thomas de Groot wrote:
I probably should have written "threads" instead of "cores". ;-)

-- 
Thomas


Post a reply to this message

From: Mike Horvath
Subject: Re: Processor affinity?
Date: 5 Mar 2018 03:55:32
Message: <5a9d0604$1@news.povray.org>
On 3/5/2018 3:51 AM, Thomas de Groot wrote:
> On 5-3-2018 9:49, Thomas de Groot wrote:
> I probably should have written "threads" instead of "cores". ;-)
> 

Wow, +wt is even better!!

The docs mention threads and cores. But some CPUs have 2 threads per 
core, correct?



Mike


Post a reply to this message

From: Mike Horvath
Subject: Re: Processor affinity?
Date: 5 Mar 2018 03:57:11
Message: <5a9d0667$1@news.povray.org>
On 3/5/2018 3:24 AM, Stephen wrote:
> On 05/03/2018 07:37, dick balaska wrote:
>> On 03/05/2018 02:17 AM, Stephen wrote:
>>> On 05/03/2018 06:38, dick balaska wrote:
>>>> On 03/04/2018 08:53 PM, Mike Horvath wrote:
>>>>> Is there a permanent way to set the processor affinity of the 
>>>>> POV-Ray render processes? I can do this Process Hacker, but as soon 
>>>>> as I minimize or exit Process Hacker, the changes are reversed.
>>>>>
>>>>> I would like to still be able to use my computer for other stuff 
>>>>> while rendering, and setting the render priority isn't always enough.
>>>>>
>>>>>
>>>>> Mike
>>>>
>>>> I always set it from Task Manager. Right click on the process and 
>>>> you can change its affinity and priority.
>>>>
>>>
>>> Task Manager works well for Windoze and Pov retains the affinity 
>>> settings when it is closed but I have a feeling Mike uses Linux.
>>>
>>
>> Ah.
>>
>> Wait. Why post this question in the windows group then? ;)
>>
> 
> Oh! That's a duh on my part. :-(
> 

Yeah, I meant Windows. But thanks for the help!


Mike


Post a reply to this message

From: Stephen
Subject: Re: Processor affinity?
Date: 5 Mar 2018 04:11:13
Message: <5a9d09b1$1@news.povray.org>
On 05/03/2018 08:55, Mike Horvath wrote:
> On 3/5/2018 3:51 AM, Thomas de Groot wrote:
>> On 5-3-2018 9:49, Thomas de Groot wrote:
>> I probably should have written "threads" instead of "cores". ;-)
>>
> 
> Wow, +wt is even better!!
> 
> The docs mention threads and cores. But some CPUs have 2 threads per 
> core, correct?
> 
> 
> 

Yes my i7 CPU has 6 cores and 12 threads.

One other thought, only slightly relevant.

If, toward the end of rendering a frame, you find that you are waiting 
for one or two blocks to finish. Setting Render_Block_Size to a smallish 
value allows all of your cores to work on the blocks instead of being 
idle. I generally use +BS8

http://wiki.povray.org/content/Reference:Tracing_Options#Render_Block_Size

-- 

Regards
     Stephen


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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