From owner-freebsd-current@FreeBSD.ORG Fri Aug 7 14:04:29 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22BDA106564A for ; Fri, 7 Aug 2009 14:04:29 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0830E8FC1F for ; Fri, 7 Aug 2009 14:04:27 +0000 (UTC) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id A9C5A36D54; Fri, 7 Aug 2009 16:04:23 +0200 (CEST) Date: Fri, 7 Aug 2009 16:04:22 +0200 From: cpghost To: Marius N?nnerich Message-ID: <20090807140422.GE1650@phenom.cordula.ws> References: <20090807000611.GA38670@bsdcrew.de> <20090807010159.GV86066@phenom.cordula.ws> <20090807080946.GB38670@bsdcrew.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org Subject: Re: All videos play too fast on AMD Phenom II X4 955 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 14:04:29 -0000 On Fri, Aug 07, 2009 at 10:42:39AM +0200, Marius N?nnerich wrote: > >> > A secound problem is powerd, i can't use > >> > that under 1200 mhz, under 1200 the box > >> > freeze. > >> > >> I have that same problem with a > >> ? CPU: AMD Phenom(tm) 9350e Quad-Core Processor (2000.08-MHz K8-class CPU) > >> > >> AS a work around, I've added > >> ? debug.cpufreq.lowest="1240" > >> to /boot/loader.conf. > >> > >> It's not ideal, but I have NO idea what's causing the freezes > >> at lower CPU speeds. > > Please show: > sysctl kern.timecounter With debug.cpufreq.lowest="1240" in /boot/loader.conf, this is what I get: phenom# sysctl kern.timecounter kern.timecounter.tick: 1 kern.timecounter.choice: TSC(-100) HPET(900) ACPI-safe(850) i8254(0) dummy(-1000000) kern.timecounter.hardware: HPET kern.timecounter.stepwarnings: 0 kern.timecounter.tc.i8254.mask: 65535 kern.timecounter.tc.i8254.counter: 4503 kern.timecounter.tc.i8254.frequency: 1193182 kern.timecounter.tc.i8254.quality: 0 kern.timecounter.tc.ACPI-safe.mask: 4294967295 kern.timecounter.tc.ACPI-safe.counter: 2712383003 kern.timecounter.tc.ACPI-safe.frequency: 3579545 kern.timecounter.tc.ACPI-safe.quality: 850 kern.timecounter.tc.HPET.mask: 4294967295 kern.timecounter.tc.HPET.counter: 1471646472 kern.timecounter.tc.HPET.frequency: 14318180 kern.timecounter.tc.HPET.quality: 900 kern.timecounter.tc.TSC.mask: 4294967295 kern.timecounter.tc.TSC.counter: 524765121 kern.timecounter.tc.TSC.frequency: 2000079241 kern.timecounter.tc.TSC.quality: -100 kern.timecounter.smp_tsc: 0 kern.timecounter.invariant_tsc: 1 phenom# sysctl -a | grep acpi_throttle dev.acpi_throttle.0.%desc: ACPI CPU Throttling dev.acpi_throttle.0.%driver: acpi_throttle dev.acpi_throttle.0.%parent: cpu0 dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 phenom# kenv | grep acpi acpi_load="YES" hint.acpi.0.oem="ACPIAM" hint.acpi.0.revision="1" hint.acpi.0.rsdp="0xf9d40" hint.acpi.0.rsdt="0x77f90000" > afaik using acpi_throttling AND cool'n quiet together often leads to > freezes and even to more energy consumption. Maybe you can disable > acpi_throttle and just use the cool'n quiet states. Ah, interesting! How can I disable it? In the BIOS or via ACPI? acpi(4) is somewhat confusing: I'm not sure what to put into debug.acpi.disabled. Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/