Author Topic: Render engines at 100%  (Read 14420 times)

2014-09-19, 10:59:45

naikku

  • Active Users
  • **
  • Posts: 167
    • View Profile
I love working with Corona. One week ago I had to revert back to Mental Ray for one loooooong animation and an old problem came along.
As my computer renders a mental ray-image, everything is so slow. Cant do much anything with my computer when CPU-meter is at ~100%.
How come I can do much everything when I render with Corona and the CPU-meter is at ~100%?
Dont get me wrong, this is a good thing. Keymaster seems to be one hell of a coder :)

Is there same things with Vray? ..I have never used that.
No going back to mental ray - that would be just mental.


2014-09-19, 11:18:58
Reply #1

tomislavn

  • Active Users
  • **
  • Posts: 706
  • Lightbringer
    • View Profile
    • My 3docean Portolio
...Is there same things with Vray? ..I have never used that.
No going back to mental ray - that would be just mental.

Yeah, it is the same thing with V-Ray, I used to play some games while rendering or doing some designs, normally without hiccups. I guess that Corona and V-Ray just manage their resources better. Of course it won't render as fast as when you would let it use 100% of CPU power, but as long as you can live with some lost time it is no problem :)

Nowadays, I am just using another node for rendering so my main rig is free :)
My 3d stock portfolio - http://3docean.net/user/tomislavn

2014-09-19, 11:26:58
Reply #2

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
Vray and Corona automatically set process priority when rendering to low, while MR does not. If you want to use your PC while rendering with MR, set 3dsmax.exe process priority to low in task manager.

2014-09-19, 11:47:18
Reply #3

zzubnik

  • Active Users
  • **
  • Posts: 124
    • View Profile
Vray and Corona automatically set process priority when rendering to low, while MR does not. If you want to use your PC while rendering with MR, set 3dsmax.exe process priority to low in task manager.

I find that as well as doing this, changing the processor affinity to leave a couple of free cores really helps too.

2014-09-19, 12:09:46
Reply #4

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
There are people with exactly opposite experience. In theory there should not be any problems, but it seems there are some fuckups in windows and/or 3dsmax.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-09-19, 16:57:58
Reply #5

Paul Jones

  • Active Users
  • **
  • Posts: 168
    • View Profile
or change max afinity to all bar one core?

2014-09-19, 19:14:13
Reply #6

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
Vray and Corona automatically set process priority when rendering to low, while MR does not. If you want to use your PC while rendering with MR, set 3dsmax.exe process priority to low in task manager.

I think that as of Max2014 Mental is also set to low priority by default. And if i'm not mistaken setting 3dsmax.exe to low priority wouldn't help, there is some mental_some_or_other_process or service that needs to be taken down to low. This is what people did before Max2014, i never bothered to remember this because when i render i want 101% of processor power to the renderer :D

2014-09-20, 11:40:22
Reply #7

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
Regarding rendering at 100% it's interesting how Corona works. My processor is OCed (i7 3770k @ 4.5GHz), when i render with Mental, fan works at 80% or 100% (1900RPMs) to keep it at 75°C.
But with Corona fan is at 1200RPMs and processor is around 60°C. One more point for Corona :)

2014-09-20, 12:12:14
Reply #8

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
This is weird... maybe because of all the computing optimizations Corona is more memory-limited, which causes pipeline stalls and idle cycles to be inserted. But I would have expected the exact opposite...
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-09-20, 12:34:44
Reply #9

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
I don't know what pipeline stalls and idle cycles are, but i know that all cores are at 100% all the time. When rendering, off course.

EDIT: i'm rendering my vegetation test right now, today is a bit colder so fan is at its lowest (1100 RPMs) with all cores at 60-62°C.

2014-09-20, 12:58:17
Reply #10

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Even CPU showing 100% load can actually spend most of its time just idling and waiting for data from RAM. There are functions in Corona that spend 60% of time waiting for RAM. Fortunately it is a minority ;)
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-09-20, 17:21:29
Reply #11

Stan_But

  • Active Users
  • **
  • Posts: 526
    • View Profile
    • https://www.behance.net/archdizs
Guys!
What about put the script "Low priority.ms" in c:\Program Files\Autodesk\3ds Max 20xx\scripts\Startup\ ?

the script:  sysinfo.maxpriority = #low

or in attach

