Node overhead: big performance hit with empty nodes

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Robert Arnold

  • Posts: 424
  • Joined: Tue Oct 30, 2012 11:53 pm

Node overhead: big performance hit with empty nodes

PostFri Sep 06, 2019 12:18 am

Since I've started using a fixed node structure in my grading, I've noticed a big slowdown with TNR. It seems that a node graph has an unexpected amount of overhead in terms of playback speed.

For example, in HD, using the standard candle project, I get about 21 fps playback with 4 TNR nodes. This is fine, since i never really need more than 1 TNR node.
Screen Shot 2019-09-05 at 4.57.05 PM.png
Standard candle 4 TNR version
Screen Shot 2019-09-05 at 4.57.05 PM.png (31.13 KiB) Viewed 1459 times


However, if I create a new version and put 15 completely empty nodes in it, then a single TNR node, I get about the same less-than-realtime playback(20fps).
Screen Shot 2019-09-05 at 5.01.46 PM.png
15 empty nodes and one TNR
Screen Shot 2019-09-05 at 5.01.46 PM.png (52.14 KiB) Viewed 1459 times


This is unfortunate, because my standard fixed node structure is 16 nodes.
Screen Shot 2019-09-05 at 4.56.46 PM.png
Fixed node structure
Screen Shot 2019-09-05 at 4.56.46 PM.png (73.71 KiB) Viewed 1459 times

Even if I *disable* all of those nodes except for my TNR node, my playback still drops below real-time with a single TNR node active. This despite the fact that a grade with the same TNR node but no other nodes, plays back at 45fps.

It seems like there must be some major inefficiency under the hood here.....

(Resolve 16.1b2, OS X 10.14.6, AMD Radeon VII, 22-core 2.7GHZ processor, 64GB RAM)
Offline
User avatar

Marc Wielage

  • Posts: 9259
  • Joined: Fri Oct 18, 2013 2:46 am
  • Location: Hollywood, USA

Re: Node overhead: big performance hit with empty nodes

PostFri Sep 06, 2019 2:05 am

Robert Arnold wrote:Since I've started using a fixed node structure in my grading, I've noticed a big slowdown with TNR. It seems that a node graph has an unexpected amount of overhead in terms of playback speed. ...It seems like there must be some major inefficiency under the hood here.....
(Resolve 16.1b2, OS X 10.14.6, AMD Radeon VII, 22-core 2.7GHZ processor, 64GB RAM)

So you're using a Hackintosh running an AMD 22-core processor with Beta software. How does your drive I/O rate on the BMD speed test? What specific type of source material (codec, resolution, and frame rate)?

I typically run anywhere from 12 to 30 nodes in a fixed node structure, and I'll throw in an SNR/TNR node if I need one. I do bypass the nodes I don't need, but I can usually run at speed on a Trashcan Mac with no problem provided it's a 24fps HD timeline. Anything more than that will be a bit of a struggle.
marc wielage, csi • VP/color & workflow • chroma | hollywood
Offline

onejiujitsu

  • Posts: 35
  • Joined: Mon Sep 17, 2018 7:33 pm
  • Real Name: Mohammad Khayat

Re: Node overhead: big performance hit with empty nodes

PostFri Sep 06, 2019 2:50 am

This is a fantastic post. I'm really interested in responses.
Offline

Robert Arnold

  • Posts: 424
  • Joined: Tue Oct 30, 2012 11:53 pm

Re: Node overhead: big performance hit with empty nodes

PostSun Sep 15, 2019 8:56 pm

Marc Wielage wrote: So you're using a Hackintosh running an AMD 22-core processor with Beta software. How does your drive I/O rate on the BMD speed test? What specific type of source material (codec, resolution, and frame rate)?

I typically run anywhere from 12 to 30 nodes in a fixed node structure, and I'll throw in an SNR/TNR node if I need one. I do bypass the nodes I don't need, but I can usually run at speed on a Trashcan Mac with no problem provided it's a 24fps HD timeline. Anything more than that will be a bit of a struggle.


