From owner-freebsd-stable@FreeBSD.ORG Mon Apr 4 03:21:15 2005 Return-Path: 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 5893B16A4CE for ; Mon, 4 Apr 2005 03:21:15 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 227BF43D3F for ; Mon, 4 Apr 2005 03:21:13 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 119B385699; Mon, 4 Apr 2005 12:51:11 +0930 (CST) Date: Mon, 4 Apr 2005 12:51:11 +0930 From: Greg 'groggy' Lehey To: Nate Lawson Message-ID: <20050404032111.GI867@wantadilla.lemis.com> References: <424F5210.8060809@pldrouin.net> <20050403133200.GP87756@unixpages.org> <425014B2.9070208@pldrouin.net> <20050403164115.GQ87756@unixpages.org> <42506404.1010608@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KrHCbChajFcK0yQE" Content-Disposition: inline In-Reply-To: <42506404.1010608@root.org> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: Christian Brueffer cc: Pierre-Luc Drouin cc: freebsd-stable@freebsd.org Subject: Re: 5.4-prerelease - hanging under load X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 04 Apr 2005 03:21:15 -0000 --KrHCbChajFcK0yQE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sunday, 3 April 2005 at 14:45:40 -0700, Nate Lawson wrote: > Christian Brueffer wrote: >> On Sun, Apr 03, 2005 at 12:07:14PM -0400, Pierre-Luc Drouin wrote: >>> Christian Brueffer wrote: >>>> On Sat, Apr 02, 2005 at 09:16:48PM -0500, Pierre-Luc Drouin wrote: >>>> >>>>> Since I upgraded from 5.3-stable to 5.4-prerelease, I've noticed that >>>>> my computer is hanging badly under load. I've a P4 2.53 GHz without >>>>> hyperthreading (no SMP). I use the same kernel configurations than >>>>> before. Now when I compile a port for example, the mouse pointer hangs >>>>> in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the >>>>> screen. Even vi hangs. I do not see any warning/error message. Is it a >>>>> known problem with 5.4? >>>> >>>> I have experienced something similar, putting the following into rc.conf >>>> worked for me: >>>> >>>> performance_cpu_freq="HIGH" >>> >>> Yes, this seams to fix it. I didn't know that I had a laptop? :) >> >> Good to hear. >> >> Nate, this regression was introduced during the cpufreq and friends MFC. >> Is switching the performance_cpu_freq default to HIGH the way to go for >> 5.4-RELEASE? > > As you can see from etc/defaults/rc.conf on both -current and RELENG_5, > we don't currently change the frequency at all: > > performance_cpu_freq="NONE" # Online CPU frequency > economy_cpu_freq="NONE" # Offline CPU frequency > > However, it sounds like his system's BIOS is booting up with a low > acpi_throttle setting (probably the lowest one, 12.5% on many systems) > and so he is seeing very slow performance. (Only the acpi_throttle > cpufreq driver has been MFCd for the 5.4 release and the others will > follow the release.) Initially, I thought it was safest not to even > touch the frequency but it looks like it is necessary for some systems > to always force it high by default. I'm experiencing similar issues. How can I confirm that this is the case without rebooting the machine (which would be inconvenient)? Is there some sysctl that tells me? I've taken a look, but I don't see anything obvious. Greg -- See complete headers for address and phone numbers. --KrHCbChajFcK0yQE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCULKmIubykFB6QiMRAj1QAJ4l27pi0JzUT4WX6/xi84VEduh3LQCfRBUL 09SalvUnCFrb0NPQCn5OLd8= =rEtm -----END PGP SIGNATURE----- --KrHCbChajFcK0yQE--