2012/5/12 bsd <[email protected]> > Le 11 mai 2012 à 19:49, Michael Schuh a écrit : > > > > > > > 2012/5/11 bsd <[email protected]> > > Hi, > > > > I am trying to have PowerD tuned correctly with a Lanner device that I > am resaling. > > > > By default sysctl dev.cpu gives the following : > > > > # sysctl dev.cpu > > dev.cpu.0.%desc: ACPI CPU > > dev.cpu.0.%driver: cpu > > dev.cpu.0.%location: handle=\_PR_.P001 > > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > > dev.cpu.0.%parent: acpi0 > > dev.cpu.0.cx_supported: C1/0 > > dev.cpu.0.cx_lowest: C1 > > dev.cpu.0.cx_usage: 100.00% last 5000us > > dev.cpu.1.%desc: ACPI CPU > > dev.cpu.1.%driver: cpu > > dev.cpu.1.%location: handle=\_PR_.P002 > > dev.cpu.1.%pnpinfo: _HID=none _UID=0 > > dev.cpu.1.%parent: acpi0 > > dev.cpu.1.cx_supported: C1/0 > > dev.cpu.1.cx_lowest: C1 > > dev.cpu.1.cx_usage: 100.00% last 5000us > > > > > > I need to load the cpufreq using kldload to have It taken into account > in the kernel : > > > > # kldload cpufreq > > # sysctl dev.cpu > > dev.cpu.0.%desc: ACPI CPU > > dev.cpu.0.%driver: cpu > > dev.cpu.0.%location: handle=\_PR_.P001 > > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > > dev.cpu.0.%parent: acpi0 > > dev.cpu.0.cx_supported: C1/0 > > dev.cpu.0.cx_lowest: C1 > > dev.cpu.0.cx_usage: 100.00% last 5000us > > dev.cpu.0.freq: 1658 > > dev.cpu.0.freq_levels: 1658/-1 1450/-1 1243/-1 1036/-1 829/-1 621/-1 > 414/-1 207/ > > -1 > > dev.cpu.1.%desc: ACPI CPU > > dev.cpu.1.%driver: cpu > > dev.cpu.1.%location: handle=\_PR_.P002 > > dev.cpu.1.%pnpinfo: _HID=none _UID=0 > > dev.cpu.1.%parent: acpi0 > > dev.cpu.1.cx_supported: C1/0 > > dev.cpu.1.cx_lowest: C1 > > dev.cpu.1.cx_usage: 100.00% last 5000us > > > > > > How can I had this so that the loadable module "cpufreq" will be taken > into account at boot time ? > > And PowerD will be optimized for my platform. > > > > > > Thanks. > > > > > > –––––––––––––––––––––––––––––––––––––––––––––– > > ---------> Grégory Bernard Director <--------- > > ---------------> www.osnet.eu <--------------- > > --> Your provider of OpenSource appliances <-- > > –––––––––––––––––––––––––––––––––––––––––––––– > > OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO > > > > _______________________________________________ > > List mailing list > > [email protected] > > http://lists.pfsense.org/mailman/listinfo/list > > > > Hi, > > > > the clean way > > http://doc.pfsense.org/index.php/Executing_commands_at_boot_time > > > > hth > > > > greetings > > > > m. > > > > -- > > = = = http://michael-schuh.net/ = = = > > Projektmanagement - IT-Consulting - Professional Services IT > > Michael Schuh > > Postfach 10 21 52 > > 66021 Saarbrücken > > phone: 0681/8319664 > > mobil: 0175/5616453 > > @: m i c h a e l . s c h u h @ g m a i l . c o m > > > > = = = Ust-ID: DE251072318 = = = > > _______________________________________________ > > List mailing list > > [email protected] > > http://lists.pfsense.org/mailman/listinfo/list > > > After more investigation, I would rather suggest using > /boot/loader.conf.local and add the following : > > cpufreq_load="YES" > > > You also need to add : > > > kern.timecounter.hardware i8254 > > in System: Advanced: System Tunables > > > and then start/activate PowerD + reboot > > > Then your device should be ready to limit it's power consumption and "save > the planet" ;D > > > –––––––––––––––––––––––––––––––––––––––––––––– > ---------> Grégory Bernard Director <--------- > ---------------> www.osnet.eu <--------------- > --> Your provider of OpenSource appliances <-- > –––––––––––––––––––––––––––––––––––––––––––––– > OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO > > _______________________________________________ > List mailing list > [email protected] > http://lists.pfsense.org/mailman/listinfo/list >
then make a note that this may gets overwritten by updates of the pfSense Firmware. ;-) -- = = = http://michael-schuh.net/ = = = Projektmanagement - IT-Consulting - Professional Services IT Michael Schuh Postfach 10 21 52 66021 Saarbrücken phone: 0681/8319664 mobil: 0175/5616453 @: m i c h a e l . s c h u h @ g m a i l . c o m = = = Ust-ID: DE251072318 = = =
_______________________________________________ List mailing list [email protected] http://lists.pfsense.org/mailman/listinfo/list
