Massive loss of speed in new builds with Ambient Occlusion and Branched Path Tracing. #47362

Closed
opened 2016-02-08 13:32:56 +01:00 by Hans Nolte · 15 comments

Win 7 64
GTX 750TI

Old Build:
Hash:5af103f
14.01.2016
Branched Path Tracing: 01:13:90

New Build:
Hash: f77110e
08.02.2016
Branched Path Tracing: 01:41:69

Testfile BMW1M-MikePan_AO
http://www.pasteall.org/blend/40515

Win 7 64 GTX 750TI Old Build: Hash:5af103f 14.01.2016 Branched Path Tracing: 01:13:90 New Build: Hash: f77110e 08.02.2016 Branched Path Tracing: 01:41:69 Testfile BMW1M-MikePan_AO http://www.pasteall.org/blend/40515
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @ditos

Added subscriber: @ditos

Added subscriber: @Sergey

Added subscriber: @Sergey

Please always follow bug report guidelines and provide all the information requested in there and all remaining information which is needed to understand what you're doing, what's exact settings etc you're using. We can't always deduct such things and providing them in the original report will save time ;)

For example here the biggest question is whether it's CPU or GPU rendering?

Please always follow bug report guidelines and provide all the information requested in there and all remaining information which is needed to understand what you're doing, what's exact settings etc you're using. We can't always deduct such things and providing them in the original report will save time ;) For example here the biggest question is whether it's CPU or GPU rendering?
Author

Hi Sergey,

many thanks for the fast reply.

It's GPU-Rendering.

All settings can be found in the Testfile.

Hi Sergey, many thanks for the fast reply. It's GPU-Rendering. All settings can be found in the Testfile.
Sergey Sharybin self-assigned this 2016-02-08 14:18:22 +01:00

Ok, will do investigation later.

Ok, will do investigation later.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Likely the Experimental kernel removal.

Likely the Experimental kernel removal.

@ThomasDinges, Yes, hopefulyl just matter of tweaking some inline policies again for the branched path tracer (similar to what we did for the regular one) to ger rid of extra spill loads.

@ThomasDinges, Yes, hopefulyl just matter of tweaking some inline policies again for the branched path tracer (similar to what we did for the regular one) to ger rid of extra spill loads.

Added subscriber: @brecht

Added subscriber: @brecht

For what it's worth, I can see the speed loss with the official builds. But using CUDA toolkit 7.5 to build 2.76 and latest master, render time for both is roughly the same as the official 2.76 release.

For what it's worth, I can see the speed loss with the official builds. But using CUDA toolkit 7.5 to build 2.76 and latest master, render time for both is roughly the same as the official 2.76 release.

@brecht, i was looking into the issue and it's indeed just much-much higher register spills of the branched path tracing. Had a patch which brings spilling down a bit, but didn't find a chance to test it because we don't have sm_50 card here. Will try to reproduce the issue on sm_52 tho (time difference on my sm_20 card is quite low, few percent only).

Are you suggesting to switch to cuda toolkit 7.5? In my experience it was still noticeable slower on barcelona and classroom scenes.

Addition: measured the barcelona file again, it's 5% slower (comparing 2.76b official release with current master+toolkit-7.5),

@brecht, i was looking into the issue and it's indeed just much-much higher register spills of the branched path tracing. Had a patch which brings spilling down a bit, but didn't find a chance to test it because we don't have sm_50 card here. Will try to reproduce the issue on sm_52 tho (time difference on my sm_20 card is quite low, few percent only). Are you suggesting to switch to cuda toolkit 7.5? In my experience it was still noticeable slower on barcelona and classroom scenes. Addition: measured the barcelona file again, it's 5% slower (comparing 2.76b official release with current master+toolkit-7.5),

@brecht, on another hand, having 5% speed loss on an older card is better than 30% loss on a brand new cards. So perhaps it's easier to just update a toolkit.

@brecht, on another hand, having 5% speed loss on an older card is better than 30% loss on a brand new cards. So perhaps it's easier to just update a toolkit.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Ok, we've been doing benchmarks here in the studio, and also had help from the community in IRC. We didn't see speed loss more than 5% with a new toolkit which is kinda what we can accept, so we're going toolkit 7.5 for the official builds now. Dealing with that speed regression is easier than with that major one reported in this task anyway. Don't think we'll be able to address this issue before the 2.77 tho.

Linux and Windows builds will be ready soon. OSX will be done later.

Ok, we've been doing benchmarks here in the studio, and also had help from the community in IRC. We didn't see speed loss more than 5% with a new toolkit which is kinda what we can accept, so we're going toolkit 7.5 for the official builds now. Dealing with that speed regression is easier than with that major one reported in this task anyway. Don't think we'll be able to address this issue before the 2.77 tho. Linux and Windows builds will be ready soon. OSX will be done later.
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
4 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#47362
No description provided.