Re: [beagleboard] Setting the CPU speed.

2014-03-18 Thread Ruben Kertesz
Could altering the frequency be considered a power saving feature? 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Setting the CPU speed.

2014-03-18 Thread cwrseckford


On Monday, March 17, 2014 3:28:57 PM UTC, Charles Steinkuehler wrote:

 On 3/16/2014 9:59 AM, cwrse...@gmail.com javascript: wrote: 
  Whatever happens, the frequency stays at 550 MHz. 
  
  All ideas welcome - Will 

 Are you running from the DC power jack? 

 The board is limited to 550 MHz if you use USB power to avoid drawing 
 more current than USB can provide. 



No, I'm running off the DC power jack.  Suspicious, though, that the BBB is 
using 550 MHz which doesn't seem to be one of the standard speed steps. 
 I've wondered about that.

Will
 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Setting the CPU speed.

2014-03-18 Thread Robert Nelson

 No, I'm running off the DC power jack.  Suspicious, though, that the BBB is
 using 550 MHz which doesn't seem to be one of the standard speed steps.
 I've wondered about that.

Sounds like a misconfigured kernel.. uname -r would help

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Setting the CPU speed.

2014-03-17 Thread Charles Steinkuehler
On 3/16/2014 9:59 AM, cwrseckf...@gmail.com wrote:
 Whatever happens, the frequency stays at 550 MHz.
 
 All ideas welcome - Will

Are you running from the DC power jack?

The board is limited to 550 MHz if you use USB power to avoid drawing
more current than USB can provide.

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Setting the CPU speed.

2014-03-16 Thread cwrseckford
Sorry, I should have said that I'd tried cpuinfo. I can change the
governor (with -g), but not the frequency:

tuppence ~ # cpufreq-set -f 1000MHz
tuppence ~ # cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpuf...@vger.kernel.org, please.
analyzing CPU 0:
  driver: generic_cpu0
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 300 us.
  hardware limits: 300 MHz - 1000 MHz
  available frequency steps: 300 MHz, 600 MHz, 800 MHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace, 
powersave, performance
  current policy: frequency should be within 300 MHz and 1000 MHz.
  The governor userspace may decide which speed to use
  within this range.
  current CPU frequency is 550 MHz (asserted by call to hardware).
  cpufreq stats: 300 MHz:nan%, 600 MHz:nan%, 800 MHz:nan%, 1000 MHz:nan%
tuppence ~ # 

Whatever happens, the frequency stays at 550 MHz.

All ideas welcome - Will

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Setting the CPU speed.

2014-03-14 Thread cwrseckford
I've been looking at the speed of my BBB and not really understanding
what's going on.  The files under /sys/devices/system/cpu/cpu0/cpufreq
show that the performance governor is in use, but the speed is a constant
550,000 whatever the load.  The scaling_setspeed unsupported entry
probably reflects this; does anyone know how I set up a kernel to handle
the BBB's CPU speed control?

(This is on debian, btw)

Thanks - Will

tuppence ~ # cpuspeed.sh
affected_cpus 0
cpuinfo_cur_freq 55
cpuinfo_max_freq 100
cpuinfo_min_freq 30
cpuinfo_transition_latency 30
related_cpus 0
scaling_available_frequencies 30 60 80 100 
scaling_available_governors conservative ondemand userspace powersave 
performance 
scaling_cur_freq 55
scaling_driver generic_cpu0
scaling_governor performance
scaling_max_freq 100
scaling_min_freq 30
scaling_setspeed unsupported
tuppence ~ # 


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Setting the CPU speed.

2014-03-14 Thread Maxim Podbereznyy
cpufreq-info
cpufreq-set


2014-03-14 13:31 GMT+04:00 cwrseckf...@gmail.com:

 I've been looking at the speed of my BBB and not really understanding
 what's going on.  The files under /sys/devices/system/cpu/cpu0/cpufreq
 show that the performance governor is in use, but the speed is a constant
 550,000 whatever the load.  The scaling_setspeed unsupported entry
 probably reflects this; does anyone know how I set up a kernel to handle
 the BBB's CPU speed control?

 (This is on debian, btw)

 Thanks - Will

 tuppence ~ # cpuspeed.sh
 affected_cpus 0
 cpuinfo_cur_freq 55
 cpuinfo_max_freq 100
 cpuinfo_min_freq 30
 cpuinfo_transition_latency 30
 related_cpus 0
 scaling_available_frequencies 30 60 80 100
 scaling_available_governors conservative ondemand userspace powersave
 performance
 scaling_cur_freq 55
 scaling_driver generic_cpu0
 scaling_governor performance
 scaling_max_freq 100
 scaling_min_freq 30
 scaling_setspeed unsupported
 tuppence ~ #


  --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
Company - http://www.linkedin.com/company/mentorel
Facebook - https://www.facebook.com/mentorel.company

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Setting the CPU speed.

