From owner-freebsd-hackers@FreeBSD.ORG Sun May 4 09:28:58 2014 Return-Path: Delivered-To: hackers@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 ESMTPS id 0EE79612; Sun, 4 May 2014 09:28:58 +0000 (UTC) Received: from mail.fer.hr (mail.fer.hr [161.53.72.233]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.fer.hr", Issuer "TERENA SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A48B11ED; Sun, 4 May 2014 09:28:57 +0000 (UTC) Received: from x23 (31.147.125.66) by MAIL.fer.hr (161.53.72.233) with Microsoft SMTP Server (TLS) id 14.2.342.3; Sun, 4 May 2014 11:27:42 +0200 Date: Sun, 4 May 2014 11:28:07 +0200 From: Marko Zec To: Adrian Chadd Subject: Re: Leaving the Desktop Market Message-ID: <20140504112807.1136d108@x23> In-Reply-To: References: <3F7430D7-3C0F-43E1-8EBD-8AA4F701497C@FreeBSD.org> <20140503155745.GA2457@La-Habana> <20140503192305.GA1847@La-Habana> <536592D1.7080403@freebsd.org> Organization: FER X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [31.147.125.66] Cc: Kevin Oberman , "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 09:28:58 -0000 On Sun, 4 May 2014 01:13:48 -0700 Adrian Chadd wrote: > [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. As already noted earlier in this thread, if you disable hint.p4tcc.0.disabled=1 hint.acpi_throttle.0.disabled=1 then the kernel does not even expose expose those silly minimum "frequencies", and your problem goes away without patching powerd. A more reasonable and simpler patch would be to disable the two offending throttling drivers by default, I really cannot see a single reason why do we need them at all, less why they are enabled. Marko > 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 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org"