Date: Sat, 1 Nov 2014 04:32:25 +0900 From: "Daisuke Aoyama" <aoyama@peach.ne.jp> To: "Rui Paulo" <rpaulo@me.com> Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD 11-CURRENT on Raspberry Pi 512MB Message-ID: <5DC02CC61B85442AADD2BDD28496421E@ad.peach.ne.jp> In-Reply-To: <09F2506B-11E9-43A2-A783-784AA6E39976@me.com> References: <0A8390C3FC2B444B9AA8AC934B79DCD6@ad.peach.ne.jp> <C9E25385-E665-4895-96CE-DCC71B36FF3B@me.com> <DF85948EF6CF4FF28BA12309FEFA1B67@ad.peach.ne.jp> <7946CCA3-26D0-4B6E-AEBB-8623CAAA9725@me.com> <840772A7305444C1B1AF7CE31A89BD7D@ad.peach.ne.jp> <09F2506B-11E9-43A2-A783-784AA6E39976@me.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>That patch has a lot of unrelated changes. Could you produce a patch with svn that is just >related to cpufreq and its mbox changes? I have uploaded as: http://www.peach.ne.jp/archives/rpi/patch/cpufreq-20141101.tar.gz Please use this archive. CHANGES: modify for style(9) and 80 columns remove multiple cast remove bootverbose of error case remove unused code and g_XXXX variables fix wrong message/comments. add DPRINTF and dump into #ifdef DEBUG add tunable int for verbose and lowest_freq suppress default boot log default boot: bcm2835_cpufreq0: ARM 700MHz, Core 250MHz, SDRAM 398MHz, Turbo OFF verbose boot or hw.bcm2835.cpufreq.verbose=1 by loader.conf: bcm2835_cpufreq0: Boot settings: bcm2835_cpufreq0: current ARM 700MHz, Core 250MHz, SDRAM 398MHz, Turbo OFF bcm2835_cpufreq0: max/min ARM 1000/700MHz, Core 500/250MHz, SDRAM 500/400MHz bcm2835_cpufreq0: current Core 1200mV, SDRAM_C 1200mV, SDRAM_I 1200mV, SDRAM_P 1200mV bcm2835_cpufreq0: max/min Core 1350/1200mV, SDRAM_C 1225/1200mV, SDRAM_I 1225/1200mV, SDRAM_P 1225/1200mV default (max=1000MHz): dev.cpu.0.freq_levels: 1000/-1 900/-1 800/-1 700/-1 600/-1 500/-1 400/-1 300/-1 hw.bcm2835.cpufreq.lowest_freq=500 by loader.conf (max=1000MHz): dev.cpu.0.freq_levels: 1000/-1 900/-1 800/-1 700/-1 600/-1 500/-1 >- Did you measure the power consumption when using the different frequency values? I have tried to get an ampere on USB power cable both idle and running ports/benchmarks/unixbench. Following table is the result. It's not so different on CPU idle. Power=5.10V V=0/0 300MHz idle/0.35A 1.79W 3%DOWN unixbench/0.39A 50.8C 1.99W 9%DOWN V=0/0 700MHz idle/0.36A 1.84W ------ unixbench/0.43A 54.6C 2.19W ------ V=6/1 1000MHz idle/0.40A 2.04W 10%UP unixbench/0.51A 58.3C 2.60W 19%UP Note: V=0/0 mean default voltage(1.2V/1.2V) V=6/1 mean over_voltage=6/over_voltage_sdram=1(1.35V/1.225V) All manual setting without powered Temperature is checked running only Thank you. -- Daisuke Aoyama
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5DC02CC61B85442AADD2BDD28496421E>