How many cores/threads does Blender need for sculpting?

So I’m a user who does a lot of multitasking and when sculpting at very high resolutions Blender slows down a lot or freezes the PC when saving or loading textures. So I wen’t into the task manager and set the processor affinity of Blender to have less CPU power and it seemed to have made Blender run better than previously.