From owner-freebsd-stable@FreeBSD.ORG Sun Apr 3 21:45:43 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 3EF7816A4CE for ; Sun, 3 Apr 2005 21:45:43 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id C120843D1D for ; Sun, 3 Apr 2005 21:45:42 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-184-204.dsl.snfc21.pacbell.net [64.171.184.204])j33Lj9nr012392; Sun, 3 Apr 2005 17:45:10 -0400 Message-ID: <42506404.1010608@root.org> Date: Sun, 03 Apr 2005 14:45:40 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christian Brueffer References: <424F5210.8060809@pldrouin.net> <20050403133200.GP87756@unixpages.org> <425014B2.9070208@pldrouin.net> <20050403164115.GQ87756@unixpages.org> In-Reply-To: <20050403164115.GQ87756@unixpages.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:45:43 -0000 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" >>> >>>- 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 > 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'll change the default to HIGH so that we always put systems in the fastest performance mode by default. It will be MFCd quickly as well. Thanks, -- Nate