From owner-freebsd-hackers@FreeBSD.ORG Sun May 4 08:13:50 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01C3A56C; Sun, 4 May 2014 08:13:50 +0000 (UTC) Received: from mail-qg0-x22b.google.com (mail-qg0-x22b.google.com [IPv6:2607:f8b0:400d:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D99F1B71; Sun, 4 May 2014 08:13:49 +0000 (UTC) Received: by mail-qg0-f43.google.com with SMTP id 63so700435qgz.16 for ; Sun, 04 May 2014 01:13:48 -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=fWJhD5u2ewfB2n1vGTcAeFYUcfWIC41/GoMYmOjdW9U=; b=c/ugLMUtCysjoH9+5cIjY/FnivGkuSuqp3Fquseh4YEyCdyHI2O7Es/HmNi3ECLYYf FdGy7rpHdW7AKKNNEE8qDZ9TYERsNCfa75vrhmXQ049g3/rQ4/Zo0UxcNa57vfFUgDGX FEsN/Cst3rXsSFRnn8KjkVSUr7bBcHpqcX+SXJ7I84xrgAhlgdRi/lOiH2eh3uvW5kqz AciMQJgwDdnL5BcuD1ZpeEr6B59pdS/Ix44o+PiNHSX1csZrBilRCl7Ks31JFPkpES1J wnnN+4u1E/3vP7/0uTZtBkGkxlUGF2PkfR3vQsxXWpld+AcWX1B5hz7dXjFOBC7C+Q4W KKfA== MIME-Version: 1.0 X-Received: by 10.224.15.202 with SMTP id l10mr5134262qaa.76.1399191228712; Sun, 04 May 2014 01:13:48 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Sun, 4 May 2014 01:13:48 -0700 (PDT) In-Reply-To: References: <3F7430D7-3C0F-43E1-8EBD-8AA4F701497C@FreeBSD.org> <20140503155745.GA2457@La-Habana> <20140503192305.GA1847@La-Habana> <536592D1.7080403@freebsd.org> Date: Sun, 4 May 2014 01:13:48 -0700 X-Google-Sender-Auth: h1080AmssIna7L0KrecPaYd9USY Message-ID: Subject: Re: Leaving the Desktop Market From: Adrian Chadd To: Kevin Oberman Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-hackers@freebsd.org" , Nathan Whitehorn , Jordan Hubbard , "freebsd-arch@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2014 08:13:50 -0000 [snip] ok, how about this to start with: http://people.freebsd.org/~adrian/power/20140504-powerd-1.diff This defaults powerd to set minfreq to 50% of the hardware available maxfreq, unless minfreq is explicitly given on the command line. This should at least fix some of the really silly default decisions made by powerd during idle. This code sorely needs an update to the cpufreq_*() routines. That can come later. Does anyone have any issues? -a