From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 21 16:54:41 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CF986BD9 for ; Thu, 21 Feb 2013 16:54:41 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-f49.google.com (mail-bk0-f49.google.com [209.85.214.49]) by mx1.freebsd.org (Postfix) with ESMTP id 6BBC7678 for ; Thu, 21 Feb 2013 16:54:40 +0000 (UTC) Received: by mail-bk0-f49.google.com with SMTP id w11so4293359bku.36 for ; Thu, 21 Feb 2013 08:54:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=GouWfTUmEesoDTIiDDesSCTBUBoX9/jwjvu3cH3EU00=; b=wF2gZjq9LKyE4Yjpm7v/zw4NrwD4hS8ZfDhIY1/rQ490QkYBFi4OGMA8VZ7SXIF5Lg IaqhhBBpPPd1oLdh10FO7acIBasg1fI7HM3sfNyYKjxEYb4sXKqbR4zGL9UqrVzic/+S PrkKz9/pHUAs0Rib0ZP20F2fj4NmrGbxe5dOu2O9rMkL1scsOdbixU1DVeH+pmloCajx gq0in35LenjBNrrfQavJ1ZaptahVfZPAL+bxu4HqTI5zzfFMgnG9IuWWUqtahsPuuM6V 94IrzHu7cMmveVBgBzU1GTf+eGyl838dCU16DlHNdjWz25vA4JAgowMl7IWnWXvjnyMw vZnQ== MIME-Version: 1.0 X-Received: by 10.204.130.210 with SMTP id u18mr10957685bks.57.1361465673634; Thu, 21 Feb 2013 08:54:33 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.204.10.13 with HTTP; Thu, 21 Feb 2013 08:54:33 -0800 (PST) Date: Thu, 21 Feb 2013 08:54:33 -0800 X-Google-Sender-Auth: s1l14LJlurAvgodOKi6P0ZU6yV4 Message-ID: Subject: CFT: PMU-based speed changes From: Justin Hibbits To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 16:54:41 -0000 After over a year of off-and-on work, lots of frustration, and help from quite a few people, I present to you all for testing, PMU speed changes. You can find it in the projects/pmac_pmu branch, which is branched from -CURRENT back in December/January. Anybody with a Titanium Powerbook, and some of the early Aluminum books, should now be able to run their machines at full speed using powerd, or sysctl dev.cpu.0.freq. I tested this on my 1GHz TiBook (last generation TiBook), using md5 on a core dump, and saw a nice performance boost. That branch also has PMU-based sleep code in place, but it does not work (don't try to set sysctl dev.pmu.0.sleep, your machine will go catatonic). I haven't decided yet if I will commit what I have minus the sleep, or wait until sleep is done. As always, any comments and suggestions are welcome. - Justin