Author Topic: dual CPU issues?  (Read 8942 times)

2021-07-31, 22:11:32

doillo

  • Active Users
  • **
  • Posts: 16
    • View Profile
Hello,

I answer a C4D post cos I have similar issue than an user posted, but I have not noticed the post was in c4d forum, and my issue is at 3dsmax.
Im going to open new threat here:

I have 2 computers one with Asus z10pe-d16 ws motherboard with 2x e5-2696v4 (88 threats). And my other computer is a e5-2678v3 (24 threats)

At several benchmarks, the dual system is more than 3 times powerfull than the single cpu computer (cinebenchR15, cinebenchR20, cinebenchR23, coronabenchmark 1.3...)

But when I'm rendering with corona DR (3dsmax 2021.3 and corona 6.2), dual system makes only 1.1~1.2 times more passes than the single cpu system... How it can be possible?
At first time, I though I had LAN issues, but doesn't matter wich computer is slaving or is the main. The result is the same. Also, if I put the same scene at the same time in each computer to render. Dual system is only 1.1~1.2 faster than the single one... So, what is going on?!

When dual system is rendering, 88 threats are full load (100%) all the time without any drop... So I guess corona is not handling properly dual CPUs computers. I guess, corona is rendering with both CPUs in "PARALLEL" instead of in "SERIAL" (adding passes). Cos something is missing or failing at corona programing code... And that makes sense why if I deactivate one cpu in the dual system, the performance rise a bit... Cos again, is just a guess, I think both cpus are fighting to render the same pass at same time, reading the same info at RAM at same time. But at the end, only 1 CPU passes are counting...

I made some test with vray also, and results are more or less expected (dual system renders 3 times more buckets than single cpu system)

So, anyone can send some light to this problem?
« Last Edit: 2021-08-02, 00:12:44 by doillo »

2021-08-02, 13:33:19
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5434
    • View Profile
Ooops you were saying it is NOT C4D
Tom Grimes | chaos-corona.com
Product Manager | contact us

2021-08-02, 14:45:51
Reply #2

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
What scores are your computers getting in the Corona Benchmark? https://corona-renderer.com/benchmark
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2021-08-02, 19:32:13
Reply #3

doillo

  • Active Users
  • **
  • Posts: 16
    • View Profile
What scores are your computers getting in the Corona Benchmark? https://corona-renderer.com/benchmark

Hi, dual CPU system score are VERY far from the single CPU system:

2x E5-2696v4: 32 seconds

1x E5-5678v3: 1 minute and 51 seconds

That's why I am wondering something is wrong here....

« Last Edit: 2021-08-03, 01:31:44 by doillo »

2021-08-03, 02:38:33
Reply #4

doillo

  • Active Users
  • **
  • Posts: 16
    • View Profile
I am doing a fresh format and reinstalling everything on again... Let's see tomorrow doing test how it is going on.

Meanwhile, I have done Vray benchmark too, and dual system is clearly more than 3 times faster and powerfull than the single one... I don't know why this doesn't translate to 3 times faster renderings in corona and 3dsmax (or at least 2 times faster, but almost the same performance is strange).








2021-08-03, 13:59:14
Reply #5

doillo

  • Active Users
  • **
  • Posts: 16
    • View Profile
Hi again,

More or less same results with new fresh win10 installed... Seeking into the c4d forum, where someone said textures is making this issue I made this test:
Main computer (where render was launched) is the single CPU one, and the DR computer is the dual CPU one.



I made a simple scene: Teapot in a room with material/textures.

Render time: 16 minutes and 36 seconds
Single cpu computer made 95 passes
Dual cpu computer made 121 passes
Almost same performnace: dual cpu computer made only ~1.3 times more passes than single cpu computer



Same scene, but overwriting material. No maps, no textures, only simple white coronamaterial.

Render time: 3 minutes and 11 seconds
Single cpu computer made 49passes
Dual cpu computer made 159 passes
Expected difference in performance: dual cpu computer made ~3 times more passes than single cpu computer


I will make more test, but something is wrong at corona handling textures with dual CPU system...


« Last Edit: 2021-08-03, 14:06:10 by doillo »

2021-08-03, 15:02:12
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Can you share your example scene?

It looks like your Corona Benchmark results are correct.

So the issue might be in:
- newer Corona versions
- 3ds Max
- specific scene
- plugins
-...

Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2021-08-03, 16:10:22
Reply #7

doillo

  • Active Users
  • **
  • Posts: 16
    • View Profile
