From owner-freebsd-stable@FreeBSD.ORG Sun Apr 3 21:57:50 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 7C34C16A4CE for ; Sun, 3 Apr 2005 21:57:50 +0000 (GMT) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id F25B843D39 for ; Sun, 3 Apr 2005 21:57:49 +0000 (GMT) (envelope-from chris@unixpages.org) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0IEE001U850CLX@ms-dienst.rz.rwth-aachen.de> for freebsd-stable@freebsd.org; Sun, 03 Apr 2005 23:57:49 +0200 (MEST) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Sun, 03 Apr 2005 23:57:48 +0200 (MEST) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92])j33LvlW8029520; Sun, 03 Apr 2005 23:57:47 +0200 (MEST) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))(Postfix) with ESMTP id 6CB3B28450; Sun, 03 Apr 2005 23:57:42 +0200 (CEST) Received: by gondor.middleearth (Postfix, from userid 1001) id 0AFC92285A; Sun, 03 Apr 2005 23:57:41 +0200 (CEST) Date: Sun, 03 Apr 2005 23:57:41 +0200 From: Christian Brueffer In-reply-to: <42506404.1010608@root.org> To: Nate Lawson Message-id: <20050403215741.GU87756@unixpages.org> MIME-version: 1.0 Content-type: multipart/signed; boundary=S5Rg6oz6PtEXgjQf; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 6.0-CURRENT X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <424F5210.8060809@pldrouin.net> <20050403133200.GP87756@unixpages.org> <425014B2.9070208@pldrouin.net> <20050403164115.GQ87756@unixpages.org> <42506404.1010608@root.org> 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: Sun, 03 Apr 2005 21:57:50 -0000 --S5Rg6oz6PtEXgjQf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 03, 2005 at 02:45:40PM -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= =20 > >>>>my computer is hanging badly under load. I've a P4 2.53 GHz without= =20 > >>>>hyperthreading (no SMP). I use the same kernel configurations than=20 > >>>>before. Now when I compile a port for example, the mouse pointer hang= s=20 > >>>>in Fluxbox and Mozilla takes forever (meaning ~5 sec) to refresh the= =20 > >>>>screen. Even vi hangs. I do not see any warning/error message. Is it = a=20 > >>>>known problem with 5.4? > >>>> > >>> > >>>I have experienced something similar, putting the following into rc.co= nf > >>>worked for me: > >>> > >>>performance_cpu_freq=3D"HIGH" > >>> > >>>- Christian > >>> > >>> > >> > >>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? > > > >- Christian > > >=20 > As you can see from etc/defaults/rc.conf on both -current and RELENG_5,= =20 > we don't currently change the frequency at all: >=20 > performance_cpu_freq=3D"NONE" # Online CPU frequency > economy_cpu_freq=3D"NONE" # Offline CPU frequency >=20 > However, it sounds like his system's BIOS is booting up with a low=20 > acpi_throttle setting (probably the lowest one, 12.5% on many systems)=20 > and so he is seeing very slow performance. (Only the acpi_throttle=20 > cpufreq driver has been MFCd for the 5.4 release and the others will=20 > follow the release.) Initially, I thought it was safest not to even=20 > touch the frequency but it looks like it is necessary for some systems=20 > to always force it high by default. >=20 > I'll change the default to HIGH so that we always put systems in the=20 > fastest performance mode by default. It will be MFCd quickly as well. >=20 Great, thanks! - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --S5Rg6oz6PtEXgjQf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCUGbVbHYXjKDtmC0RAuvHAKCLBcdmZZ8eZVoqJgQGZX/olGNdKACfdMAx huwV4F/rqW2p/ufxp93wyTI= =qDTU -----END PGP SIGNATURE----- --S5Rg6oz6PtEXgjQf--