From owner-freebsd-stable@FreeBSD.ORG Thu Aug 29 14:45:11 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2378480 for ; Thu, 29 Aug 2013 14:45:11 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.server1.bsdforen.de (bsdforen.de [82.193.243.81]) by mx1.freebsd.org (Postfix) with ESMTP id D9A902CF7 for ; Thu, 29 Aug 2013 14:45:10 +0000 (UTC) Received: from mobileKamikaze.norad (MN-VPN2.HS-Karlsruhe.DE [193.196.117.63]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.server1.bsdforen.de (Postfix) with ESMTPSA id E7AE886215; Thu, 29 Aug 2013 16:45:07 +0200 (CEST) Message-ID: <521F5E73.90505@bsdforen.de> Date: Thu, 29 Aug 2013 16:45:07 +0200 From: Dominic Fandrey MIME-Version: 1.0 To: Mike Harding Subject: Re: 9.2-RC3 - suspend/resume causes slow system performance References: In-Reply-To: Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 14:45:11 -0000 On 29/08/2013 15:32, Mike Harding wrote: > I opened a ticket about this: kern/181632 > > Basically, if I do a 'zzz' and then wake the system up, operations like a > buildworld or portmaster take much longer after the resume - systat shows > very low CPU/disk utilization. It's 100% repeatable, I don't recall this > happening on 9.1 > > I build 9.2-RC3 from source (as I have for years) - this is a fairly > generic SMP system (i5 750 with 4 cpus). > > Let me know if I can provide any data - this is a fairly significant > regression for me as I have taken to bringing the system up as needed vs. > leaving it on all of the time. I encountered that yesterday. Manually stepping down: sysctl dev.cpu.0.freq=800 And back up again: sysctl dev.cpu.0.freq=2400 fixed this for me. You can simply run powerd to mask the problem. It might have been around for ages as far as I know, because I usually use powerd. I just had it turned of for performance measurements and forgot to turn it back on before going into suspend. When I resumed and reran the tests the performance suddenly was abysmal. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?