Skip to contentSkip to conversation

weird oscillation in temp reading

lm-sensors Simon Chen 2 participants 3 messages May 5, 2009 – May 23, 2009

lore
Share & tools
lore

Simon Chen

author
#0 lore raw

Hi all,

I am using lm-sensor on a dual-quad-core system with two Xeon 5460. I am running a periodic workload on one of the cores: 400ms computation and 600ms idle.

From the thermal side, the temp reading is shown in the figure attached. Notice that there is a very obvious oscillation in the temperature reading on that core. The oscillating period is around 20-30 seconds, which is definitely not sub-second.

I've no idea what's going on here. Can anyone share some thoughts?

Thanks a lot!
-Simon

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Simon,

Quoted 10 lines · Simon Chen

I am using lm-sensor on a dual-quad-core system with two Xeon 5460. I am running a periodic workload on one of the cores: 400ms computation and 600ms idle.

Quoted 1 line

From the thermal side, the temp reading is shown in the figure

attached. Notice that there is a very obvious oscillation in the temperature reading on that core. The oscillating period is around 20-30 seconds, which is definitely not sub-second.

I've no idea what's going on here. Can anyone share some thoughts?

I can't remember anything like that before. But you didn't provide enough data for me to comment on it. How do you measure the temperature? Can you reproduce the behavior on a different core? Does the temperature reading oscillation depend on the period of the workload? Does it depend on the duty cycle of the workload? Do you have any form of frequency scaling in effect on these CPUs?

Signature · 7 lines
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
author
#2 lore raw
In reply to Simon Chen

Hi Jean,

Sorry for the late reply... I'm out of town for a while.

Yes, this phenomenon occurs for all eight cores on both Xeon processors.

The temperature reading is dumped every second by running "sensors" of lm-sensors. My lm-sensor is configured to use "coretemp" kernel module to get temperature readings.

My workload is a repetition of heavy computation for 400ms and then idle for 600ms. So, overall the CPU utilization is 40%. The period of oscillation showing in the graph is on the order of 10seconds, definitely not because of my workload.

Thanks.
-Simon

Quoted 21 lines · Jean Delvare

Hi Simon,

Quoted 10 lines · Simon Chen

I am using lm-sensor on a dual-quad-core system with two Xeon 5460. I am running a periodic workload on one of the cores: 400ms computation and 600ms idle.

Quoted 1 line

From the thermal side, the temp reading is shown in the figure

attached. Notice that there is a very obvious oscillation in the temperature reading on that core. The oscillating period is around 20-30 seconds, which is definitely not sub-second.

I've no idea what's going on here. Can anyone share some thoughts?

I can't remember anything like that before. But you didn't provide enough data for me to comment on it. How do you measure the temperature? Can you reproduce the behavior on a different core? Does the temperature reading oscillation depend on the period of the workload? Does it depend on the duty cycle of the workload? Do you have any form of frequency scaling in effect on these CPUs?

Quoted 4 lines

--
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors