POV-Ray : Newsgroups : povray.general : Multiple instances of POV-Ray? Server Time
23 Dec 2024 11:47:41 EST (-0500)
  Multiple instances of POV-Ray? (Message 1 to 8 of 8)  
From: Mike Horvath
Subject: Multiple instances of POV-Ray?
Date: 17 Jan 2016 21:03:52
Message: <569c4808$1@news.povray.org>
Is there a way to run multiple instances of POV-Ray? Will it cause 
problems if two are running at the same time?


Mike


Post a reply to this message

From: Ger
Subject: Re: Multiple instances of POV-Ray?
Date: 17 Jan 2016 21:14:56
Message: <569c4aa0@news.povray.org>
Mike Horvath wrote:

> Is there a way to run multiple instances of POV-Ray? Will it cause
> problems if two are running at the same time?
> 
> 
> Mike

I don't know about Windows, but on Linux I can run as many as I want and I've 
never seen any clashes
-- 

Ger


Post a reply to this message

From: Mike Horvath
Subject: Re: Multiple instances of POV-Ray?
Date: 17 Jan 2016 21:23:51
Message: <569c4cb7$1@news.povray.org>
On 1/17/2016 9:14 PM, Ger wrote:
> Mike Horvath wrote:
>
>> Is there a way to run multiple instances of POV-Ray? Will it cause
>> problems if two are running at the same time?
>>
>>
>> Mike
>
> I don't know about Windows, but on Linux I can run as many as I want and I've
> never seen any clashes
>

On Windows it automatically switches to the already running instance 
when I try to run the program again. I did notice I can run the 64 and 
32-bit versions separately.


Mike


Post a reply to this message

From: Mike Horvath
Subject: Re: Multiple instances of POV-Ray?
Date: 17 Jan 2016 21:31:38
Message: <569c4e8a$1@news.povray.org>
On 1/17/2016 9:04 PM, Mike Horvath wrote:
> Is there a way to run multiple instances of POV-Ray? Will it cause
> problems if two are running at the same time?
>
>
> Mike



Duh. There is a Keep Single Instance option in the settings.

Mike


Post a reply to this message

From: clipka
Subject: Re: Multiple instances of POV-Ray?
Date: 18 Jan 2016 00:13:30
Message: <569c747a$1@news.povray.org>
Am 18.01.2016 um 03:24 schrieb Mike Horvath:
> On 1/17/2016 9:14 PM, Ger wrote:
>> Mike Horvath wrote:
>>
>>> Is there a way to run multiple instances of POV-Ray? Will it cause
>>> problems if two are running at the same time?
>>>
>>>
>>> Mike
>>
>> I don't know about Windows, but on Linux I can run as many as I want
>> and I've
>> never seen any clashes
>>
> 
> On Windows it automatically switches to the already running instance
> when I try to run the program again. I did notice I can run the 64 and
> 32-bit versions separately.

Turn off the "Keep single instance" switch in the "Options" menu, and
Bob's your uncle.


Post a reply to this message

From: Theogott
Subject: Re: Multiple instances of POV-Ray?
Date: 19 Jan 2016 15:20:01
Message: <web.569e998ce13451b5adb2e4f80@news.povray.org>
As POV-Ray uses most often all CPU Cores, it makes only limited sense to run
multiple instances.
There are however some cases.
For example if you have one picture that renders for long time - maybe several
days. And you want to "experiment" with another POV-Ray.

I do this often, sometimes i have 4 or 5 POV-Rays running so here are some
tipps:

1. The first thing to do is, check that in teh "Render Menu" the Render-Priority
is default on "Background".

2. Leave it on Background for the POV-Ray that is rendering for long time
anyway.
   You can set it to "Normal" if you have one POV-Ray that is rendering an qucik
Testpicture. Then this will more soon be ready.

