Cycles renders SSS is noticeably slower in 3.4 than in 3.3 with multiple GPUs #103023

Open
opened 2022-12-08 12:54:40 +01:00 by Rincewind · 17 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: 2x NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 526.98 (SLI)

Blender Version
Broken: version: 3.4.0, branch: blender-v3.4-release, commit date: 2022-12-06 18:46, hash: a95bf1ac01
Worked: 3.3

Short description of error
Cycles render images with SSS noticeably slower in 3.4 than in 3.3

Exact steps for others to reproduce the error
I noticed that some of my scenes render in 3.4 noticeably slower than in 3.3.
After some analysis, I figured out that only images with SSS shaders are affected.

I created a simplified test scene, this scene takes on my computer in Blender 3.3 4:58 min and in Blender 3.4 it's 6:10 min.

If SSS is disabled, the test file renders equal fast in 3.3 and 3.4.

Probably this change is unintended and might be a bug.

speed test.blend

Test render 3.4 (OptiX) 6:13 min:
slow down 3.4 (6_13 min).png

Test render 3.3 (OptiX) 5:12min:
slow down 3.3 (5_12 min).png

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: 2x NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 526.98 (SLI) **Blender Version** Broken: version: 3.4.0, branch: blender-v3.4-release, commit date: 2022-12-06 18:46, hash: `a95bf1ac01` Worked: 3.3 **Short description of error** Cycles render images with SSS noticeably slower in 3.4 than in 3.3 **Exact steps for others to reproduce the error** I noticed that some of my scenes render in 3.4 noticeably slower than in 3.3. After some analysis, I figured out that only images with SSS shaders are affected. I created a simplified test scene, this scene takes on my computer in Blender 3.3 **4:58** min and in Blender 3.4 it's **6:10** min. If SSS is disabled, the test file renders equal fast in 3.3 and 3.4. Probably this change is unintended and might be a bug. [speed test.blend](https://archive.blender.org/developer/F14044690/speed_test.blend) Test render 3.4 (OptiX) 6:13 min: ![slow down 3.4 (6_13 min).png](https://archive.blender.org/developer/F14044716/slow_down_3.4__6_13_min_.png) Test render 3.3 (OptiX) 5:12min: ![slow down 3.3 (5_12 min).png](https://archive.blender.org/developer/F14044723/slow_down_3.3__5_12_min_.png)
Author

Added subscriber: @Rincewind3D-1

Added subscriber: @Rincewind3D-1
Rincewind changed title from Cycles renders SSS is noticeably slower in 3.4 then in 3.3 to Cycles renders SSS is noticeably slower in 3.4 than in 3.3 2022-12-08 12:55:43 +01:00
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Haven't tested yet, but do both version produce the exact same render, or are there differences?

Haven't tested yet, but do both version produce the exact same render, or are there differences?
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I can't reproduce the slow down with CPU rendering. Does this happen with GPUs only in your testing?

I can't reproduce the slow down with CPU rendering. Does this happen with GPUs only in your testing?
Author

I tested it only with GPUs. I have 2x 2080Ti.

Asked another artist I know with also 2x 2080Ti and he could reproduce the same slowndown.

I tested it only with GPUs. I have 2x 2080Ti. Asked another artist I know with also 2x 2080Ti and he could reproduce the same slowndown.
Author

In #103023#1456751, @OmarEmaraDev wrote:
Haven't tested yet, but do both versions produce the exact same render, or are there differences?

I added test renders for 3.4 and 3.3. Both look the same.

> In #103023#1456751, @OmarEmaraDev wrote: > Haven't tested yet, but do both versions produce the exact same render, or are there differences? I added test renders for 3.4 and 3.3. Both look the same.
Member

But can you test if the same slow down occur with CPU only or using a single GPU? I am trying to narrow down the hardware configuration where the slowdown happens.

But can you test if the same slow down occur with CPU only or using a single GPU? I am trying to narrow down the hardware configuration where the slowdown happens.
Author

I just tested with CPU.

Therefore I reduced the Max samples to 512 and the resolution from 300% to 100%.

Results CPU:

3.4 5:16 min
3.3 5:00 min

Not sure what this means. This could be still in natural fluctuations.

I just tested with CPU. Therefore I reduced the Max samples to 512 and the resolution from 300% to 100%. Results CPU: 3.4 **5:16 min** 3.3 **5:00 min** Not sure what this means. This could be still in natural fluctuations.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

I can detect a small difference on CPU, so I will leave this to someone with a GPU to triage.

I can detect a small difference on CPU, so I will leave this to someone with a GPU to triage.
Author

I just did a 1x GPU test (2080Ti).

Results are

3.4 10:13 min
3.3 10:51 min

So, I guess it's a multi GPU issue with SSS.

I just did a 1x GPU test (2080Ti). Results are 3.4 **10:13 min** 3.3 **10:51 min** So, I guess it's a multi GPU issue with SSS.
Omar Emara changed title from Cycles renders SSS is noticeably slower in 3.4 than in 3.3 to Cycles renders SSS is noticeably slower in 3.4 than in 3.3 with multiple GPUs 2022-12-08 14:15:21 +01:00
Author

Added subscriber: @pmoursnv

Added subscriber: @pmoursnv
Author

Maybe @pmoursnv can take a look?

Maybe @pmoursnv can take a look?

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can notice performance loss with CPU+GPU:

3.3 10:04 min
3.4 10:28 min

It may take a while to bisect.

I'm confirming for now.


System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94

I can notice performance loss with CPU+GPU: |3.3|10:04 min | -- | -- | |3.4|10:28 min It may take a while to bisect. I'm confirming for now. --- **System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:04:28 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#103023
No description provided.