On Sun, Oct 12, 2014 at 07:56:59AM -0400, Julian Andrej wrote:
> I'm using an amd64 snapshot from saturday.
> 
> I measure power consumed by my desktop using a watt-meter.
> Before updating i could reduce watt usage with using 'apm -C'.
> Now there is NO difference regarding watt usage using either
> 'apm -C' or 'apm -H' or disabling apm completely. The watt-meter
> always stays around the same number.

The code in charge of the cpu scaling was updated recently. Now
OpenBSD is so sensible that your CPU is almost always running at the
highest speed when firefox is running or you are using any modern
desktop :)

The change makes sense for a lot of type of workloads (like servers)
but desktops with inefficient software will waste a lot watts.

> 
> dmesg is attached.
> OpenBSD 5.6-current (GENERIC.MP) #413: Sat Oct 11 15:59:03 MDT 2014
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8257769472 (7875MB)
> avail mem = 8029241344 (7657MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xef370 (26 entries)
> bios0: vendor American Megatrends Inc. version "P2.10" date 05/07/2012
> bios0: ASRock Z68 Pro3
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S3 S4 S5
> acpi0: tables DSDT FACP APIC ASF! MCFG AAFT HPET SSDT SSDT SSDT BGRT
> acpi0: wakeup devices CIR_(S3) PS2K(S4) PS2M(S4) UAR1(S4) P0P1(S4) USB1(S3) 
> USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) USB7(S3) RP01(S4) RP02(S4) 
> RP03(S4) RP04(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3093.41 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3092.97 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 4 (application processor)
> cpu2: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3092.97 MHz
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 6 (application processor)
> cpu3: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3092.97 MHz
> cpu3: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 0, core 3, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (P0P1)
> acpiprt2 at acpi0: bus 1 (RP01)
> acpiprt3 at acpi0: bus -1 (RP02)
> acpiprt4 at acpi0: bus -1 (RP03)
> acpiprt5 at acpi0: bus -1 (RP04)
> acpiprt6 at acpi0: bus 2 (RP05)
> acpiprt7 at acpi0: bus 3 (PE2P)
> acpiprt8 at acpi0: bus 4 (RP06)
> acpiprt9 at acpi0: bus 5 (RP07)
> acpiprt10 at acpi0: bus -1 (RP08)
> acpiprt11 at acpi0: bus -1 (PEG0)
> acpiprt12 at acpi0: bus -1 (PEG1)
> acpiprt13 at acpi0: bus -1 (PEG2)
> acpiprt14 at acpi0: bus -1 (PEG3)
> acpiec0 at acpi0: not present
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpicpu2 at acpi0: C3, C2, C1, PSS
> acpicpu3 at acpi0: C3, C2, C1, PSS
> acpibat0 at acpi0: BAT0 not present
> acpibat1 at acpi0: BAT1 not present
> acpibat2 at acpi0: BAT2 not present
> acpibtn0 at acpi0: PWRB
> acpibtn1 at acpi0: LID0
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: DD02
> cpu0: Enhanced SpeedStep 3093 MHz: speeds: 3101, 3100, 3000, 2900, 2800, 
> 2700, 2600, 2500, 2300, 2200, 2100, 2000, 1900, 1800, 1700, 1600 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
> vga1 at pci0 dev 2 function 0 "Intel HD Graphics 2000" rev 0x09
> intagp at vga1 not configured
> inteldrm0 at vga1
> drm0 at inteldrm0
> drm: Memory usable by graphics device = 2048M
> inteldrm0: 1920x1200
> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 16
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi
> azalia0: codecs: Realtek/0x0892, Intel/0x2805, using Realtek/0x0892
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi
> pci1 at ppb0 bus 1
> ppb1 at pci0 dev 28 function 4 "Intel 82801BA Hub-to-PCI" rev 0xb5: msi
> pci2 at ppb1 bus 2
> ppb2 at pci2 dev 0 function 0 "ASMedia ASM1083/1085 PCIE-PCI" rev 0x03
> pci3 at ppb2 bus 3
> ppb3 at pci0 dev 28 function 5 "Intel 6 Series PCIE" rev 0xb5: msi
> pci4 at ppb3 bus 4
> re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL 
> (0x2c80), msi, address 00:25:22:dc:37:c9
> rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5
> ppb4 at pci0 dev 28 function 6 "Intel 6 Series PCIE" rev 0xb5: msi
> pci5 at ppb4 bus 5
> "Etron xHCI" rev 0x01 at pci5 dev 0 function 0 not configured
> ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 23
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> pcib0 at pci0 dev 31 function 0 "Intel Z68 LPC" rev 0x05
> ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: msi, AHCI 1.3
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 840, DXT0> SCSI3 0/direct 
> fixed naa.500253855016cf87
> sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
> sd1 at scsibus1 targ 2 lun 0: <ATA, WDC WD10EAVS-00D, 01.0> SCSI3 0/direct 
> fixed naa.50014ee1ac537de0
> sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
> cd0 at scsibus1 targ 3 lun 0: <TSSTcorp, CDDVDW SH-222AB, SB00> ATAPI 5/cdrom 
> removable
> ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic 2 int 
> 18
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600
> spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33
> lm1 at wbsio0 port 0x290/8: NCT6776F
> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> uhidev0 at uhub3 port 2 configuration 1 interface 0 "vendor 0x173d product 
> 0x0005" rev 1.10/1.50 addr 3
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev1 at uhub3 port 2 configuration 1 interface 1 "vendor 0x173d product 
> 0x0005" rev 1.10/1.50 addr 3
> uhidev1: iclass 3/0, 3 report ids
> uhid0 at uhidev1 reportid 1: input=3, output=0, feature=0
> uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
> uhid2 at uhidev1 reportid 3: input=2, output=0, feature=0
> uvideo0 at uhub3 port 5 configuration 1 interface 0 "Logitech product 0x0825" 
> rev 2.00/0.10 addr 4
> video0 at uvideo0
> uaudio0 at uhub3 port 5 configuration 1 interface 2 "Logitech product 0x0825" 
> rev 2.00/0.10 addr 4
> uaudio0: audio descriptors make no sense, error=4
> ugen0 at uhub3 port 5 configuration 1 "Logitech product 0x0825" rev 2.00/0.10 
> addr 4
> uhidev2 at uhub3 port 6 configuration 1 interface 0 "Microsoft Microsoft 
> 5-Button Mouse with IntelliEye(TM)" rev 1.10/3.00 addr 5
> uhidev2: iclass 3/1
> ums0 at uhidev2: 5 buttons, Z dir
> wsmouse0 at ums0 mux 0
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd1a (84af1cd71364ab45.a) swap on sd1b dump on sd1b
> 

-- 
Juan Francisco Cantero Hurtado http://juanfra.info

Reply via email to