Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 15:57:43 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Nate Lawson <nate@root.org>
Cc:        stable@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Problems with hw.acpi.cpu.cx_lowest=C2 (Re: cvs commit: src/etc/defaults rc.conf)
Message-ID:  <20060313205743.GA200@xor.obsecurity.org>
In-Reply-To: <4415DA36.2000904@root.org>
References:  <200601290551.k0T5pwEC028440@repoman.freebsd.org> <20060129060654.GA47495@xor.obsecurity.org> <20060129061300.GA47596@xor.obsecurity.org> <43DC5E0B.40003@root.org> <20060129063007.GA47800@xor.obsecurity.org> <20060313083954.GA46731@xor.obsecurity.org> <4415A5E7.8000801@root.org> <20060313172457.GA96768@xor.obsecurity.org> <4415DA36.2000904@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 13, 2006 at 12:46:46PM -0800, Nate Lawson wrote:
> Kris Kennaway wrote:
> >On Mon, Mar 13, 2006 at 09:03:35AM -0800, Nate Lawson wrote:
> >
> >>>I finally managed to test this in RELENG_6.  The system performance is
> >>>not obviously bad, but sound playback is distorted (e.g. the 'bell' in
> >>>KDE is much higher pitched than it should be, and on the console it is
> >>>low pitched and lasting about 3 seconds).  Nothing is logged on
> >>>console.
> >>>
> >>>There may be other problems that I didn't notice right away, but the
> >>>sound problems were enough to make me turn it off again.
> >>Are you sure that's the cause?  (Does setting cx_lowest to C1 fix it?)=
=20
> >
> >Absolutely sure: the system worked at C1 after boot, then I set it to
> >C2, observed that beeping was broken, then set it back to C1 and
> >observed that it worked again.
>=20
> Ok, good to know.  This looks like a different failure mode where=20
> occasionally the system is waking up from the idle too often, but not=20
> enough to affect system performance.

Actually when I retried C2, performance is bad again.  e.g. opening a
mailbox in mutt pauses for about 30 seconds before it starts to read
the mailbox.

top shows CPU activity ping-ponging between:

CPU states:  0.0% user,  0.0% nice, 50.0% system,  0.0% interrupt, 50.0% id=
le

and

CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% id=
le

> >>Can you send the output of sysctl hw.acpi so we can see how often each=
=20
> >>cx type is being run?
> >
> >hw.acpi.cpu.cx_supported: C1/0 C2/1
> >hw.acpi.cpu.cx_lowest: C1
> >hw.acpi.cpu.cx_usage: 100.00% 0.00%
>=20
> I'd like to see it after you've set it to C2 for a few minutes.  I'm=20
> looking to see what happens with cx_usage.

It stays at hw.acpi.cpu.cx_usage: 0.00% 100.00% always.

Kris
--n8g4imXOkfNTN/H1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFEFdzHWry0BWjoQKURAq19AJ4qCRnRMmuxQCPQLDLZYHFeUeUSGACgiHFr
ZE+nYF29yVg1+Hm6WZPST5Y=
=r22T
-----END PGP SIGNATURE-----

--n8g4imXOkfNTN/H1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060313205743.GA200>