Date: Fri, 31 Oct 2014 18:54:49 -0700 From: Rui Paulo <rpaulo@me.com> To: Daisuke Aoyama <aoyama@peach.ne.jp> Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD 11-CURRENT on Raspberry Pi 512MB Message-ID: <60F13E5C-A166-497B-8CB7-6C76AFB6BDB8@me.com> In-Reply-To: <5DC02CC61B85442AADD2BDD28496421E@ad.peach.ne.jp> 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> <5DC02CC61B85442AADD2BDD28496421E@ad.peach.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 31, 2014, at 12:32, Daisuke Aoyama <aoyama@peach.ne.jp> wrote: >=20 >> 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? >=20 > I have uploaded as: > http://www.peach.ne.jp/archives/rpi/patch/cpufreq-20141101.tar.gz >=20 > Please use this archive. >=20 > 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 Thanks, I've updated the review page: https://reviews.freebsd.org/D1025 I'm going to review it again during the weekend. > default boot: >=20 > bcm2835_cpufreq0: ARM 700MHz, Core 250MHz, SDRAM 398MHz, Turbo OFF >=20 > verbose boot or hw.bcm2835.cpufreq.verbose=3D1 by loader.conf: >=20 > 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 Cool! > default (max=3D1000MHz): > dev.cpu.0.freq_levels: 1000/-1 900/-1 800/-1 700/-1 600/-1 500/-1 = 400/-1 300/-1 >=20 > hw.bcm2835.cpufreq.lowest_freq=3D500 by loader.conf (max=3D1000MHz): > dev.cpu.0.freq_levels: 1000/-1 900/-1 800/-1 700/-1 600/-1 500/-1 >=20 >=20 >> - Did you measure the power consumption when using the different = frequency values? >=20 > 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. >=20 > Power=3D5.10V > V=3D0/0 300MHz idle/0.35A 1.79W 3%DOWN unixbench/0.39A 50.8C 1.99W = 9%DOWN > V=3D0/0 700MHz idle/0.36A 1.84W ------ unixbench/0.43A 54.6C 2.19W = ------ > V=3D6/1 1000MHz idle/0.40A 2.04W 10%UP unixbench/0.51A 58.3C 2.60W = 19%UP >=20 > Note: > V=3D0/0 mean default voltage(1.2V/1.2V) > V=3D6/1 mean over_voltage=3D6/over_voltage_sdram=3D1(1.35V/1.225V) > All manual setting without powered > Temperature is checked running only That's interesting. Thanks for taking the time to measure it. Regards, -- Rui Paulo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60F13E5C-A166-497B-8CB7-6C76AFB6BDB8>