> From: Jean-Francois [mailto:jfsimon1...@gmail.com] > Sent: Friday, February 05, 2010 5:46 PM > > Le vendredi 05 fivrier 2010 17:43:30, vous avez icrit : > > > Hello, > > > > > > I think of doing this too. > > > What I would like to understand is if I will be able to use the > frequency > > > change 1000 / 2000 MHz dynamic load based. > > > > > > Regards > > > > Do you mean change the frequency depending on load on the computer...? > > This is very easy in a virtual environment, I am not sure on machine. I > > have seen windows software that allows you to change certain options > > while in the OS, though weather you could do this in OpenBSD and > > dynamically you will need to see if someone else knows the answer. GPU's > > are very easy to do this with...certainly doing it manually, but CPU > > stuff I'm not so sure... > > > > Ok. > I was thinking this is integrated in the core of AMD processor. > Anyway I will see depending on the sunked power if it is necessary to > reduce > it further. > > Yes, usually the AMD proc use auto reduce of the frequency during > standstill > of the OS.
The CPU has the ability to lower it's speed but it's the OS that tells it when to slow down. That's what apm -C tries to do. I'm using this at home to reduce power $$$. I've reduced the CPU voltage, and the speed of the integrated GPU (since it's running headless anyway), put all HDDs on idle timers (IBM/Hitachi drives have some nice powersaving features) and my multi-TB storage is usually consuming below 100W intake. Also, apm -C is pure pleasure and gives a significant reduction with my setup. Note: When running with the lowest multiplier, HDD I/O performance may suffer. In my case the lowest CPU rate is at 1000MHz and with full I/O load accross 1 or 2 HDDs the CPU load is below the treshold of the apm -C, so it doesn't speed up. If I switch it manually with apm -H the transfer rate doubles. No RAID here so we're speaking about 30MB/s with apm -C vs. 60MB/s for apm -H. Forgot to mention but this is for stuff served over samba meaning there is some network I/O involved also. Regards, Daniel. PS dmesg below: OpenBSD 4.6-stable (SQUID_DISKD) #13: Sat Nov 28 14:28:10 CET 2009 r...@pegasus.plan9.homeunix.net:/usr/src/sys/arch/i386/compile/SQUID_DISK D cpu0: AMD Sempron(tm) Processor LE-1150 ("AuthenticAMD" 686-class, 256KB L2 cache) 2.01 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,SSE3,CX16 real mem = 1003974656 (957MB) avail mem = 961691648 (917MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/01/08, BIOS32 rev. 0 @ 0xfb7c0, SMBIOS rev. 2.4 @ 0xf0100 (46 entries) bios0: vendor Award Software International, Inc. version "F1" date 02/01/2008 bios0: Gigabyte Technology Co., Ltd. GA-MA74GM-S2H acpi0 at bios0: rev 0 acpi0: tables DSDT FACP SSDT HPET MCFG APIC acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) SBAZ(S4) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE8(S4) PS2K(S5) PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 200MHz ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins ioapic0: misconfigured as apic 4, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (P2P_) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus -1 (PCE3) acpiprt4 at acpi0: bus 2 (PCE4) acpiprt5 at acpi0: bus -1 (PCE5) acpiprt6 at acpi0: bus 3 (PCE6) acpiprt7 at acpi0: bus -1 (PCE7) acpiprt8 at acpi0: bus -1 (PCE8) acpiprt9 at acpi0: bus 1 (AGP_) acpicpu0 at acpi0: PSS acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc0000/0xd600 0xd0000/0x1c00 cpu0: PowerNow! K8 2010 MHz: speeds: 2000 1800 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "ATI RS740 Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "ATI RS690 PCIE" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 "ATI Radeon 2100" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 4 function 0 vendor "ATI", unknown product 0x7914 rev 0x00 pci2 at ppb1 bus 2 re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800), apic 2 int 16 (irq 10), address 00:25:86:e0:22:81 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ppb2 at pci0 dev 6 function 0 "ATI RS690 PCIE" rev 0x00 pci3 at ppb2 bus 3 re1 at pci3 dev 0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C (0x3c00), apic 2 int 18 (irq 7), address 00:1f:d0:5a:41:fa rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 2 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int 22 (irq 11), AHCI 1.1 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, HITACHI HUA7210S, GKAO> SCSI3 0/direct fixed sd0: 953868MB, 512 bytes/sec, 1953523055 sec total sd1 at scsibus0 targ 1 lun 0: <ATA, HITACHI HUA7210S, GKAO> SCSI3 0/direct fixed sd1: 953869MB, 512 bytes/sec, 1953525168 sec total sd2 at scsibus0 targ 2 lun 0: <ATA, HDS725050KLA360, K2AO> SCSI3 0/direct fixed sd2: 476938MB, 512 bytes/sec, 976771055 sec total sd3 at scsibus0 targ 3 lun 0: <ATA, Hitachi HDT72505, V56O> SCSI3 0/direct fixed sd3: 476938MB, 512 bytes/sec, 976771055 sec total sd4 at scsibus0 targ 4 lun 0: <ATA, WDC WD10EACS-00D, 01.0> SCSI3 0/direct fixed sd4: 953869MB, 512 bytes/sec, 1953525168 sec total sd5 at scsibus0 targ 5 lun 0: <ATA, SAMSUNG HD154UI, 1AG0> SCSI3 0/direct fixed sd5: 1430799MB, 512 bytes/sec, 2930277168 sec total ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 16 (irq 10), version 1.0, legacy support ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 16 (irq 10), version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 (irq 4) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18 (irq 7), version 1.0, legacy support ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 18 (irq 7), version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 19 (irq 3) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3a: SMI iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5 pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00 ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00 pci4 at ppb3 bus 4 skc0 at pci4 dev 6 function 0 "D-Link Systems DGE-530T A1" rev 0x11, Yukon (0x1): apic 2 int 20 (irq 5) sk0 at skc0 port A: address 00:13:46:64:e1:ef eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 3 ohci4 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int 18 (irq 7), version 1.0, legacy support pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev DH-G1 usb2 at ohci0: USB revision 1.0 uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb3 at ohci1: USB revision 1.0 uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb4 at ohci2: USB revision 1.0 uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb5 at ohci3: USB revision 1.0 uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 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 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 it0 at isa0 port 0x2e/2: IT8718F rev 5, EC port 0x228 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 lms1 at isa0 port 0x238/4 irq 5 wsmouse0 at lms1 mux 0 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec usb6 at ohci4: USB revision 1.0 uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 mtrr: Pentium Pro MTRR support softraid0 at root root on sd0a swap on sd0b dump on sd0b