ID 591072 - "Persistent Mapping allowed" enabled can significantly slow baking times.

Follow

Problem summary
"Persistent Mapping allowed" can significantly slow baking times.
 
Customer reported version
Mari.6.0v3
 
Customer reported platform
centOS 7
 
Steps to reproduce
 
1) Launch Mari.

2) Go to Edit > Preferences > GPU > General > Persistent Mapping Allowed and make sure Persistent Mapping Allowed is on.

3) Go to Help > Create Example Material Design Project
 
4) Open the Material Design project.
 
5) Select the last Merge node (named Sand (Merge) ) before the Principled BRDF, and hit [ Tab ] and create a Multi-Channel Bake Point node. It will automatically join the node flow if you've selected the Merge node beforehand.
 
6) Double click on the Multi-Channel Bake Point node, get a timer out and select Bake Active.
 
Expected behaviour
The time to bake should be reduced from the normal (i.e. without Persistent Mapping Allowed turned on). Normal baking time is around 30 seconds.
 
Actual behaviour
The time to bake can be significantly increased.
 
Workaround
Unknown.
 
Reproduced by support
 
This bug has been reproduced in:
Mari 7.0v2 - Windows 10 - Windows 11 - Rocky 9. Mari 7.0v2 was tested on a number of different systems:

CPU GPU OS Time Taken (mins,secs)
Intel i7 NVIDIA RTX A2000 Windows 11 (2m59s)
AMD Threadripper PRO NVIDIA RTX A2000 Windows 11 (1m17s)
Intel Xeon E5 2x NVIDIA Quadro M4000  Rocky 9 (2m08s)
Intel Xeon E5 NVIDIA Quadro K5200 Windows 10 (3m10s)
Intel Xeon E5 2x NVIDIA 1080ti Windows 10 (1m25s)
Mari 5.0v1 - Windows 11 - CentOS 7

Earliest version tested
Mari 5.0v1 - This feature did not exist before this version
 

    We're sorry to hear that

    Please tell us why