Can you share your example scene?
Sure, tell me an e-mail and I will send to you

It looks like your Corona Benchmark results are correct.
Do you mean the coronabenchmark 1.3 or the test I did?

- newer Corona versions
Yes, I am going to try with the new corona 7 version, lets see...

- 3ds Max
I can try others max version... Its a pain, but I can try.

- specific scene
Yes, I will make more test with others scenes.

- plugins
I have only max and corona installed... So I don't think is any plugin doing something.


For me would be interesting if others dual CPU system users can make some test... but I know it going to be difficult.




2021-08-03, 16:15:13
Reply #8

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Can you share your example scene?
Sure, tell me an e-mail and I will send to you
The uploader is in my signature, here is the link: https://corona-renderer.com/upload
After the upload, please let me know what was your file name and which upload method you used.

Quote
It looks like your Corona Benchmark results are correct.
Do you mean the coronabenchmark 1.3 or the test I did?
I meant the Corona 1.3 benchmark (this: https://corona-renderer.com/benchmark ).

Quote
For me would be interesting if others dual CPU system users can make some test... but I know it going to be difficult.
We have some dual CPU systems in the office, we can do some testing too.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2021-08-03, 22:15:25
Reply #9

doillo

  • Active Users
  • **
  • Posts: 16
    • View Profile
Quote
The uploader is in my signature, here is the link: https://corona-renderer.com/upload
After the upload, please let me know what was your file name and which upload method you used.
Hi again, I sent the archive scene (corona_test_01.zip)

Just to be clear, is not about DR. I just mention DR cos is an easy way to compare 2 computers.

I made another test with the same scene (resolution: 1280x720p ; noise threshold 1.5%). Rendering only with each computer in local and I have this results:


Single cpu computer (e5-2678v3)
   OverWrited with white material(without textures):
  • render time: 11 min and 57 secs
  • rays/s total: 8.33M
  Original with textures at materials
  • render time: 35 min and 01 secs
  • rays/s total: 6.60M
We drop to 0.79 times in rays/s and 2.93 times slower with textures.

Dual cpu computer (2x e5-2696v4)
   OverWrited with white material(without textures):
  • render time: 3 min and 30 secs
  • rays/s total: 27.40M
  Original with textures at materials
  • render time: 28 min and 52 secs
  • rays/s total: 8.20M
We drop to 0.3 times in rays/s and 8.25 times slower with textures.



The drop in dual system is SO heavy, and I am almost certain, that drop is because an entire CPU of two is doing redundant work.
If you make simple calculations, the dual system should drop from 27.4M Rays/s to ~20.0M Rays/s and should take ~10 minutes with textures...

2021-08-04, 10:44:57
Reply #10

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
I can't find the file corona_test_01.zip. Which upload method did you use? Dropbox or classic?
Can you try uploading again or use some other uploader like Wetransfer and send me the link via pm?

Thanks
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2021-08-04, 16:15:25
Reply #11

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
Got the scene. Logged for further testing.

(Report ID=CRMAX-866)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2021-08-05, 13:47:18
Reply #12

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

I would suggest using a time or pass limit for testing performance, unfortunately the noise threshold is not a good benchmark for testing the performance.

We will also investigate here :)

Thanks,

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-08-05, 16:19:39
Reply #13

doillo

  • Active Users
  • **
  • Posts: 16
    • View Profile
Hi,

I would suggest using a time or pass limit for testing performance, unfortunately the noise threshold is not a good benchmark for testing the performance.

Yes, I made extra tests with time timit instead of noise limit. And I sent it to maru.

Also, I made a video showing the performance drop suffered by my dual system when different maps are applied into a material... It is like only coronabitmap is allowed to works fine in a dual system. When you apply a simple output or colorcorrection between the coronabitmap and the material, performance drops so heavy. It drops from ~30M rays/s to 8~10M rays/s... (when at single CPU system, the drop is from 8M rays/s to 6.5M rays/s)


« Last Edit: 2021-08-05, 20:32:16 by doillo »

2021-08-12, 09:46:29
Reply #14

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
@Doillo - unfortunately so far we were no able to reproduce this issue, even on a dual CPU machine. We are getting the expected performance.

Can you please:
- Make sure that you have all Windows Updates installed (you may need to restart your computer multiple times and check for new updates again, then repeat)
- Make sure that you have all the drivers up to date - especially the "system" drivers such as the chipset driver
- Update your BIOS to the newest available version
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us