Cycles - Fixed Threads Cap UX inconsistency #80080

Closed
opened 2020-08-24 16:24:48 +02:00 by Andres Stephens · 7 comments
Contributor

Issue

In Blender 2.83, we had fixed thread limits increase beyond the core count, and if your PC was multi-threaded you could take advantage of that.

But now in 2.91+ builds, this thread limit is now is limited to CPU cores, and not threads.

Example:

  1. Cycles CPU mode: you have an i7 with 8 cores, but then if you increase the thread count to 12, 12 tiles would render in Blender 2.83. The thread limits are working as expected.
  2. Cycles CPU mode: in Blender 2.9+now with the same hardware, the thread count is capped at 8 threads = 1 thread per core. Even if you add more threads, it will still cap to 8 threads.

The "fixed threads" naming is misleading, or now it is limited to cores and/or broken.
Image

Ultimately, this adds a performance hit or cap on multi-threaded CPU's. It is also a misleading UX as what you want to take advantage of more threads, you wouldn't be able to even if the number extends beyond your core count.

Task

  1. Check and see why older versions of Blender works with better multithreading, but 2.9+ is now limited to CPU cores instead of threads.
  2. Rename "Threads" and Tooltip information to be about "Cores" instead of "Threads" to reflect the hardware limits of 2.9+ versions of the source.
  3. If there is a feature inconsistency with the UX and indeed it should be about threads that can instance more than physical cores per multi-threaded CPU architecture, then remove the core count cap to truly reflect multi-threading.

System Information
Operating system: WIndows 10, i7 CPU
Graphics card: Nvidia GTX 1060

Blender Version
Broken: (2.91 Alpha, 21fec95139)
Worked: (2.83.4)

Short description of error
Fixed Threads is limited to physical cores instead of multi-threaded virtual cores.

Exact steps for others to reproduce the error

  1. Change render setting to Cycles
  2. Go to Performance panel and choose "fixed" Threads
  3. Set Threads to a higher number than physical CPU cores (eg, +4 or +8 from CPU cores).
  4. Count tiles

5.a - in 2.83 builds, render thread tiles count will extend beyond physical CPU cores, reflecting the fixed threads number.
5.b - in 2.90+ build, render thread count will cap at physical CPU cores, even if the fixed thread number is more.

# Issue In Blender 2.83, we had fixed thread limits increase beyond the core count, and if your PC was multi-threaded you could take advantage of that. But now in 2.91+ builds, this thread limit is now is limited to CPU cores, and not threads. Example: 1. Cycles CPU mode: you have an i7 with 8 cores, but then if you increase the thread count to 12, 12 tiles would render in Blender 2.83. The thread limits are working as expected. 2. Cycles CPU mode: in Blender 2.9+now with the same hardware, the thread count is capped at 8 threads = 1 thread per core. Even if you add more threads, it will still cap to 8 threads. The "fixed threads" naming is misleading, or now it is limited to cores and/or broken. [Image](https://user-images.githubusercontent.com/35357409/90912219-d7ea8e80-e39f-11ea-81a6-fe355da6dbfc.png) Ultimately, this adds a performance hit or cap on multi-threaded CPU's. It is also a misleading UX as what you want to take advantage of more threads, you wouldn't be able to even if the number extends beyond your core count. ## Task 1. Check and see why older versions of Blender works with better multithreading, but 2.9+ is now limited to CPU cores instead of threads. 2. Rename "Threads" and Tooltip information to be about "Cores" instead of "Threads" to reflect the hardware limits of 2.9+ versions of the source. 3. If there is a feature inconsistency with the UX and indeed it should be about threads that can instance more than physical cores per multi-threaded CPU architecture, then remove the core count cap to truly reflect multi-threading. **System Information** Operating system: WIndows 10, i7 CPU Graphics card: Nvidia GTX 1060 **Blender Version** Broken: (2.91 Alpha, 21fec9513969) Worked: (2.83.4) **Short description of error** Fixed Threads is limited to physical cores instead of multi-threaded virtual cores. **Exact steps for others to reproduce the error** 1. Change render setting to Cycles 2. Go to Performance panel and choose "fixed" Threads 3. Set Threads to a higher number than physical CPU cores (eg, +4 or +8 from CPU cores). 4. Count tiles 5.a - in 2.83 builds, render thread tiles count will extend beyond physical CPU cores, reflecting the fixed threads number. 5.b - in 2.90+ build, render thread count will cap at physical CPU cores, even if the fixed thread number is more.
Author
Contributor

Added subscriber: @AndresStephens

Added subscriber: @AndresStephens

Added subscriber: @bent

Added subscriber: @bent

Added subscribers: @brecht, @iss

Added subscribers: @brecht, @iss

I can't confirm this but I would blame e50f1ddc65.

@AndresStephens can you provide exact CPU model?

@brecht any idea what can be an issue here?

I can't confirm this but I would blame e50f1ddc65. @AndresStephens can you provide exact CPU model? @brecht any idea what can be an issue here?

This issue was referenced by bd678918ae

This issue was referenced by bd678918aefc58f1a9c0c807755010b7282e1be9

I'll improve the tooltip, but other than that I don't think there is anything to be fixed here. This feature does not exist to increase the number of threads beyond the number of cores (since that will generally not performance, but rather make it worse). It's there to use a lower the number of threads, to free up the CPU for other tasks.

I'll improve the tooltip, but other than that I don't think there is anything to be fixed here. This feature does not exist to increase the number of threads beyond the number of cores (since that will generally not performance, but rather make it worse). It's there to use a lower the number of threads, to free up the CPU for other tasks.

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

Changed status from 'Needs Triage' to: 'Resolved'
Brecht Van Lommel self-assigned this 2020-08-26 19:29:36 +02: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
5 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#80080
No description provided.