3. The Task Manager is your friend. Sometimes it makes sense, to "free"
CPU-Cores from your system. You can do this by choosing POV-Ray "pvengine64.exe"
in the Task-Manager and the choose "Set CPU Affinity".
There you can tell which CPU-Cores are used by which instances.

This way you can reserve one core for you and windows, by just removing its
"Affinity" (remove the cross from the checkmark).

Also if you have 2 POV-Instances render long time together, you can give each of
them a specified amount of CPU Cores. Best is AB-AB-AB-AB means
Core 0 - POV - A,
Core 1 - POV - B,
etc. This way, the hyperthreading "Core" has a different program and can use the
internal execution units better.

And you avoid too many context switches like you get them if you give any
POV-Ray all the cores at the same Render Priority.


Post a reply to this message

From: Mike Horvath
Subject: Re: Multiple instances of POV-Ray?
Date: 19 Jan 2016 18:14:01
Message: <569ec339$1@news.povray.org>
On 1/19/2016 3:16 PM, Theogott wrote:
> As POV-Ray uses most often all CPU Cores, it makes only limited sense to run
> multiple instances.
> There are however some cases.
> For example if you have one picture that renders for long time - maybe several
> days. And you want to "experiment" with another POV-Ray.
>
> I do this often, sometimes i have 4 or 5 POV-Rays running so here are some
> tipps:
>
> 1. The first thing to do is, check that in teh "Render Menu" the Render-Priority
> is default on "Background".
>
> 2. Leave it on Background for the POV-Ray that is rendering for long time
> anyway.
>     You can set it to "Normal" if you have one POV-Ray that is rendering an qucik
> Testpicture. Then this will more soon be ready.
>
> 3. The Task Manager is your friend. Sometimes it makes sense, to "free"
> CPU-Cores from your system. You can do this by choosing POV-Ray "pvengine64.exe"
> in the Task-Manager and the choose "Set CPU Affinity".
> There you can tell which CPU-Cores are used by which instances.
>
> This way you can reserve one core for you and windows, by just removing its
> "Affinity" (remove the cross from the checkmark).
>
> Also if you have 2 POV-Instances render long time together, you can give each of
> them a specified amount of CPU Cores. Best is AB-AB-AB-AB means
> Core 0 - POV - A,
> Core 1 - POV - B,
> etc. This way, the hyperthreading "Core" has a different program and can use the
> internal execution units better.
>
> And you avoid too many context switches like you get them if you give any
> POV-Ray all the cores at the same Render Priority.
>
>
>

Thanks! Those are good tips!


Mike


Post a reply to this message

From: Theogott
Subject: Re: Multiple instances of POV-Ray?
Date: 21 Jan 2016 02:50:06
Message: <web.56a08d9fe13451b5adb2e4f80@news.povray.org>
If you have a good graphics card and want try something new,  you can get even
better system usage, by rendering at the same time using Luxrender or Blender
"Cycles" with the OpenCL-Option.

Because it uses the Graphics-Card GPU for rendering, you can render with POV-Ray
at the same time.
While POV uses the CPU-Cores, at the same time "render scenes" with Luxrender
(or Blender Cycles), because it will just use 1 CPU-Core plus the graphics card.

To see if this makes sense for your system, go to here:
http://www.luxmark.info/

and make the Test. If you GPU is good (higher number then the CPU-Test), then
you can try that. In my case i had ~50.000 for my GPU ans ~1200 for my CPU so it
made sense :-). Because otehrwise my GPU sits there useless - while beeing 50
times faster in rendering then my CPU.

The newest version of Luxrender OpenCL is here available.
http://www.luxrender.net/forum/viewtopic.php?f=30&t=12147

In my tests its a good companion to POV-Ray, while (the disadvantage is) that
you need to use Blender to design the scenes. It does not have an easy to use
SDL like POV-Ray.

More Infos on "Blender Cycles" in YouTube, if you just enter the term, there are
many tutorial videos.


Post a reply to this message

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