From owner-freebsd-stable@FreeBSD.ORG Mon Mar 13 20:57:56 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2FE316A401 for ; Mon, 13 Mar 2006 20:57:56 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6FAA43D66 for ; Mon, 13 Mar 2006 20:57:44 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 995F31A4DC1; Mon, 13 Mar 2006 12:57:44 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AA4DD5186D; Mon, 13 Mar 2006 15:57:43 -0500 (EST) Date: Mon, 13 Mar 2006 15:57:43 -0500 From: Kris Kennaway To: Nate Lawson Message-ID: <20060313205743.GA200@xor.obsecurity.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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <4415DA36.2000904@root.org> User-Agent: Mutt/1.4.2.1i Cc: stable@FreeBSD.org, Kris Kennaway Subject: Re: Problems with hw.acpi.cpu.cx_lowest=C2 (Re: cvs commit: src/etc/defaults rc.conf) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 20:57:57 -0000 --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--