I have an Intel Core i5-2520M CPU in my laptop which has two physical cores and hyperthreads, resulting in four logical cores. When looking at /proc/cpuinfo
, I see four different clock speeds:
$ grep MHz /proc/cpuinfo
cpu MHz : 1124.114
cpu MHz : 799.865
cpu MHz : 948.486
cpu MHz : 1248.168
I do not really know how the hyperthreads are labeled on this machine. From HPC systems I would think that core 1 and 3 correspond to the first physical core.
So how come the clock speeds turn out do be different for all four logical cores? I would think that there can only be one clock speed per physical core.
lscpu
I thought unix.SE was legit), but there is so much overlap that it becomes hard at times. – Martin Ueding Sep 01 '17 at 20:56