From owner-freebsd-stable@FreeBSD.ORG Sat Aug 31 17:35:23 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 18C6BA59; Sat, 31 Aug 2013 17:35:23 +0000 (UTC) (envelope-from mvharding@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5242E2C76; Sat, 31 Aug 2013 17:35:22 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id hi5so528799wib.10 for ; Sat, 31 Aug 2013 10:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/mGNXIYobu22sasCEgI6NdqA+YWgXcxQ6020YWb4r6g=; b=Glo++VZwdvS46ozW3qE3TQ6lHvXtwNMaTwFkaojiQWSbJ9HeTy0nyedB1LNIOkRhwU GrJ3MP9oJDQHe9zAs83UnPqGwmoQ8ROyDpV4EUz74+hcsjNE5EHb2l3+cCHmjxbJNVgT TLkKdvNwSIoYLIgNoQUjkX3YtVa1KvwNj34mCggSJHTmpv65DV2cczFuWEmKEBAEXt5h siBQ9cmouasSMyQJo3fFgTQmvs7aq36Wa+RAzhz5r3+/nx3m3MQpj8C7NPrWW9VzB7Rh G/QUyFpZMnx3XxjgMxqK8D6ZAybQtcpxcuqecRSvglW+8BPVbcWAP2sNSWeEe2NMgO1z BwEA== MIME-Version: 1.0 X-Received: by 10.180.72.47 with SMTP id a15mr6965094wiv.63.1377970520568; Sat, 31 Aug 2013 10:35:20 -0700 (PDT) Received: by 10.217.67.69 with HTTP; Sat, 31 Aug 2013 10:35:20 -0700 (PDT) In-Reply-To: References: Date: Sat, 31 Aug 2013 10:35:20 -0700 Message-ID: Subject: Re: 9.2-RC3 - suspend/resume causes slow system performance From: Mike Harding To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-acpi@freebsd.org" , FreeBSD Stable Mailing List 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: Sat, 31 Aug 2013 17:35:23 -0000 I've tracked this down to a single line, details in http://www.freebsd.org/cgi/query-pr.cgi?pr=181632. Basically, the code is now doing a 'sti, hlt' vs. a 'sti' in some code that is only supposed to run if idle is disabled. Given that 'hlt' is the idle instruction, this doesn't seem right. On Thu, Aug 29, 2013 at 11:50 PM, Adrian Chadd wrote: > On 29 August 2013 23:46, Mike Harding wrote: > >> I was able to track this down by building kernels against /base/stable/9 >> (it took >> -hours!-). >> > > Wow, thanks! > > >> The issue does occur with commit 244616, but does not occur with 244614. >> The >> only difference is a small patch to /usr/src/sys/dev/acpica/acpi_cpu.c - >> this >> code appears to do with c-state processing. I'll note it in the ticket, >> but somebody >> might want to look at this ASAP >> > > That's awesome. It's a very small ACPI patch. Let's see if the others who > are having this issue can test this out and report back! > > Thanks! > > > > -adrian > >