2014-03-14 Thread William Hermans
Honestly unless you have a specific reason I think the default ( ondemand )
governor is probably the best. While idle for me the CPU has always been
300Mhz, and with a heavy load ( over 60% load ) the CPU goes up to 1Ghz.




On Fri, Mar 14, 2014 at 4:14 AM, Maxim Podbereznyy lisar...@gmail.comwrote:

 cpufreq-info
 cpufreq-set


 2014-03-14 13:31 GMT+04:00 cwrseckf...@gmail.com:

 I've been looking at the speed of my BBB and not really understanding
 what's going on.  The files under /sys/devices/system/cpu/cpu0/cpufreq
 show that the performance governor is in use, but the speed is a constant
 550,000 whatever the load.  The scaling_setspeed unsupported entry
 probably reflects this; does anyone know how I set up a kernel to handle
 the BBB's CPU speed control?

 (This is on debian, btw)

 Thanks - Will

 tuppence ~ # cpuspeed.sh
 affected_cpus 0
 cpuinfo_cur_freq 55
 cpuinfo_max_freq 100
 cpuinfo_min_freq 30
 cpuinfo_transition_latency 30
 related_cpus 0
 scaling_available_frequencies 30 60 80 100
 scaling_available_governors conservative ondemand userspace powersave
 performance
 scaling_cur_freq 55
 scaling_driver generic_cpu0
 scaling_governor performance
 scaling_max_freq 100
 scaling_min_freq 30
 scaling_setspeed unsupported
 tuppence ~ #


  --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




 --
 LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
 Company - http://www.linkedin.com/company/mentorel
 Facebook - https://www.facebook.com/mentorel.company

 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Setting the CPU speed.

2014-03-14 Thread Carl-Fredrik Sundström

I would like to test my application at different lower CPU Frequencies to 
make sure that it would work on a custom board with a lower specced sitara 
processor. Could I lock the CPU at max 600 or 720 MHz ?



On Friday, March 14, 2014 4:34:30 PM UTC-5, William Hermans wrote:

 Honestly unless you have a specific reason I think the default ( ondemand 
 ) governor is probably the best. While idle for me the CPU has always been 
 300Mhz, and with a heavy load ( over 60% load ) the CPU goes up to 1Ghz.

  


 On Fri, Mar 14, 2014 at 4:14 AM, Maxim Podbereznyy 
 lisa...@gmail.comjavascript:
  wrote:

 cpufreq-info
 cpufreq-set


 2014-03-14 13:31 GMT+04:00 cwrse...@gmail.com javascript::

 I've been looking at the speed of my BBB and not really understanding
 what's going on.  The files under /sys/devices/system/cpu/cpu0/cpufreq
 show that the performance governor is in use, but the speed is a constant
 550,000 whatever the load.  The scaling_setspeed unsupported entry
 probably reflects this; does anyone know how I set up a kernel to handle
 the BBB's CPU speed control?

 (This is on debian, btw)

 Thanks - Will

 tuppence ~ # cpuspeed.sh
 affected_cpus 0
 cpuinfo_cur_freq 55
 cpuinfo_max_freq 100
 cpuinfo_min_freq 30
 cpuinfo_transition_latency 30
 related_cpus 0
 scaling_available_frequencies 30 60 80 100 
 scaling_available_governors conservative ondemand userspace powersave 
 performance 
 scaling_cur_freq 55
 scaling_driver generic_cpu0
 scaling_governor performance
 scaling_max_freq 100
 scaling_min_freq 30
 scaling_setspeed unsupported
 tuppence ~ # 


  -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google 
 Groups BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to beagleboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




 -- 
 LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
 Company - http://www.linkedin.com/company/mentorel
 Facebook - https://www.facebook.com/mentorel.company
  
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Setting the CPU speed.

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 4:46 PM, Carl-Fredrik Sundström
audio...@gmail.com wrote:

 I would like to test my application at different lower CPU Frequencies to
 make sure that it would work on a custom board with a lower specced sitara
 processor. Could I lock the CPU at max 600 or 720 MHz ?


voodoo@am335x-boneblack-512mb-1:~$ sudo cpufreq-set -f 80

voodoo@am335x-boneblack-512mb-1:~$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpuf...@vger.kernel.org, please.
analyzing CPU 0:
  driver: generic_cpu0
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 300 us.
  hardware limits: 300 MHz - 1000 MHz
  available frequency steps: 300 MHz, 600 MHz, 800 MHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace,
powersave, performance
  current policy: frequency should be within 300 MHz and 1000 MHz.
  The governor userspace may decide which speed to use
  within this range.
  current CPU frequency is 800 MHz. = BINGO
  cpufreq stats: 300 MHz:3.87%, 600 MHz:0.01%, 800 MHz:0.01%, 1000
MHz:96.11%  (30)


just use cpufreq-set -f (freq)

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.