Csound Csound-dev Csound-tekno Search About

Re: Overclock best for Raspberry PI2

Date2015-08-23 00:32
From"Partev Barr Sarkissian"
SubjectRe: Overclock best for Raspberry PI2
AttachmentsNone  None  

If you get audio drop-outs, it may be due to clock jitter. Used to have 
problems with that, with hardware, trying to over clock DSP chip without 
good phase-lock-loops or good anti-jitter circuits. 

Start with a high clock rate, then, divide down to the desired clock rate. 
Easier to divide down, than multiply up.

Might be easier to accomplish in the virtual world, to do the clocking 
from within the program,... 

CLK_SYS ---> MCU ---> DSP ---> kF(s)     

... where kF(s) is one or more oversample frequency rate clocks. 
The kF(s) clocks are done mathematically with the processor, then 
pumped out for use as clocks for use where needed. Typiclly 
these are 64xF(s), 128xF(s), and 256xF(s). 

Not sure how that would be implemented on a Raspberry Pi, don't 
know enough about the hardware yet. 


-PBS 


 ====================================


--- loraxman@gmail.com wrote:

From: Roger Kelly <loraxman@gmail.com>
To: "csound users' discussions" <Csound-users@lists.sourceforge.net>
Subject: [Csnd] Overclock best for Raspberry PI2
Date: Sat, 22 Aug 2015 11:26:44 -0500

Does anyone have some advice on best over clock settings for the RaspberryPI2 when running Csound?


------------------------------------------------------------------------------ _______________________________________________ Csound-users mailing list Csound-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/csound-users Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

 

Netscape.  Just the Net You Need.

Date2015-08-23 02:55
FromPaul Batchelor
SubjectRe: Overclock best for Raspberry PI2
AttachmentsNone  None  
I have yet to experiment with overclocking a Pi 2, but I have done it for some projects utilizing the old Model B. From the quick googling I've found, it seems that settings for overclocking for a Pi 2 are a little open ended.

Overclocking with Csound and the Pi has always involved a bit of experimentation for me. I'd try starting out small and working up until you get rid of drop outs.

Personally, I try to avoid overclocking, and use it only after I've exhausted all the various design tricks in Csound for optimizing instruments. It's actually surprising how far much you can do with an Pi 2 out of the box. I've been able to process live input with ReverbSC in stereo at 44.1khz with no noticeable latency... something that would been unimaginable with the old model B!


If you do end up finding some good optimization settings, please do share!

-P

On Sat, Aug 22, 2015 at 7:32 PM, Partev Barr Sarkissian <encino_man@netscape.com> wrote:

If you get audio drop-outs, it may be due to clock jitter. Used to have 
problems with that, with hardware, trying to over clock DSP chip without 
good phase-lock-loops or good anti-jitter circuits. 

Start with a high clock rate, then, divide down to the desired clock rate. 
Easier to divide down, than multiply up.

Might be easier to accomplish in the virtual world, to do the clocking 
from within the program,... 

CLK_SYS ---> MCU ---> DSP ---> kF(s)     

... where kF(s) is one or more oversample frequency rate clocks. 
The kF(s) clocks are done mathematically with the processor, then 
pumped out for use as clocks for use where needed. Typiclly 
these are 64xF(s), 128xF(s), and 256xF(s). 

Not sure how that would be implemented on a Raspberry Pi, don't 
know enough about the hardware yet. 


-PBS 


 ====================================


--- loraxman@gmail.com wrote:

From: Roger Kelly <loraxman@gmail.com>
To: "csound users' discussions" <Csound-users@lists.sourceforge.net>
Subject: [Csnd] Overclock best for Raspberry PI2
Date: Sat, 22 Aug 2015 11:26:44 -0500

Does anyone have some advice on best over clock settings for the RaspberryPI2 when running Csound?


------------------------------------------------------------------------------ _______________________________________________ Csound-users mailing list Csound-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/csound-users Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

 

Netscape.  Just the Net You Need.

------------------------------------------------------------------------------

_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



Date2015-08-23 04:29
FromBrian Redfern
SubjectOverclock best for Raspberry PI2
AttachmentsNone  None  
I have raspbian tuned for really low latency but I built my own custom kernel with the system clock set to 1000 instead of the default 100. Pi2 does give you a low latency kernel but the system clock is still set too low its not really hard to roll a new kernel on device in fact compared to when I was hacking on the rk3188 its dead easy, no cross compilation required.