POV-Ray : Newsgroups : povray.general : POVRay uses just half of many cores Server Time
28 Mar 2024 20:55:20 EDT (-0400)
  POVRay uses just half of many cores (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: clipka
Subject: Re: POVRay uses just half of many cores
Date: 7 Dec 2018 15:05:06
Message: <5c0ad272$1@news.povray.org>
Am 07.12.2018 um 20:37 schrieb Mirfaelltkeinerein:
> I just found out that it has something to do with 'processor groups', as Windows
> divides the cores for >64 core machines in several groups and a program which is
> not aware of processor groups is limited to stay in one group. In my case the
> groups are 48 processors and both groups are equal in size.

Yes, you're stuck with 48 threads. I don't think that will change any 
time soon - we're using Boost for thread management, which does not seem 
to support processor groups yet.

It might be worth trying whether the "Windows Subsystem for Linux" can 
make use of all processors simultaneously.


Post a reply to this message

From: Mirfaelltkeinerein
Subject: Re: POVRay uses just half of many cores
Date: 8 Dec 2018 08:25:01
Message: <web.5c0bc603aed6242340522cf90@news.povray.org>
Hmmmm, here
https://www.boost.org/doc/libs/1_68_0/libs/fiber/doc/html/fiber/numa.html
is something written about it. So it should be able with Boost...


Post a reply to this message

From: clipka
Subject: Re: POVRay uses just half of many cores
Date: 8 Dec 2018 10:20:27
Message: <5c0be13b$1@news.povray.org>
Am 08.12.2018 um 14:24 schrieb Mirfaelltkeinerein:
> Hmmmm, here
> https://www.boost.org/doc/libs/1_68_0/libs/fiber/doc/html/fiber/numa.html
> is something written about it. So it should be able with Boost...

Boost is actually not a single homogenous library, but a collection of 
libraries. POV-Ray is using Boost.Thread for multithreading; the linked 
page however is about NUMA support in Boost.Fiber, which is an entirely 
different library for somewhat similar purposes.

I find it a bit odd to find NUMA support in Boost.Fiber, as that library 
is all about /fibers/, which aren't full-fledged threads, but rather 
just a programming aid to more easily manage different jobs in a single 
thread, using cooperative scheduling.


Post a reply to this message

From: Mirfaelltkeinerein
Subject: Re: POVRay uses just half of many cores
Date: 10 Dec 2018 04:25:00
Message: <web.5c0e2feaaed62423ee75e2ca0@news.povray.org>
Ok, I have to admit, that I have little knowledge about it.
I'm just hoping, that in future releases POVRay can use all available resources
under Windows, too.


Post a reply to this message

From: Stephen
Subject: Re: POVRay uses just half of many cores
Date: 10 Dec 2018 05:02:50
Message: <5c0e39ca$1@news.povray.org>
On 08/12/2018 15:20, clipka wrote:
> Am 08.12.2018 um 14:24 schrieb Mirfaelltkeinerein:
>> Hmmmm, here
>> https://www.boost.org/doc/libs/1_68_0/libs/fiber/doc/html/fiber/numa.html
>> is something written about it. So it should be able with Boost...
> 
> Boost is actually not a single homogenous library, but a collection of 
> libraries. POV-Ray is using Boost.Thread for multithreading; the linked 
> page however is about NUMA support in Boost.Fiber, which is an entirely 
> different library for somewhat similar purposes.
> 
> I find it a bit odd to find NUMA support in Boost.Fiber, as that library 
> is all about /fibers/, which aren't full-fledged threads, but rather 
> just a programming aid to more easily manage different jobs in a single 
> thread, using cooperative scheduling.


How do render farms cope with multiple CPUs? Could a variant of that 
method be used?

-- 

Regards
     Stephen


Post a reply to this message

From: clipka
Subject: Re: POVRay uses just half of many cores
Date: 10 Dec 2018 06:04:19
Message: <5c0e4833$1@news.povray.org>
Am 10.12.2018 um 11:02 schrieb Stephen:
> How do render farms cope with multiple CPUs? Could a variant of that 
> method be used?

I'm pretty sure they're either not running Windows, or they're using 
software that manages threads via Windows' native API.


Post a reply to this message

From: clipka
Subject: Re: POVRay uses just half of many cores
Date: 10 Dec 2018 06:20:05
Message: <5c0e4be5$1@news.povray.org>
Am 10.12.2018 um 10:20 schrieb Mirfaelltkeinerein:
> Ok, I have to admit, that I have little knowledge about it.
> I'm just hoping, that in future releases POVRay can use all available resources
> under Windows, too.

It should be possible to utilize multiple processor groups by running 
multiple instances of POV-Ray, each using a different processor group.

The problem there is that programs are assigned to processor groups in a 
round-robin fashion, so if any other program happens to be started in 
the background between running the POV-Ray instances, they'll happen to 
be assigned to the same processor group.


Post a reply to this message

From: Stephen
Subject: Re: POVRay uses just half of many cores
Date: 10 Dec 2018 06:49:22
Message: <5c0e52c2$1@news.povray.org>
On 10/12/2018 11:04, clipka wrote:
> Am 10.12.2018 um 11:02 schrieb Stephen:
>> How do render farms cope with multiple CPUs? Could a variant of that 
>> method be used?
> 
> I'm pretty sure they're either not running Windows, or they're using 
> software that manages threads via Windows' native API.

Thanks, I was just wondering.
Now I expect that jr will be going :P :P
;)

-- 

Regards
     Stephen


Post a reply to this message

From: jr
Subject: Re: POVRay uses just half of many cores
Date: 10 Dec 2018 08:20:00
Message: <web.5c0e66deaed62423e43b71790@news.povray.org>
hi,

Stephen <mca### [at] aolcom> wrote:
> On 10/12/2018 11:04, clipka wrote:
> > Am 10.12.2018 um 11:02 schrieb Stephen:
> >> How do render farms cope with multiple CPUs? Could a variant of that
> >> method be used?
> >
> > I'm pretty sure they're either not running Windows, or they're using
> > software that manages threads via Windows' native API.
>
> Thanks, I was just wondering.
> Now I expect that jr will be going :P :P

drooling, more like..  :-)  man, Mirfaelltkeinerein's box has more cores on a
single m/board than I have in the whole flat -- counting hoover *and* toaster.

;-)


regards, jr.


Post a reply to this message

From: Stephen
Subject: Re: POVRay uses just half of many cores
Date: 10 Dec 2018 09:15:14
Message: <5c0e74f2$1@news.povray.org>
On 10/12/2018 13:15, jr wrote:
> hi,
> 
> Stephen <mca### [at] aolcom> wrote:
>> On 10/12/2018 11:04, clipka wrote:
>>> Am 10.12.2018 um 11:02 schrieb Stephen:
>>>> How do render farms cope with multiple CPUs? Could a variant of that
>>>> method be used?
>>>
>>> I'm pretty sure they're either not running Windows, or they're using
>>> software that manages threads via Windows' native API.
>>
>> Thanks, I was just wondering.
>> Now I expect that jr will be going :P :P
> 
> drooling, more like..  :-)  man, Mirfaelltkeinerein's box has more cores on a
> single m/board than I have in the whole flat -- counting hoover *and* toaster.
> 
> ;-)
> 

And all my old laptops. :(



-- 

Regards
     Stephen


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

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