Is this script supposed to be compatible with i5-4590T (base 2GHZ, boost 3GHZ). I always thought my virtual machines where slower then when I was running Linux but I just thought that it was overhead. However I recently noticed that my CPU was running at only 2GHZ so that would also explain it.
With the script running (default settings) I still only go up to 2GHZ
admin@nas:~$ cat /proc/cpuinfo | grep MHz
cpu MHz : 2001.000
cpu MHz : 2001.000
cpu MHz : 2001.000
cpu MHz : 2001.000
admin@nas:~$ uptime
15:09:40 up 22 min, 2 users, load average: 2.47, 2.08, 1.74
admin@nas:~$ cat /proc/cpuinfo | grep MHz
cpu MHz : 2001.000
cpu MHz : 2001.000
cpu MHz : 2001.000
cpu MHz : 2001.000
admin@nas:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
2001000 130778
2000000 0
1900000 0
1800000 0
1700000 0
1600000 0
1500000 0
1400000 3738
1300000 0
1200000 0
1100000 0
1000000 0
900000 0
800000 0