From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] TODO: "dynamic" sysfs callbacks
Date: Sat, 02 Sep 2006 20:57:03 +0000 [thread overview]
Message-ID: <20060902225703.ee2ea946.khali@linux-fr.org> (raw)
In-Reply-To: <44F1E5B6.1080105@gmail.com>
> On Sat, Sep 02, 2006 at 04:24:01PM +0200, Jean Delvare wrote:
> > I don't have the time to even try measuring it. I just thought I would
> > mention performance in the conversation, after I noticed with a user
> > some days ago that logging sensors data using "sensors" every other
> > second would put 15% of load on the system, while I expected it
> > to be unnoticeable.
>
> This is probably just due to an interruptable sleep happening, which
> artificially increases the load average. I would be supprised if the
> CPU usage really goes up by that much.
The bus driver msleep()s, so it's rather an uninterruptible sleep? Not
that I know what different it makes in that context. And there's the
userspace part probably taking a great deal of CPU as well, but I did
not bother analyzing in detail where the time was spent back then.
--
Jean Delvare
next prev parent reply other threads:[~2006-09-02 20:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-27 18:34 [lm-sensors] TODO: "dynamic" sysfs callbacks Jim Cromie
2006-09-01 12:33 ` Jean Delvare
2006-09-01 22:08 ` Greg KH
2006-09-02 6:52 ` Jean Delvare
2006-09-02 7:08 ` Greg KH
2006-09-02 14:24 ` Jean Delvare
2006-09-02 18:27 ` Greg KH
2006-09-02 20:57 ` Jean Delvare [this message]
2006-09-03 1:46 ` Greg KH
2006-09-03 6:08 ` Jean Delvare
2006-09-03 6:41 ` Greg KH
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=20060902225703.ee2ea946.khali@linux-fr.org \
--to=khali@linux-fr.org \
--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.