Multithreaded Shader Compilation blender 4.2

Hi

have you seen the new feature in Blender 4.2?

Multithreaded Shader Compilation Is the compilation processed by the processor or by the video card?

Does this new Multithreaded Shader Compilation feature make compilation much faster?

Is there any forecast for the shader editor to have more features/nodes for EEVEE in the future?

Thanks

1 the processor, the maximum number of threads depends on the CPU threads. You can set more but it will be clamped to the actual number of threads the CPU can do.

2 Yes it is faster.

3 of course, both Eevee and Cycles are ongoing projects.

How can I set all processor threads to compile materials in EEVEE in Blender 4.2?

Is there any problem using all of them?

Thanks

How many threads does your CPU have?

I have not found any problems using all of them ( i7 = max 8 threads)

AMD Ryzen 5 3600XT 6-Core Processor 3.79 GHz

I believe there are 6

Another question:

How do I calculate the maximum speed of my processor?
3.79 GHz multiplied by 6?

Thanks

Works much faster for me
i5 12500 (6C/12T), I set it to 6 to be safe for now, it’s really nice :ok_hand:

Edit / Preferences

It is not that simple the speed is the same for each thread but not all processes use multi-threading, also for multi-threading the task is broken up into pieces and put together afterwards the efficiency of that will depend on the code of the application and if the task can be evenly split.

In theory 3.79 * 6 (+ a little time to break up tasks, feed them into threads and put the result back together), in practice it depends on the task and if the process can use multi-threading.

Can you be more clear on this question:
Is my number of threads 6?

Is it true that increasing Blender’s priority to maximum in the task manager improves Blender’s performance?

Thanks

actually it has 12 threads, (6 physical cores) so you can probably set the threads to 12. If you set a higher number it will clamp at the maximum anyway.

AMD Ryzen 5 3600XT specifications

General information
Type CPU / Microprocessor
The number of CPU cores 6
The number of threads 12
Floating Point Unit Integrated

My i7 has 4 phisical cores (8 threads)

No idea, it is better to try not to use other programs (eg browser) at the same time if you are that worried. I doubt that increasing Blender’s priority makes a noticeable difference but I do not know.

aYup.
Real-time is not stable, especially on pathetic OS like Windows… I would only recommend it if you want to try it or when you are benchmarking stuff. Try settings real-time when rendering stuff, otherwise stay at normal or High priority

This part may not make much sense. :thinking:
In general tasks, you don’t need to keep the CPU at 100%, and rendering doesn’t use the CPU, or if it does, it uses 100%, so it probably won’t help much with performance.

However, it might help if you have a bunch of other programs running in the background.

Do you have any suggestions for a tutorial on how to configure the video so that the entire performance of the machine is available for Blender 4.2?

Thanks

I recommend against giving any application on your computer 100% of anything.

The operating system also needs a little bit of room to breathe…

2 Likes

In Unreal Engine there is a procedure that creates a Master material that has already been compiled.
and all materials in the scene are instances of this material, which makes it possible to not have to compile the material every time an adjustment is made.

Is it possible to do this in Blender?

Thanks

No, it is not.