Here is a very quick tip on how to set your threads in Nuke.
Type X and this window comes up:
Type this:
Hit enter and you'll see this:
How ever many cores your system has, double that and that is the max threads you should enter. I've read that if you have a 12-core system you shouldn't set the max threads to 24. Some people say it actually slows Nuke down.