Even with 1920x1080 ProRes 23.98 footage on an HD timeline, reading from an NVMe SSD (around 2.5Gbps r/w), I can't quite play at speed with a single TNR node (2, faster, medium) if it is preceded by 16 empty, disabled nodes. This despite the fact that I can play back the same clip with THREE enabled TNR nodes (as long as there are no other nodes in the graph) at speed. It makes no sense.
Offline
User avatar

Mbeare

  • Posts: 61
  • Joined: Tue Nov 17, 2020 6:27 pm
  • Location: Cape Town, South Africa
  • Real Name: Misha Beare

Re: Node overhead: big performance hit with empty nodes

PostFri Feb 03, 2023 7:23 pm

Good evening.

I currently have the same issue. I have a fixed node structure, even with almost all of my nodes disabled, just having the nodes on the tree drastically degrades performance.

I have better performance with a 6K image and 4 nodes than a 1080P image with 20 but only four enabled.

Reproducible with any footage type/codec that I have tried.

Windows 10, Resolve 18.1.2, Intel 8086K, Corsair Vengence 128GB, RTX 3090, Samsung NVMEs
Work PC: Gigabyte Aero D | CPU Intel 13900K 5.3GHz Water-Cooled | RAM 128GB DDR5 Corsair Vengeance OC to 5k MHZ | GPU RTX 3090 drivers 528.49 | 2x 4TB Firecuda NVMEs (System & Cache)

Decklink Studio 4K (12.4)
Resolve 18.1.3 B8
Windows 11: 22621.1344
Offline

Mads Johansen

  • Posts: 521
  • Joined: Mon Dec 19, 2016 10:51 am

Re: Node overhead: big performance hit with empty nodes

PostSat Feb 04, 2023 5:49 am

Mbeare wrote:Good evening.

I currently have the same issue. I have a fixed node structure, even with almost all of my nodes disabled, just having the nodes on the tree drastically degrades performance.

I have better performance with a 6K image and 4 nodes than a 1080P image with 20 but only four enabled.

Reproducible with any footage type/codec that I have tried.

Windows 10, Resolve 18.1.2, Intel 8086K, Corsair Vengence 128GB, RTX 3090, Samsung NVMEs

Does the same thing happen with generated videos (eg the Effects -> Generators -> Four Color Gradient)? (To make the clip visible in the Color Page, create a compound clip)
Davinci Resolve 18.1.4 Build 9, Windows 11, Nvidia 3060 TI, 528.49 Studio
Offline

Jim Simon

  • Posts: 24502
  • Joined: Fri Dec 23, 2016 1:47 am

Re: Node overhead: big performance hit with empty nodes

PostSat Feb 04, 2023 3:19 pm

I tested a UHD BRAW 24 fps clip in a UHD 24 fps timeline. I added a total of 21 nodes.

On or Disabled seemed to make no difference. Playback was 24 fps green.

Studio 18.1.2 on Windows 10
i5-2500K
RTX 3060 12GB VRAM
Offline

Uli Plank

  • Posts: 17062
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Node overhead: big performance hit with empty nodes

PostSun Feb 05, 2023 3:11 am

Same here.
I always use a standardised node tree and empty nodes don't have any significant impact on speed.
Don’t approach DR with your preconceptions from another NLE.
Many features are better, some worse, most are different.


Resolve Studio 18.1.2, MacOS 12.6.2
MacBook M1 Pro, 16 GPU cores, 32 GB RAM
and
iMac 2017, Radeon 580, 32 GB RAM
Speed Editor
Offline
User avatar

Marc Wielage

  • Posts: 9259
  • Joined: Fri Oct 18, 2013 2:46 am
  • Location: Hollywood, USA

Re: Node overhead: big performance hit with empty nodes

PostSun Feb 05, 2023 5:23 am

