From owner-freebsd-arch@FreeBSD.ORG Sat Apr 25 18:02:10 2015 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A69BD3D9; Sat, 25 Apr 2015 18:02:10 +0000 (UTC) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 69B701A38; Sat, 25 Apr 2015 18:02:10 +0000 (UTC) Received: by oift201 with SMTP id t201so62813931oif.3; Sat, 25 Apr 2015 11:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ps1MnpiD6yqkprLgjXo0q+tWyWhmaz1QtuLNxnW6OSU=; b=JRKAiD3uWhKng4wD4yWRK469NNzLSAMuxh1E3vLwVwXZvgw6jm6LTCgYDOfG6kEzzr WtXPKlooPSsV/kTciAIOzr7OispvCPxF8gePPAQVfHpYaZAvuMt/qR0HpgE2kjqVBp4b MAjX8MBQQN07EBbExMRHkqEmYz/GrxfYc8OVpXg6aCjSq2s8FKQ9VdA6PCUI7F44PWK1 Vlw479IZsAeY1BSlsBQb4ahaxkspbMxBfJ9HOICbhhY+m2mGcbQHshUJN9MYH88hdXb5 T4ssAxJLOMehiThz+9nh31dm3IxLEPjQMdvs2A4kw7cTPedVI0aQ/ttCHENgN5WhDtLP 94Gg== MIME-Version: 1.0 X-Received: by 10.202.186.214 with SMTP id k205mr3429481oif.10.1429984929591; Sat, 25 Apr 2015 11:02:09 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.202.11.82 with HTTP; Sat, 25 Apr 2015 11:02:09 -0700 (PDT) Received: by 10.202.11.82 with HTTP; Sat, 25 Apr 2015 11:02:09 -0700 (PDT) In-Reply-To: References: Date: Sat, 25 Apr 2015 11:02:09 -0700 X-Google-Sender-Auth: Ma3CYOdNjVrs94XGXTJEV-5Ep4Y Message-ID: Subject: Re: RFC: setting performance_cx_lowest=C2 in -HEAD to avoid lock contention on many-CPU boxes From: "K. Macy" To: Adrian Chadd Cc: freebsd-arch@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2015 18:02:10 -0000 Um, don't you care more about power savings when it's on battery? On Apr 25, 2015 10:44 AM, "Adrian Chadd" wrote: > Oh the other thing, which I just mentioned to kip in IRC - all of the > intel laptops I've tested (and that's a long list) don't enter CPU C7 > if the power is plugged in. > > Ie: > > * power in, ACPI C2 -> CPU C6 > * power in, ACPI C3 - CPU C6 > * battery - ACPI C2 -> CPU C6 > * battery -> ACPI C3 -> CPU C7 > > So having performance_cx_lowest=C3 is effectively a no-op on the > devices that it'd matter on, so it's okay to just flip it to C2. > > > > -adrian >