From: Massimo Dal Zotto <dz@cs.unitn.it>
To: stephane@tuxfinder.org
Subject: Re: [PATCH] SMM BIOS on Dell i8100
Date: Fri, 9 Nov 2001 15:57:08 +0100 (MET) [thread overview]
Message-ID: <200111091622.RAA18483@fandango.cs.unitn.it> (raw)
In-Reply-To: <20011109133453.A8130@emeraude.kwisatz.net> from Stephane Jourdois at "Nov 9, 2001 01:34:53 pm"
> On Thu, Nov 08, 2001 at 07:14:03PM +0100, Massimo Dal Zotto wrote:
> > I have released version 1.4 of my package with a new kernel module and
> > some enhancements to the i8kmon utility.
>
> hello,
>
> [no patch today :-)]
>
> here is what top gives me :
> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
> 8102 kwisatz 15 0 2612 2612 1804 S 1.3 0.5 0:01 tclsh
> 1663 kwisatz 10 0 3172 2436 2028 S 0.1 0.4 0:25 gkrellm
>
> It seems that gkrellm (which monitors more than 20 things on my laptop)
> takes only 0.1% of cpu, whereas i8kmon takes 1.3%...
> I have absolutely no idea how to improve that, but I think that should
> be the first thing on the TODO :-)
>
Hi Stephane,
first question, why is your mailer using a charset=unknown-8bit instead
of the standard iso8859-1?
> Content-Type: text/plain; charset=unknown-8bit
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
This gives an error in my editor elm and forces me to use cut-and-paste:
> [Charset unknown-8bit unsupported, skipping...]
Now back to i8kutils. No patch today because I was debugging exactly this
problem. I discovered that the SMM calls GET_CPU_TEMP and GET_POWER_STATUS
take a very long time compared to the other calls and this slows down the
whole program. Here is what I discovered:
cpu_temp = i8k_get_cpu_temp(); /* 11100 µs */
left_fan = i8k_get_fan_status(I8K_FAN_LEFT); /* 580 µs */
right_fan = i8k_get_fan_status(I8K_FAN_RIGHT); /* 580 µs */
left_speed = i8k_get_fan_speed(I8K_FAN_LEFT); /* 580 µs */
right_speed = i8k_get_fan_speed(I8K_FAN_RIGHT); /* 580 µs */
ac_power = i8k_get_power_status(); /* 14700 µs */
fn_key = i8k_get_fn_status(); /* 750 µs */
Since I can't fix the SMM BIOS I think there is very little I can do,
except avoiding the GET_POWER_STATUS call which uses half of the time.
I will try to get the same information from /proc/apm.
Did you try the latest version (1.4)? Does it work on your I8100?
--
Massimo Dal Zotto
+----------------------------------------------------------------------+
| Massimo Dal Zotto email: massimo.dalzotto@libero.it |
| Via Marconi, 141 phone: ++39-461534251 |
| 38057 Pergine Valsugana (TN) www: http://www.cs.unitn.it/~dz/ |
| Italy http://www.debian.org/~dz/ |
| gpg: 2DB65596 3CED BDC6 4F23 BEDA F489 2445 147F 1AEA 2DB6 5596 |
+----------------------------------------------------------------------+
next prev parent reply other threads:[~2001-11-09 16:23 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-08 18:14 [PATCH] SMM BIOS on Dell i8100 Massimo Dal Zotto
2001-11-09 12:34 ` Stephane Jourdois
2001-11-09 14:57 ` Massimo Dal Zotto [this message]
[not found] <12948.1005329220@redhat.com>
2001-11-09 18:57 ` Massimo Dal Zotto
-- strict thread matches above, loose matches on Subject: below --
2001-11-05 9:03 Stephane Jourdois
2001-11-05 16:03 ` Jeff Garzik
2001-11-05 16:35 ` Stephane Jourdois
2001-11-05 23:17 ` Juri Haberland
2001-11-06 12:24 ` Stephane Jourdois
2001-11-06 16:45 ` Massimo Dal Zotto
2001-11-06 17:09 ` Juri Haberland
2001-11-06 22:46 ` Marcel J.E. Mol
2001-11-07 9:44 ` Stephane Jourdois
2001-11-07 10:01 ` Marcel J.E. Mol
2001-11-07 10:13 ` Stephane Jourdois
2001-11-07 14:21 ` Massimo Dal Zotto
2001-11-07 10:27 ` Massimo Dal Zotto
2001-11-07 10:29 ` David Woodhouse
[not found] ` <20011105130954.A24310@joshua.mesa.nl>
2001-11-05 17:01 ` Stephane Jourdois
2001-11-05 17:20 ` Marcel J.E. Mol
2001-11-05 17:37 ` Stephane Jourdois
2001-11-05 21:52 ` Marcel J.E. Mol
2001-11-05 19:00 ` Georg Nikodym
2001-11-06 13:58 ` Stephane Jourdois
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=200111091622.RAA18483@fandango.cs.unitn.it \
--to=dz@cs.unitn.it \
--cc=stephane@tuxfinder.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