This may be due to your CPU being set to power saving mode.
Please turn off CPU power saving (C-State) setting(s) in your BIOS.
Procedures for different systems may vary.
System used: GIGABYTE Z170X-DESIGNARE/GIGABYTE GA-Z170X-Gaming 5 /GIGABYTE GA-Z170X-Gaming 7
Steps: Reboot your PC and hold Delete (DEL) key to enter BIOS.
Go to M.I.T. > Advanced Frequency Settings > Advanced CPU Core Settings
> C3 State Support > Disabled
> C6/C7 State Support > Disabled
> C8 State Support > Disabled
> Save and Exit Setup