2014-09-25, 16:19:23
Reply #12

rampally

  • Active Users
  • **
  • Posts: 208
    • View Profile
Even CPU showing 100% load can actually spend most of its time just idling and waiting for data from RAM. There are functions in Corona that spend 60% of time waiting for RAM. Fortunately it is a minority ;)

{There are functions in Corona that spend 60% of time waiting for RAM. Fortunately it is a minority } i didn't get this point key master can you elaborate  what is minority......60% is not minor
if we could deal with this problem it will be HUGE improvement.........in speed ........i think???

2014-09-25, 19:33:40
Reply #13

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
minority (10%) of functions used spend majority of their time (60%) waiting for RAM. So in the end it is 60% from 10% which is only 6%. Give or take. The problem is more complex, but basically modern CPUs are not limited by the processing power, because it is extremely easy to just add extra adder or multiplicator to the CPU. What is limiting is waiting for data from RAM/caches, because memory just cannot keep up with 4GHz+ CPUs.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-09-26, 06:04:24
Reply #14

rampally

  • Active Users
  • **
  • Posts: 208
    • View Profile
so any solution for this keymaster????

Is DDR4 a  solution keymaster???
« Last Edit: 2014-09-27, 16:21:22 by rampally »

2014-09-26, 09:56:55
Reply #15

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
No, but if you would find one, I would be very happy, as would the rest of the world, since the CPU performance would rise about 4 times.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-09-26, 10:30:06
Reply #16

blank...

  • Active Users
  • **
  • Posts: 209
    • View Profile
No, but if you would find one, I would be very happy, as would the rest of the world, since the CPU performance would rise about 4 times.

And crush those GPU renderers to dust like they deserve? Keymaster, better start working on it :D

2014-09-26, 14:28:25
Reply #17

arqrenderz

  • Active Users
  • **
  • Posts: 997
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
So if i use on Corona a ddr3 memory 1666mhz  and the a memory of 2800mhz will i see A BIG change?

2014-09-26, 14:57:27
Reply #18

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
no, since they both have comparable latency. - the 2800MHz one will have higher timing numbers. 2800MHz is useless, if you still have to wait 50 cycles for addressing. Plus the entire path from the cache miss to interrupt to bus to ram to bus to cache takes much, much more.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-09-26, 15:29:06
Reply #19

Stan_But

  • Active Users
  • **
  • Posts: 526
    • View Profile
    • https://www.behance.net/archdizs
No Ondra. It will change
Maybe it affect while the geometry is loading in memory to render, but even  benchmark run faster with more fast memory

2014-09-26, 15:50:35
Reply #20

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
sure, but not by 60%
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)


2014-09-27, 07:03:40
Reply #22

borisquezadaa

  • Active Users
  • **
  • Posts: 614
    • View Profile
Where is the quantum computer whn needed.
What i do with Corona My Corona post of random stuff rendering
WARNING: English.dll still loading...

2014-09-27, 10:53:07
Reply #23

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Where is the quantum computer whn needed.
It would not help with rendering... at all.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-09-27, 17:12:01
Reply #24

rampally

  • Active Users
  • **
  • Posts: 208
    • View Profile
No, but if you would find one, I would be very happy, as would the rest of the world, since the CPU performance would rise about 4 times.

Is DDR4 a  solution keymaster???

2014-09-27, 17:20:21
Reply #25

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
no. Don't think about it as some problem that needs to be overcomed. There has to be something that ultimately limits the computing speed, right? ;)
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-09-28, 18:06:15
Reply #26

Juraj

  • Active Users
  • **
  • Posts: 4765
    • View Profile
    • studio website
That's pretty interesting to hear, I was always of opposite opinion as in most applications (outside of integrated GPU solutions like AMD Apu) the speed of memory made zero difference. My workstation has 2400MHz (just for sake of it), and older one 1600 running at 1333. Clocked to match performance (CPUs, 4930/3930k i7), there is again, zero difference in render times, gaming (2-3 FPS ?), or general computer usage.
Please follow my new Instagram for latest projects, tips&tricks, short video tutorials and free models
Behance  Probably best updated portfolio of my work
lysfaere.com Please check the new stuff!

2014-09-28, 19:01:10
Reply #27

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
this is because the relative performance of 2400MHz and 1600MHz RAM is equally bad compared to the CPU
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)