Same as Uli and the others. I'm on a 2019 Mac Pro and routinely use somewhere between 20 and 25 nodes, and it's been fine in terms of speed. I upped it a couple of weeks ago to 36 nodes just as an experiment for an entire project, and while the sheer number of nodes slowed me down in terms of workflow (just in trying to find the right node #), it didn't affect playback performance at all.
marc wielage, csi • VP/color & workflow • chroma | hollywood
Offline

Uli Plank

  • Posts: 17062
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Node overhead: big performance hit with empty nodes

PostSun Feb 05, 2023 7:20 am

It seems to be difficult to reproduce, independent of the OS.
Try to export that timeline and open it in a fresh project. Still the same?
Don’t approach DR with your preconceptions from another NLE.
Many features are better, some worse, most are different.


Resolve Studio 18.1.2, MacOS 12.6.2
MacBook M1 Pro, 16 GPU cores, 32 GB RAM
and
iMac 2017, Radeon 580, 32 GB RAM
Speed Editor
Offline

Robert Arnold

  • Posts: 424
  • Joined: Tue Oct 30, 2012 11:53 pm

Re: Node overhead: big performance hit with empty nodes

PostTue Feb 07, 2023 6:49 am

Uli Plank wrote:It seems to be difficult to reproduce, independent of the OS.
Try to export that timeline and open it in a fresh project. Still the same?


My post was from 2019. It subsequently became a known issue and was fixed a few versions ago!
Offline
User avatar

Joe Shapiro

  • Posts: 1570
  • Joined: Thu Jul 25, 2013 7:23 am
  • Location: Los Angeles CA USA

Re: Node overhead: big performance hit with empty nodes

PostTue Feb 07, 2023 7:21 am

Would you be so kind as to change the Subject of the original post so it's got Fixed: (or some such) in it? :)
Director, Editor, Problem Solver. Been cutting indie features for 20 years. FCP editor from version 2 to 7.
Resolve 18.1.4
macOS 12.6.3
MacBook Pro 16" M1 Max 64GB RAM
Offline

Uli Plank

  • Posts: 17062
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Node overhead: big performance hit with empty nodes

PostTue Feb 07, 2023 7:48 am

Yeah, but Misha revived it. I doubt it's the same issue.
Don’t approach DR with your preconceptions from another NLE.
Many features are better, some worse, most are different.


Resolve Studio 18.1.2, MacOS 12.6.2
MacBook M1 Pro, 16 GPU cores, 32 GB RAM
and
iMac 2017, Radeon 580, 32 GB RAM
Speed Editor
Offline
User avatar

Mbeare

  • Posts: 61
  • Joined: Tue Nov 17, 2020 6:27 pm
  • Location: Cape Town, South Africa
  • Real Name: Misha Beare

Re: Node overhead: big performance hit with empty nodes

PostFri Feb 10, 2023 11:04 am

It is hard to reproduce. It does not seem to happen on other machines. I am still trying to work out what is causing this.
Work PC: Gigabyte Aero D | CPU Intel 13900K 5.3GHz Water-Cooled | RAM 128GB DDR5 Corsair Vengeance OC to 5k MHZ | GPU RTX 3090 drivers 528.49 | 2x 4TB Firecuda NVMEs (System & Cache)

Decklink Studio 4K (12.4)
Resolve 18.1.3 B8
Windows 11: 22621.1344
Offline
User avatar

Marc Wielage

  • Posts: 9259
  • Joined: Fri Oct 18, 2013 2:46 am
  • Location: Hollywood, USA

Re: Node overhead: big performance hit with empty nodes

PostSat Feb 11, 2023 2:14 am

And here's a 36-node tree as an illustration (not necessarily what I use -- today it's just 21):

Image

I often warn students that the problem with using a large node tree is it's tough to do without the Advanced Panels, which allow you to select a node number and immediately jump to it. Can't do that on the Mini or Micro panel (or the Tangent panels). Even on the Advanced, I start getting pretty fumbly over 25 nodes. And there are routinely people who use 30-40-50 nodes.

As arelated note: Walter Volpatto has a terrific 90-minute discussion of Fixed Node Trees, and he says a lot of what needed to be said:

https://ravengrade.com/landing/fixed-no ... -volpatto/

(Note that Ravengrade is a paid tutorial site, but I think they have a lot to offer.)
marc wielage, csi • VP/color & workflow • chroma | hollywood

Return to DaVinci Resolve

Who is online

Users browsing this forum: Google [Bot], Google Feedfetcher, nnjrewzas112, panos_mts, roger.magnusson, Uli Plank and 126 guests