Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2015 18:49:42 +0200
From:      Arthur van der Peijl <aavanderpeijl@gmail.com>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        Kevin Oberman <rkoberman@gmail.com>, John Baldwin <jhb@freebsd.org>, "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>
Subject:   Re: ACPI problems op ASrock
Message-ID:  <E1D1D852-A3B2-47BA-A85B-534B035E82A6@gmail.com>
In-Reply-To: <20150930000154.E67283@sola.nimnet.asn.au>
References:  <49E6B533-4457-4583-82A2-9940C291AB51@gmail.com> <CAN6yY1s1akH6Wva-1eyYt3AZWRvvE%2BiSLtydDdfc01OwwOaZwg@mail.gmail.com> <AC265A92-ABE2-442B-9959-EC8F61DFC2C6@gmail.com> <20150930000154.E67283@sola.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help

On 29 sep. 2015, at 16:42  Ian Smith <smithi@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=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<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=3D0x4ddaebbf<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=3D0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=3D0x21<LAHF,ABM>
  Structured Extended =
Features=3D0x2603<FSGSBASE,TSCADJ,ERMS,INVPCID,NFPUSG>
  XSAVE Features=3D0x1<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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1D1D852-A3B2-47BA-A85B-534B035E82A6>