ACPI problems op ASrock

Arthur van der Peijl aavanderpeijl at gmail.com
Tue Sep 29 16:49:48 UTC 2015


On 29 sep. 2015, at 16:42  Ian Smith <smithi at nimnet.asn.au> wrote:

> On Sat, 26 Sep 2015 10:17:20 +0200, Arthur van der Peijl wrote:
> <cut>
>> We're already there. The document described some other setting which 
>> could be read:
>> 
>> [root at 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
>> 
>> I don't inderstand this. 100% CPU is my main issue, created by 
>> {acpi_task} in the kernal. However -> CPU1 supports different states 
>> as CPU0? Or is this a summary of last states?
> 
> I don't follow this either, and don't recall seeing different C-states 
> available on different CPUs?  If cpu1 has only C1, I can't see how cpu0 
> could ever use C2 - with its real win in terms of power consumption - as 
> all CPUs are now set to the same C-state (and P-state) as far as I know.
> 
> Is cpu1 a real CPU, or HTT? Perhaps show the CPU detection details from 
> dmesg.  powerd with standard parameters will always run at top speed 
> with the CPU usage/idle figures you quoted; you could get it to run 
> slower if you adjusted -i and -r settings, as an immediate workaround.
> 

Took CPU and ACPI related messages from dmesg:

CPU: Intel(R) Pentium(R) CPU G3220 @ 3.00GHz (2993.38-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306c3  Family=0x6  Model=0x3c  Stepping=3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4ddaebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,<b11>,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,XSAVE,OSXSAVE,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x21<LAHF,ABM>
  Structured Extended Features=0x2603<FSGSBASE,TSCADJ,ERMS,INVPCID,NFPUSG>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
ACPI APIC Table: <ALASKA A M I>
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: <ALASKA A M I> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 1.1 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib6: <ACPI PCI-PCI bridge> irq 19 at device 28.7 on pci0
pci6: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> irq 19 at device 0.0 on pci6
pci7: <ACPI PCI bus> on pcib7
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
coretemp1: <CPU On-Die Thermal Sensors> 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




More information about the freebsd-acpi mailing list