From owner-freebsd-acpi@freebsd.org Tue Sep 29 16:49:47 2015 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E51E4A0ACB7 for ; Tue, 29 Sep 2015 16:49:47 +0000 (UTC) (envelope-from aavanderpeijl@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::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 839F61C21; Tue, 29 Sep 2015 16:49:47 +0000 (UTC) (envelope-from aavanderpeijl@gmail.com) Received: by wicgb1 with SMTP id gb1so157937962wic.1; Tue, 29 Sep 2015 09:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=ibmKcj4llBlH1KxzZTyXz0C4DRwS9jTz7iIjMsYZXsw=; b=FCYM8uiRz77qWXgaPQxlXml/82NXtqlJcFH81utm4Dan0z1hl6pFs/j5Wsb77WhoQC 39EdFYT9jV+xy0p6AUG8Etw3XuUZWOd6wUmitsaA+rPo9TEBBIQshonsRQoG91ZdnXaP J2s27O5AEE48KtWK6iDSEXgBfBpk+T0EVU/1nBm9BfRzl1KTn3y2IFjRl35dW/y+UqTe qumH5WQiPFQOnkjBgG97yoVs+uO+Z566vwyXB85h+oxMYC6SZJDfcy0j9SiOK2bZSR+L JpfUesKf6nNl4p9Nee7wo6R2MdOg40LJ4+JR5It7GDKq8S9VGF5ewliweb479cDJhTTP k10Q== X-Received: by 10.180.88.168 with SMTP id bh8mr24565492wib.48.1443545385678; Tue, 29 Sep 2015 09:49:45 -0700 (PDT) Received: from macbookderpeijl.aerrow.local ([62.238.6.31]) by smtp.gmail.com with ESMTPSA id lh11sm24783449wic.18.2015.09.29.09.49.43 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Sep 2015 09:49:44 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: ACPI problems op ASrock From: Arthur van der Peijl In-Reply-To: <20150930000154.E67283@sola.nimnet.asn.au> Date: Tue, 29 Sep 2015 18:49:42 +0200 Cc: Kevin Oberman , John Baldwin , "freebsd-acpi@freebsd.org" Message-Id: References: <49E6B533-4457-4583-82A2-9940C291AB51@gmail.com> <20150930000154.E67283@sola.nimnet.asn.au> To: Ian Smith X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 16:49:48 -0000 On 29 sep. 2015, at 16:42 Ian Smith wrote: > On Sat, 26 Sep 2015 10:17:20 +0200, Arthur van der Peijl wrote: > >> We're already there. The document described some other setting which=20= >> could be read: >>=20 >> [root@zfsguru /home/ssh]# sysctl dev.cpu | grep cx >> dev.cpu.1.cx_usage: 100.00% last 5us >> dev.cpu.1.cx_lowest: C8 >> dev.cpu.1.cx_supported: C1/1/1 >> dev.cpu.0.cx_usage: 100.00% 0.00% last 4us >> dev.cpu.0.cx_lowest: C8 >> dev.cpu.0.cx_supported: C1/1/1 C2/2/117 >>=20 >> I don't inderstand this. 100% CPU is my main issue, created by=20 >> {acpi_task} in the kernal. However -> CPU1 supports different states=20= >> as CPU0? Or is this a summary of last states? >=20 > I don't follow this either, and don't recall seeing different C-states=20= > available on different CPUs? If cpu1 has only C1, I can't see how = cpu0=20 > could ever use C2 - with its real win in terms of power consumption - = as=20 > all CPUs are now set to the same C-state (and P-state) as far as I = know. >=20 > Is cpu1 a real CPU, or HTT? Perhaps show the CPU detection details = from=20 > dmesg. powerd with standard parameters will always run at top speed=20= > with the CPU usage/idle figures you quoted; you could get it to run=20 > slower if you adjusted -i and -r settings, as an immediate workaround. >=20 Took CPU and ACPI related messages from dmesg: CPU: Intel(R) Pentium(R) CPU G3220 @ 3.00GHz (2993.38-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x306c3 Family=3D0x6 Model=3D0x3c = Stepping=3D3 = Features=3D0xbfebfbff = Features2=3D0x4ddaebbf,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,XSAVE,OSXSAVE,= RDRAND> AMD Features=3D0x2c100800 AMD Features2=3D0x21 Structured Extended = Features=3D0x2603 XSAVE Features=3D0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 1.1 on pci0 pci2: on pcib2 pcib3: irq 16 at device 28.0 on pci0 pci3: on pcib3 pcib4: irq 18 at device 28.2 on pci0 pci4: on pcib4 pcib6: irq 19 at device 28.7 on pci0 pci6: on pcib6 pcib7: irq 19 at device 0.0 on pci6 pci7: on pcib7 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 coretemp0: on cpu0 coretemp1: on cpu1 > But listen to John about debugging the ACPI tasks CPU usage issue .. That's where I'm stuck as a junior FreeBSD user: @John; can you suggest = where to search for this? commands? Regards, Arthur van der Peijl