The title pretty much sums it up but I need a way to disable Turboboost and Hyper-Threading. I am currently on macOS Catalina and I am able to edit system files because I have SIP disabled. I am ok with the solution not being permanent (meaning that it resets upon reboot). I have used https://discussions.apple.com/thread/6262465 as a reference and it didn't work for me. Most of these solutions on the internet have stopped working after OS X Yosemite.
Please only answer this question if you will be providing a solution, not telling me to leave hyper-threading on.
By the way, this question is not a duplicate because most other question only ask how to do it on OS X Yosemite and below when Apple had tools to do this.
Best Answer
I found a way to do this. It does result in a 40% performance drop.
Apple has documentation that disables Hyper-Threading with the following: Boot into macOS Recovery In Terminal:
nvram boot-args="cwae=2"
andnvram SMTDisable=%01
Click and Restart.To revert this, reset the NVRAM.
Here is the official documentation: https://support.apple.com/en-gb/HT210108