From: "Michael H. Warfield" <mhw@wittsend.com>
To: "Albert D. Cahalan" <acahalan@cs.uml.edu>
Cc: Chris Boot <bootc@worldnet.fr>, David Rees <dbr@greenhydrant.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: temperature standard - global config option?
Date: Thu, 7 Jun 2001 20:54:47 -0400 [thread overview]
Message-ID: <20010607205447.A29121@alcove.wittsend.com> (raw)
In-Reply-To: <B745C09D.F8BF%bootc@worldnet.fr> <200106080003.f5803wl370740@saturn.cs.uml.edu>
In-Reply-To: <200106080003.f5803wl370740@saturn.cs.uml.edu>; from acahalan@cs.uml.edu on Thu, Jun 07, 2001 at 08:03:58PM -0400
On Thu, Jun 07, 2001 at 08:03:58PM -0400, Albert D. Cahalan wrote:
> Chris Boot writes:
>
> >>>> Kelvins good idea in general - it is always positive ;-)
> >>>>
> >>>> 0.01*K fits in 16 bits and gives reasonable range.
> ...
> > OK, I think by now we've all agreed the following:
> > - The issue is NOT displaying temperatures to the user, but a userspace
> > program reading them from the kernel. The userspace program itself can
> > do temperature conversions for the user if he/she wants.
> > - The most preferable units would be decikelvins, as the value can give a
> > relatively precise as well as wide range of numbers ranging from absolute
> > zero to about 6340 degrees Celsius ((65535 / 10) - 273) which is well
> > within anything that a computer can operate. It also gives us a good
> > base for all sorts of other temperature sensing devices.
> >
> > Do we all agree on those now?
>
> I nearly do.
>
> There isn't any need to cram the data into 16 bits.
> The offset to Celsius is 273.15 degrees.
> So hundredths of a degree, in Kelvin, is a better choice.
[Let's see if I can argue boths sides of this fence plus a
third here.]
Who cares if you cram it into 16 bits. It still works.
I think we can agree that negative degrees Kelvin are not relevant
(outside of VERY esoteric physics circles where negative absolute
temperatures are real and represent quantum mechanical states in
"population inversions". i.e. Quantum mechanical temperatures hotter
than infinite - reference SciAm back in the mid 1970s. I won an arguement
with a PhD high energy physics prof over that point back then).
Therefore, we have a 16 bit unsigned quantity which gives us a
range of 0 - 65535. Translated as hundreths of a Kelvin, that works
out to 0 -> 655.35 K. Ok... That's -273.15 C -> 382.20 C. And...
That's roughly -524 F -> 720 F. Ok... That covers everything from
superfluid Helium through MELTS GLASS with room for bobble.
In 16 bits.
What's the problem?
Other than what's the need for two digits of precision in something
that does not have even 1/100 of that accuracy?
A plague of many measuring systems is "false precision". Why
provide precision (the units to which a measurement can be divided or
quantized) when the accuracy can not support it. I would be amazed if
ANY CPU temperature monitors were any more accurate than to a degree C/K
or ~2 degrees F). Hundreths of a degree K is basically silly nonsense.
The precision even for tenths of a degree K or C are just not supported by
the accuracy of the measuring device and are meaningless. Even if it
COULD provide even something remotely similar to that level of precision
in it's accuracy, is it really relevant to know the CPU temperature to
1/100 of a degree C?
Looking at most temperature measuring chips today, unless you are
looking at lab-quality high-precision high-accuracy sensors, you are really
talking about a 12 bit sensor (+- a couple of bits) with an accuracy of
not much better than +-1 C.
Add the tenths if you want to be silly but returning hundreths
is just meaningless jibberish.
Mike
--
Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com
(The Mad Wizard) | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
next prev parent reply other threads:[~2001-06-08 0:55 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-06 12:27 temperature standard - global config option? David N. Welton
2001-06-06 13:50 ` Pavel Machek
2001-06-06 16:06 ` Chris Boot
2001-06-06 16:16 ` Peter Svensson
2001-06-06 16:58 ` Bill Pringlemeir
2001-06-06 20:47 ` H. Peter Anvin
2001-06-06 21:40 ` Kipp Cannon
2001-06-06 23:02 ` Maciej Zenczykowski
2001-06-06 23:27 ` David Flynn
2001-06-08 20:04 ` Pavel Machek
[not found] ` <9fm4sc@cesium.transmeta.com>
2001-06-08 20:06 ` Pavel Machek
2001-06-06 19:32 ` Matthias Urlichs
2001-06-06 21:45 ` es1371 compile issue in 2.4.5-ac9 Alan Olsen
2001-06-07 15:14 ` Keith Owens
2001-06-07 18:27 ` Alan Olsen
2001-06-06 19:44 ` temperature standard - global config option? José Luis Domingo López
2001-06-07 3:50 ` watermodem
2001-06-06 20:42 ` Pavel Machek
2001-06-06 21:52 ` J . A . Magallon
2001-06-07 10:05 ` Philips
2001-06-07 12:20 ` L. K.
2001-06-07 16:44 ` David Rees
2001-06-07 21:37 ` Chris Boot
2001-06-08 0:03 ` Albert D. Cahalan
2001-06-08 0:54 ` Michael H. Warfield [this message]
2001-06-07 21:02 ` Albert D. Cahalan
2001-06-07 21:23 ` L. K.
2001-06-07 21:30 ` mirabilos {Thorsten Glaser}
2001-06-08 1:21 ` Michael H. Warfield
2001-06-08 11:30 ` Thomas Speck
2001-06-08 17:33 ` Chris Boot
2001-06-08 18:05 ` Michael H. Warfield
2001-06-08 18:43 ` J . A . Magallon
2001-06-08 18:56 ` Michael H. Warfield
2001-06-08 19:00 ` J . A . Magallon
2001-06-08 21:16 ` Albert D. Cahalan
2001-06-08 21:22 ` L. K.
2001-06-08 21:38 ` Albert D. Cahalan
2001-06-08 21:28 ` Chris Boot
2001-06-09 7:55 ` H. Peter Anvin
2001-06-21 7:33 ` Kai Henningsen
2001-06-21 11:18 ` Jonathan Morton
2001-06-21 15:39 ` Kurt Roeckx
2001-06-08 23:16 ` Michael H. Warfield
2001-06-08 23:53 ` John Chris Wren
2001-06-09 3:52 ` Albert D. Cahalan
2001-06-09 7:58 ` H. Peter Anvin
2001-06-09 9:17 ` James Sutherland
2001-06-09 15:06 ` Charles Cazabon
2001-06-09 0:13 ` Bill Pringlemeir
2001-06-09 10:11 ` L. K.
2001-06-09 10:20 ` Steffen Persvold
2001-06-09 17:21 ` Chris Boot
2001-06-09 5:45 ` Albert D. Cahalan
2001-06-09 7:57 ` H. Peter Anvin
2001-06-09 8:00 ` Albert D. Cahalan
2001-06-09 8:43 ` H. Peter Anvin
2001-06-08 6:48 ` L. K.
2001-06-06 14:06 ` john slee
2001-06-06 19:19 ` J . A . Magallon
2001-06-06 19:01 ` Dr. Kelsey Hudson
2001-06-06 19:08 ` Alan Cox
2001-06-06 19:26 ` J . A . Magallon
2001-06-06 21:00 ` Paul Fulghum
2001-06-06 21:01 ` Harald Arnesen
2001-06-06 21:05 ` Alan Cox
2001-06-07 10:43 ` David N. Welton
2001-06-06 20:45 ` Pavel Machek
2001-06-06 21:04 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2001-06-07 22:10 Chris Adams
2001-06-08 21:33 Leif Sawyer
2001-06-08 23:50 ` Michael H. Warfield
2001-06-09 9:30 ` L. K.
2001-06-21 12:06 Randal, Phil
2001-06-21 12:56 ` Richard B. Johnson
2001-06-21 12:45 Richard J Moore
2001-06-21 16:59 ` Lauri Tischler
2001-06-21 19:14 ` Kai Henningsen
2001-06-21 20:19 ` Lauri Tischler
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=20010607205447.A29121@alcove.wittsend.com \
--to=mhw@wittsend.com \
--cc=acahalan@cs.uml.edu \
--cc=bootc@worldnet.fr \
--cc=dbr@greenhydrant.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox