Read Ahead CPU preparation

Forums: Read Ahead CPU preparation
Sub forum for feature requests etc

Moderator: aoktar

Read Ahead CPU preparation

Postby Janman » Mon Jun 19, 2017 10:19 am

Janman Mon Jun 19, 2017 10:19 am
In animation it would be good to limit the time GPU's are waiting on the CPU to render.

Before rendering on the GPU there's always some preparation time on the CPU. (depending on how much animated objects there are)
If the CPU could read ahead and cache X number of frames to feed the GPU's,
rendertimes could increase significantly on long animations.

I've tried to make it clear in this Exaggerated graphic;
Image

I don't even know if this could be possible ...
thanks,
Jan
C4D R17 - OCTANE 3.04.5 - OCTANE4C4D 3.04.5
Win 7 64 24GB/ C4D R15 / 3xGTX780 3xGTX670
Janman
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Sun Jun 30, 2013 6:48 pm

Re: Read Ahead CPU preparation

Postby bartolos » Mon Jul 17, 2017 8:29 am

bartolos Mon Jul 17, 2017 8:29 am
You mean that while the GPUs are rendering, say, frame 1, the CPU could start preparing for frame 2, so the GPUs can start rendering it as soon as the preprocessing for frame 1 is finished...
While the idea seems quite good, the benefits would probably affect only simple scenes, where GPU part is comparable time-wise to preprocessing time by the CPU. In that case you can leverage free GPU cycles by running 2 rendering processes simultaneously, so the GPU calculations should "fill in" the idle time.

B.
bartolos
Licensed Customer
Licensed Customer
 
Posts: 35
Joined: Thu Aug 11, 2016 8:59 am

Re: Read Ahead CPU preparation

Postby Janman » Wed Jul 19, 2017 8:39 pm

Janman Wed Jul 19, 2017 8:39 pm
You're right about the "simple scenes", but there are more conditions where this would apply.
When rendering scenes with a lot, or heavy mesh-updates,
when cloning (mograph) a lot of animated meshes
and last but not least, when previewing your animations (+- 150 samples)

In my case,
a lot of my 3D projects are around 5000 frames,
if I even would gain 1 second every frame when previewing and rendering,
that would be 01h20 saved every run.

And that's huge !
Win 7 64 24GB/ C4D R15 / 3xGTX780 3xGTX670
Janman
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Sun Jun 30, 2013 6:48 pm

Re: Read Ahead CPU preparation

Postby Janman » Wed Jul 19, 2017 8:45 pm

Janman Wed Jul 19, 2017 8:45 pm
bartolos wrote:In that case you can leverage free GPU cycles by running 2 rendering processes simultaneously, so the GPU calculations should "fill in" the idle time.
B.


Can you explain how you would do that using C4D, C4D-plugin and Octane ?
My experiments halted when running out of memory on my GPU's.

thanks,
Jan
Win 7 64 24GB/ C4D R15 / 3xGTX780 3xGTX670
Janman
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Sun Jun 30, 2013 6:48 pm

Re: Read Ahead CPU preparation

Postby aoktar » Wed Jul 19, 2017 10:08 pm

aoktar Wed Jul 19, 2017 10:08 pm
Janman wrote:In animation it would be good to limit the time GPU's are waiting on the CPU to render.

Before rendering on the GPU there's always some preparation time on the CPU. (depending on how much animated objects there are)
If the CPU could read ahead and cache X number of frames to feed the GPU's,
rendertimes could increase significantly on long animations.


Sorry it's not possible with current design of plugin+renderer. You can try to run/render multi C4D copies and divide your frames.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15968
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Read Ahead CPU preparation

Postby bartolos » Thu Jul 20, 2017 1:41 pm

bartolos Thu Jul 20, 2017 1:41 pm
Janman wrote:Can you explain how you would do that using C4D, C4D-plugin and Octane ?
My experiments halted when running out of memory on my GPU's.


As I wrote, that works for simple cases only. Scenes that render faster than they get prepared for rendering.
Maybe you could try exporting to standalone but with huge scenes it could be more trouble than benefit.

Cheers,
B
bartolos
Licensed Customer
Licensed Customer
 
Posts: 35
Joined: Thu Aug 11, 2016 8:59 am

Re: Read Ahead CPU preparation

Postby Janman » Fri Jul 21, 2017 11:17 pm

Janman Fri Jul 21, 2017 11:17 pm
aoktar wrote:Sorry it's not possible with current design of plugin+renderer. You can try to run/render multi C4D copies and divide your frames.


OK,
thanks aoktar,
maybe one day ... ;-)
Win 7 64 24GB/ C4D R15 / 3xGTX780 3xGTX670
Janman
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Sun Jun 30, 2013 6:48 pm

Return to User requests


Who is online

Users browsing this forum: No registered users and 1 guest

Thu Apr 25, 2024 2:13 am [ UTC ]