From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Discrepancy between reported readings from
Date: Mon, 25 Oct 2010 02:39:24 +0000 [thread overview]
Message-ID: <20101025023924.GA16230@ericsson.com> (raw)
In-Reply-To: <AANLkTik8hx=ej8V7ti_=izz0u+daOxxy5PmBjX0ZQv8W@mail.gmail.com>
On Sun, Oct 24, 2010 at 09:40:38PM -0400, Arun Raghavan wrote:
> Thanks again for the prompt response. One more question regarding
> coretemp: any idea how I can probe the sensor in my own source code?
> I'm hoping to be able to probe a few times a second, while the
> lm-sensors usage guide says max. probing frequency should be at most
> 0.3-0.5 Hz. I'm trying to measure thermal response and hence
> transients. Temperature rises rather too rapidly for this once every
> 2-3 seconds restriction; there's no intermediate reading between idle
> temperature (~28C) and loaded (~55C). Even when I overclock to
> deliberately induce more dissipation, I don't get an intermediate
> reading between the same base temperature and 70C!
> Please let me know if the 2-3s resolution is a limitation of the
> sensors API or the kernel module itself. Any tips on how I might be
> able to measure with greater frequency (apart from hooking up an
> external probe and thermometer)?
>
Please don't top-post.
Technically, you can keep reading the sysfs attribute file in a continuous
loop without delay. However, the coretemp driver updates its readings only
once per second. You can poll faster, of course, but it won't help much.
Just wondering - did you _try_ probing it faster than the guide says ?
If no, why not ? After all, it is a usage guide, not a law.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2010-10-25 2:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 22:56 [lm-sensors] Discrepancy between reported readings from different Arun Raghavan
2010-10-23 13:02 ` [lm-sensors] Discrepancy between reported readings from Luca Tettamanti
2010-10-24 21:27 ` Arun Raghavan
2010-10-24 21:42 ` Luca Tettamanti
2010-10-25 1:40 ` Arun Raghavan
2010-10-25 2:39 ` Guenter Roeck [this message]
2010-10-25 7:16 ` Jean Delvare
2010-10-25 11:25 ` Guenter Roeck
2010-10-26 13:43 ` Arun Raghavan
2010-10-26 14:26 ` Jean Delvare
2010-11-09 13:51 ` Jean Delvare
2010-11-14 15:38 ` Jean Delvare
2010-11-15 3:51 ` Arun Raghavan
2010-11-25 13:17 ` Arun Raghavan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101025023924.GA16230@ericsson.com \
--to=guenter.roeck@ericsson.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.