Terragen GI cache blending and Multithreading

Started by D.A. Bentley (SuddenPlanet), November 27, 2017, 09:23:49 PM

Previous topic - Next topic

Oshyan

That is incredibly strange! My first thought when you mentioned flipping the render upside down was that the hardest work for the renderer to do was at the bottom of the image, but by the time the render process gets down there, it has fewer areas of work for render buckets than the amount of render work you have left to do. In other words you end up with a few render buckets - assigned to a single CPU thread each - that take proportionally longer, and thus the total render time is longer. This does happen on occasion and I have seen similar situations where flipping the camera fixes it because what then happen is these difficult buckets start rendering earlier on and can be crunching away while the rest of the image renders, and they have more time to finish before the rest are done, basically. So you put the hardest to render stuff at the beginning of the render process.

But... your situation isn't that way at all! Somehow and for some reason the *beginning* of the render is slower (lower CPU utilization) than later. Which is really... odd. This is definitely worth looking into further, and thank you for all the in-depth testing and reporting back.

- Oshyan

D.A. Bentley (SuddenPlanet)

Another interesting comparison was I rendered the same exact scene twice; once with Hyper-Threading on, and a second time with it off.  When Hyper-Threading was off my CPU utilization (according to windows 10) was 100% the entire render, but ironically it took about 3-4 hours longer to finish compared to the Hyper-Threading On render which was showing underutilization at times

Render with HT on took about 19 hours, and with HT Off it took 23 hours.

Not sure what to conclude from that, but that's what happened.


Oshyan

That's quite a difference. HT should add at most 20% of additional performance, and that's under ideal conditions. Typical is more like 10-15%. So that's on the edge of possibility. ;)

Remind me, are you Mac or Windows? And what OS version are you running?

- Oshyan

D.A. Bentley (SuddenPlanet)


Oshyan

OK, good to know. Let us know the results of any other tests. Is the scene file you're testing with the same as the one you sent us?

- Oshyan

D.A. Bentley (SuddenPlanet)

It's been awhile, and I can't remember what scene file I sent you.  I haven't had time to do any further testing, but the scene I was using to do these tests were related to the spherical camera "Peachy Clouds" scenes.  I can't remember for sure, but it might have been only happening with Cloud Layer v2.  When I get back to doing more renderings I'll try and re-visit this.