Optimization issue: The Repeat Zone can slow down and fully Freeze one's entire machine with certain node setups #115472

Closed
opened 2023-11-27 12:58:00 +01:00 by Aza · 5 comments

System Information

Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 511.65
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz 4.20 GHz

Blender Version

Broken: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash: d0dd92834a08
Worked: (newest version of Blender that worked as expected)

Short description of error

When using the Repeat Zone, if the user processes enough nodes in a single repeat zone, there is a high chance that Blender will not crash and instead monopolize the entire system's resources to attempt and finish the calculation. Causing the computer to potentially freeze, or even crash.

When this happens, all other softwares will start to malfunction and run out of memory, causing things like Audio to cut out or glitch, and overall "frame rate" of the machine to slow down.


I am aware this is probably very machine-dependent, but it is still a big issue, ideally users should not have to walk on eggs when trying to use such features, as they wonder when it is that their machine will crack down because of a wrong manipulation.

I have linked a reproduction file, which caused my Computer to become completely frozen and all other softwares to halt entirely while Blender was trying to finish the node calculation. Forcing me to restart it entirely, as my controls were completely unusable by then.

If able to execute fully, the file linked should create a blocky cave similar to the ones seen in games like Minecraft, otherwise your CPU will just suffer

Exact steps for others to reproduce the error

With the file linked:

  • Select the "Cube" mesh object
  • Go to the modifier stack
  • Enable the "Create Culled Cubes" geometry nodes modifier
  • Pray for your machine to be able to handle the load
## **System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 511.65 CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz 4.20 GHz ## **Blender Version** Broken: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash: `d0dd92834a08` Worked: (newest version of Blender that worked as expected) ## **Short description of error** When using the Repeat Zone, if the user processes enough nodes in a single repeat zone, there is a high chance that Blender will not crash and instead monopolize the entire system's resources to attempt and finish the calculation. Causing the computer to potentially freeze, or even crash. When this happens, all other softwares will start to malfunction and run out of memory, causing things like Audio to cut out or glitch, and overall "frame rate" of the machine to slow down. ------- I am aware this is probably very machine-dependent, but it is still a big issue, *ideally* users should not have to walk on eggs when trying to use such features, as they wonder when it is that their machine will crack down because of a wrong manipulation. I have linked a reproduction file, which caused my Computer to become completely frozen and all other softwares to halt entirely while Blender was trying to finish the node calculation. Forcing me to restart it entirely, as my controls were completely unusable by then. If able to execute fully, the file linked should create a blocky cave similar to the ones seen in games like Minecraft, otherwise your CPU will just suffer ## **Exact steps for others to reproduce the error** With the file linked: - Select the "Cube" mesh object - Go to the modifier stack - Enable the "Create Culled Cubes" geometry nodes modifier - Pray for your machine to be able to handle the load
Aza added the
Status
Needs Triage
Severity
Normal
Type
Report
labels 2023-11-27 12:58:00 +01:00

Thanks for the report. While we do continue to work on improving performance in general, potential performance improvements are not handled as bug reports.

To improve performance, consider using less complex geometry, simpler shaders and smaller textures.

This specific issues is related with the fact that geometry nodes in Repeat zone is executed parallelly if that is possible. So, in your file with inverted tree-like node graph (a lot of source and one result in a root), this lead a lot of parallel geometry processing threads for multiple iterations at the same time.

Thanks for the report. While we do continue to work on improving performance in general, potential performance improvements are not handled as bug reports. To improve performance, consider using less complex geometry, simpler shaders and smaller textures. This specific issues is related with the fact that geometry nodes in Repeat zone is executed parallelly if that is possible. So, in your file with inverted tree-like node graph (a lot of source and one result in a root), this lead a lot of parallel geometry processing threads for multiple iterations at the same time.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-11-27 13:08:26 +01:00
Iliya Katushenock added the
Interest
Geometry Nodes
Interest
Nodes & Physics
labels 2023-11-27 13:09:18 +01:00
Author

That's a bummer :(

I'd expect there to at least be a warning when such things happen, most people who use Blender don't have a programmer background, and won't understand why their node setup is being so slow.

That's a bummer :( I'd expect there to at least be a warning when such things happen, most people who use Blender don't have a programmer background, and won't understand why their node setup is being so slow.

The problem is not that it is slow, but that your size of data requires the use of a swap disk due to not enought ram.

The problem is not that it is slow, but that your size of data requires the use of a swap disk due to not enought ram.
Author

welp, I don't have that, and I now guess that 32GB of RAM isn't enough for what I'm doing.
Guess I'll revise my nodes...

welp, I don't have that, and I now guess that 32GB of RAM isn't enough for what I'm doing. Guess I'll revise my nodes...

It's can be good if something is can be do .... It's really annoying to works with non optimized Nodes and lost everythings....

It's can be good if something is can be do .... It's really annoying to works with non optimized Nodes and lost everythings....
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#115472
No description provided.