RCSN 发表于 2022-6-4 23:33

[先楫HPM6750测评之九]细说性能提升的优化方法

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;在之前的coremark跑分贴子上,在flash和ram运行的性能大致一样,主要的原因还是代码空间小于32K,这刚好是cache的空间范围内,hpm6570有32K ICACHE和32K DCACHE,性能上是最高的,所以跑分上,两者并没有太大的差距。</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">但是,如果代码空间超过了32K,这时候cache总会有用满的时候,也会有不命中的情况下,这时候需要考虑的正是系统资源和编译整合利用。</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;下面以littlevgl的benchmark跑分例子要进行性能提升的一个验证方法,当然这仅仅作为参考,并不能决定大多数应用场景。</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">由于上个贴子说明了SPI的一点缺陷,会导致DMA的辅助功能提升并不大,在实际跑lvgl的时候,code放在flash,编译器使用segger,代码缺省优化,也其实没优化的情况下,生成的代码如下:</span></span></p>

<p></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;</p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;那么按照这样烧录进去,weightied fps大概是120多左右</span></span></p>

<p> &nbsp;</p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjQ5MzAtMTY1NDM1NDEyMDg5OCIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLpgqMifSx7ImNoYXIiOiLkuYgifSx7ImNoYXIiOiLmjIkifSx7ImNoYXIiOiLnhacifSx7ImNoYXIiOiLov5kifSx7ImNoYXIiOiLmoLcifSx7ImNoYXIiOiLng6cifSx7ImNoYXIiOiLlvZUifSx7ImNoYXIiOiLov5sifSx7ImNoYXIiOiLljrsifSx7ImNoYXIiOiLvvIwifSx7ImNoYXIiOiJ3In0seyJjaGFyIjoiZSJ9LHsiY2hhciI6ImkifSx7ImNoYXIiOiJnIn0seyJjaGFyIjoiaCJ9LHsiY2hhciI6InQifSx7ImNoYXIiOiJpIn0seyJjaGFyIjoiZSJ9LHsiY2hhciI6ImQifSx7ImNoYXIiOiIgIn0seyJjaGFyIjoiZiJ9LHsiY2hhciI6InAifSx7ImNoYXIiOiJzIn0seyJjaGFyIjoi5aSnIn0seyJjaGFyIjoi5qaCIn0seyJjaGFyIjoi5pivIn0seyJjaGFyIjoiMSJ9LHsiY2hhciI6IjIifSx7ImNoYXIiOiIwIn0seyJjaGFyIjoi5aSaIn0seyJjaGFyIjoi5bemIn0seyJjaGFyIjoi5Y+zIn1dLCJpc1JpY2hUZXh0Ijp0cnVlLCJrZWVwTGluZUJyZWFrIjp0cnVlfX1d-->&nbsp;</p>

<p><span style="font-family:宋体;"><span style="font-size:20px;">&nbsp;&nbsp;这是有点低了,先从lvgl的配置上去优化,lvgl的刷新周期,从30fps最大刷新率改为100fps刷新率,提升上也并不是很大,大概在160左右变动。</span></span></p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjMwNzAtMTY1NDM1NDkyMzU5OCIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLov5kifSx7ImNoYXIiOiLmmK8ifSx7ImNoYXIiOiLmnIkifSx7ImNoYXIiOiLngrkifSx7ImNoYXIiOiLkv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n0seyJjaGFyIjoi5aSnIn0seyJjaGFyIjoi77yMIn0seyJjaGFyIjoi5aSnIn0seyJjaGFyIjoi5qaCIn0seyJjaGFyIjoi5ZyoIn0seyJjaGFyIjoiMSJ9LHsiY2hhciI6IjYifSx7ImNoYXIiOiIwIn0seyJjaGFyIjoi5bemIn0seyJjaGFyIjoi5Y+zIn0seyJjaGFyIjoi5Y+YIn0seyJjaGFyIjoi5YqoIn0seyJjaGFyIjoi44CCIn1dLCJpc1JpY2hUZXh0Ijp0cnVlLCJrZWVwTGluZUJyZWFrIjp0cnVlfX1d--></p>

<p> &nbsp; &nbsp;</p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;&nbsp;那么开O3优化的效果又是如何,再次烧录进去,weightied fps大概是174多左右</span></span></p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjcyNjktMTY1NDM1NDUxMTY2MyIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLpgqMifSx7ImNoYXIiOiLkuYgifSx7ImNoYXIiOiLlvIAifSx7ImNoYXIiOiJPIn0seyJjaGFyIjoiMyJ9LHsiY2hhciI6IuS8mCJ9LHsiY2hhciI6IuWMliJ9LHsiY2hhciI6IueahCJ9LHsiY2hhciI6IuaViCJ9LHsiY2hhciI6IuaenCJ9LHsiY2hhciI6IuWPiCJ9LHsiY2hhciI6IuaYryJ9LHsiY2hhciI6IuWmgiJ9LHsiY2hhciI6IuS9lSJ9LHsiY2hhciI6Iu+8jCJ9LHsiY2hhciI6IuWGjSJ9LHsiY2hhciI6IuasoSJ9LHsiY2hhciI6IueDpyJ9LHsiY2hhciI6IuW9lSJ9LHsiY2hhciI6Iui/myJ9LHsiY2hhciI6IuWOuyJ9LHsiY2hhciI6Iu+8jCJ9LHsiY2hhciI6IncifSx7ImNoYXIiOiJlIn0seyJjaGFyIjoiaSJ9LHsiY2hhciI6ImcifSx7ImNoYXIiOiJoIn0seyJjaGFyIjoidCJ9LHsiY2hhciI6ImkifSx7ImNoYXIiOiJlIn0seyJjaGFyIjoiZCJ9LHsiY2hhciI6IiAifSx7ImNoYXIiOiJmIn0seyJjaGFyIjoicCJ9LHsiY2hhciI6InMifSx7ImNoYXIiOiLlpKcifSx7ImNoYXIiOiLmpoIifSx7ImNoYXIiOiLmmK8ifSx7ImNoYXIiOiIxIn0seyJjaGFyIjoiNyJ9LHsiY2hhciI6IjQifSx7ImNoYXIiOiLlpJoifSx7ImNoYXIiOiLlt6YifSx7ImNoYXIiOiLlj7MifV0sImlzUmljaFRleHQiOnRydWUsImtlZXBMaW5lQnJlYWsiOnRydWV9fV0=--></p>

<p> &nbsp;</p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">当然也试了以下方法,实验过程也忘了拍照,但是其实效果性能并没有提升多少,也就180左右变动</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">1、改为全尺寸双缓冲,但是其实这种对MCU屏幕有用,对于SPI屏幕上,效果并没多少。</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">2、改为非全尺寸双缓冲,大概五分之一局部刷新。</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">3、改为单缓冲局部刷新和单缓冲全尺寸刷新,效果均不大。</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;&nbsp;于是试着找了官方的技术,放假期间的,技术也在中午跟着我远程调试了下,换为GCC编译器,以及开启了相关优化,优化提升也不明显,大概也是180fps变动。</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;&nbsp;在调试的过程中,有个idea让楼主茅塞顿开,也就是官方技术建议就是把中断isr放在ram运行,但实际提升也不大。</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">于是楼主照着这个思路来看下性能有没有增加,也就是把核心的代码加载到ram中运行。好在与hpm6750有足够的RAM来加载,根据手册可知道,两核心有SLV各512K,SRAM一共1M,这是足够加载很多核心代码。</span></span></p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjcxNTktMTY1NDM1NDU0NTQ0MCIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLlvZMifSx7ImNoYXIiOiLnhLYifSx7ImNoYXIiOiLkuZ8ifSx7ImNoYXIiOiLor5UifSx7ImNoYXIiOiLkuoYifSx7ImNoYXIiOiLku6UifSx7ImNoYXIiOiLkuIsifSx7ImNoYXIiOiLmlrkifSx7ImNoYXIiOiLms5UifSx7ImNoYXIiOiLvvIwifSx7ImNoYXIiOiLlrp4ifSx7ImNoYXIiOiLpqowifSx7ImNoYXIiOiLov4cifSx7ImNoYXIiOiLnqIsifSx7ImNoYXIiOiLkuZ8ifSx7ImNoYXIiOiLlv5gifSx7ImNoYXIiOiLkuoYifSx7ImNoYXIiOiLmi40ifSx7ImNoYXIiOiLnhacifSx7ImNoYXIiOiLvvIwifSx7ImNoYXIiOiLkvYYifSx7ImNoYXIiOiLmmK8ifSx7ImNoYXIiOiLlhbYifSx7ImNoYXIiOiLlrp4ifSx7ImNoYXIiOiLmlYgifSx7ImNoYXIiOiLmnpwifSx7ImNoYXIiOiLmgKcifSx7ImNoYXIiOiLog70ifSx7ImNoYXIiOiLlubYifSx7ImNoYXIiOiLmsqEifSx7ImNoYXIiOiLmnIkifSx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W5lQnJlYWsiOnRydWV9fV0=--></p>

<p> &nbsp;</p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;&nbsp;说干就干,在代码上去实现的话,可以使用ATTR_RAMFUNC修饰符放在定义的函数前面,这样编译的时候就会加载到RAM运行。</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;&nbsp;在实际调试中,单纯几个函数的修饰并不能解决问题。也不可能去手动一个一个修饰,好在与SES可以可视化去操作加载。从ATTR_RAMFUNC,Link文件可看到。</span></span></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">ATTR_RAMFUNC是把函数放在了section的.fast中,</span></span></p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjcxNDEtMTY1NDM1NTQ3OTUyNCIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLor7QifSx7ImNoYXIiOiLlubIifSx7ImNoYXIiOiLlsLEifSx7ImNoYXIiOiLlubIifSx7ImNoYXIiOiLvvIwifSx7ImNoYXIiOiLlnKgifSx7ImNoYXIiOiLku6MifSx7ImNoYXIiOiLnoIEifSx7ImNoYXIiOiLkuIoifSx7ImNoYXIiOiLljrsifSx7ImNoYXIiOiLlrp4ifSx7ImNoYXIiOiLnjrAifSx7ImNoYXIiOiLnmoQifSx7ImNoYXIiOiLor50ifSx7ImNoYXIiOiLvvIwifSx7ImNoYXIiOiLlj68ifSx7ImNoYXIiOiLku6UifSx7ImNoYXIiOiLkvb8ifSx7ImNoYXIiOiLnlKgifSx7ImNoYXIiOiJBIn0seyJjaGFyIjoiVCJ9LHsiY2hhciI6IlQifSx7Im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lL4ifSx7ImNoYXIiOiLlnKgifSx7ImNoYXIiOiLkuoYifSx7ImNoYXIiOiJzIn0seyJjaGFyIjoiZSJ9LHsiY2hhciI6ImMifSx7ImNoYXIiOiJ0In0seyJjaGFyIjoiaSJ9LHsiY2hhciI6Im8ifSx7ImNoYXIiOiJuIn0seyJjaGFyIjoi55qEIn0seyJjaGFyIjoiLiJ9LHsiY2hhciI6ImYifSx7ImNoYXIiOiJhIn0seyJjaGFyIjoicyJ9LHsiY2hhciI6InQifSx7ImNoYXIiOiLkuK0ifSx7ImNoYXIiOiLvvIwifV0sImlzUmljaFRleHQiOnRydWUsImtlZXBMaW5lQnJlYWsiOnRydWV9fV0=--></p>

<p> &nbsp;</p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;&nbsp;从Link可看到,fast是放在了ILM_SLV的256K空间中。</span></span></p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjQzNTAtMTY1NDM1NTcwNzcyNSIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLku44ifSx7ImNoYXIiOiJMIn0seyJjaGFyIjoiaSJ9LHsiY2hhciI6Im4ifSx7ImNoYXIiOiJrIn0seyJjaGFyIjoi5Y+vIn0seyJjaGFyIjoi55yLIn0seyJjaGFyIjoi5YiwIn0seyJjaGFyIjoi77yMIn0seyJjaGFyIjoiZiJ9LHsiY2hhciI6ImEifSx7ImNoYXIiOiJzIn0seyJjaGFyIjoidCJ9LHsiY2hhciI6IuaYryJ9LHsiY2hhciI6IuaUviJ9LHsiY2hhciI6IuWcqCJ9LHsiY2hhciI6IuS6hiJ9LHsiY2hhciI6IkkifSx7ImNoYXIiOiJMIn0seyJjaGFyIjoiTSJ9LHsiY2hhciI6Il8ifSx7ImNoYXIiOiJTIn0seyJjaGFyIjoiTCJ9LHsiY2hhciI6IlYifSx7ImNoYXIiOiLnmoQifSx7ImNoYXIiOiIyIn0seyJjaGFyIjoiNSJ9LHsiY2hhciI6IjYifSx7ImNoYXIiOiJLIn0seyJjaGFyIjoi56m6In0seyJjaGFyIjoi6Ze0In0seyJjaGFyIjoi5LitIn0seyJjaGFyIjoi44CCIn1dLCJpc1JpY2hUZXh0Ijp0cnVlLCJrZWVwTGluZUJyZWFrIjp0cnVlfX1d--></p>

<p> &nbsp;</p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;&nbsp;于是我们可以参考Link,自己在copy个link,把fast放在更大的RAM上,也就是SRAM上</span></span></p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6Ijc3NTktMTY1NDM1NTc1MDQyOSIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLkuo4ifSx7ImNoYXIiOiLmmK8ifSx7ImNoYXIiOiLmiJEifSx7ImNoYXIiOiLku6wifSx7ImNoYXIiOiLlj68ifSx7ImNoYXIiOiLku6UifSx7ImNoYXIiOiLlj4IifSx7ImNoYXIiOiLogIMifSx7ImNoYXIiOiJMIn0seyJjaGFyIjoiaSJ9LHsiY2hhciI6Im4ifSx7ImNoYXIiOiJrIn0seyJjaGFyIjoi77yMIn0seyJjaGFyIjoi6IeqIn0seyJjaGFyIjoi5bexIn0seyJjaGFyIjoi5ZyoIn0seyJjaGFyIjoiYyJ9LHsiY2hhciI6Im8ifSx7ImNoYXIiOiJwIn0seyJjaGFyIjoieSJ9LHsiY2hhciI6IuS4qiJ9LHsiY2hhciI6ImwifSx7ImNoYXIiOiJpIn0seyJjaGFyIjoibiJ9LHsiY2hhciI6ImsifSx7ImNoYXIiOiIsIn0seyJjaGFyIjoi5oqKIn0seyJjaGFyIjoiZiJ9LHsiY2hhciI6ImEifSx7ImNoYXIiOiJzIn0seyJjaGFyIjoidCJ9LHsiY2hhciI6IuaUviJ9LHsiY2hhciI6IuWcqCJ9LHsiY2hhciI6IuabtCJ9LHsiY2hhciI6IuWkpyJ9LHsiY2hhciI6IueahCJ9LHsiY2hhciI6IlIifSx7ImNoYXIiOiJBIn0seyJjaGFyIjoiTSJ9LHsiY2hhciI6IuS4iiJ9LHsiY2hhciI6Iu+8jCJ9LHsiY2hhciI6IuS5nyJ9LHsiY2hhciI6IuWwsSJ9LHsiY2hhciI6IuaYryJ9LHsiY2hhciI6IlMifSx7ImNoYXIiOiJSIn0seyJjaGFyIjoiQSJ9LHsiY2hhciI6Ik0ifSx7ImNoYXIiOiLkuIoifV0sImlzUmljaFRleHQiOnRydWUsImtlZXBMaW5lQnJlYWsiOnRydWV9fV0=--></p>

<p></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;&nbsp;那么ses如何去加载这些函数到RAM上了,跟keil类似</span></span></p>

<p>右键点击需要加载的文件夹,选择options</p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjY5ODctMTY1NDM1NTg0MzI1MSIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLpgqMif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2hhciI6Iu+8jCJ9LHsiY2hhciI6IumAiSJ9LHsiY2hhciI6IuaLqSJ9LHsiY2hhciI6Im8ifSx7ImNoYXIiOiJwIn0seyJjaGFyIjoidCJ9LHsiY2hhciI6ImkifSx7ImNoYXIiOiJvIn0seyJjaGFyIjoibiJ9LHsiY2hhciI6InMifV0sImlzUmljaFRleHQiOnRydWUsImtlZXBMaW5lQnJlYWsiOnRydWV9fV0=--></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;&nbsp;选择code段改为.fast,这样就可以一次搞定加载所有需要到RAM运行的函数。</span></span></p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjgwMzgtMTY1NDM1NTk3Nzc1MSIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLpgIkifSx7ImNoYXIiOiLmi6kifSx7ImNoYXIiOiJjIn0seyJjaGFyIjoibyJ9LHsiY2hhciI6ImQifSx7ImNoYXIiOiJlIn0seyJjaGFyIjoi5q61In0seyJjaGFyIjoi5pS5In0seyJjaGFyIjoi5Li6In0seyJjaGFyIjoiLiJ9LHsiY2hhciI6ImYifSx7ImNoYXIiOiJhIn0seyJjaGFyIjoicyJ9LHsiY2hhciI6InQifSx7ImNoYXIiOiLvvIwifSx7ImNoYXIiOiLov5kifSx7ImNoYXIiOiLmoLcifSx7ImNoYXIiOiLlsLEifSx7ImNoYXIiOiLlj68ifSx7ImNoYXIiOiLku6UifSx7ImNoYXIiOiLkuIAifSx7ImNoYXIiOiLmrKEifSx7ImNoYXIiOiLmkJ4ifSx7ImNoYXIiOiLlrpoifSx7ImNoYXIiOiLliqAifSx7ImNoYXIiOiLovb0ifSx7ImNoYXIiOiLmiYAifSx7ImNoYXIiOiLmnIkifSx7ImNoYXIiOiLpnIAifSx7ImNoYXIiOiLopoEifSx7ImNoYXIiOiLliLAifSx7ImNoYXIiOiJSIn0seyJjaGFyIjoiQSJ9LHsiY2hhciI6Ik0ifSx7ImNoYXIiOiLov5AifSx7ImNoYXIiOiLooYwifSx7ImNoYXIiOiLnmoQifSx7ImNoYXIiOiLlh70ifSx7ImNoYXIiOiLmlbAifSx7ImNoYXIiOiLjgIIifV0sImlzUmljaFRleHQiOnRydWUsImtlZXBMaW5lQnJlYWsiOnRydWV9fV0=--> &nbsp; &nbsp; &nbsp;</p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">&nbsp;&nbsp;根据之前的调试性能,再加载核心的放在RAM中运行,烧录代码进去,奇迹的时刻,从122fps提升到286,整整提升了两倍性能,这已经对于SPI这个稍微缺陷IP,足够有帮助了。</span></span></p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjIwNzItMTY1NDM1NTk3Nzc1MSIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiOiLmoLkifSx7ImNoYXIiOiLmja4ifSx7ImNoYXIiOiLkuYsifSx7ImNoYXIiOiLliY0ifSx7ImNoYXIiOiLnmoQifSx7ImNoYXIiOiLosIMifSx7ImNoYXIiOiLor5UifSx7ImNoYXIiOiLmgKcifSx7ImNoYXIiOiLog70ifSx7ImNoYXIiOiLvvIwifSx7ImNoYXIiOiLlho0ifSx7ImNoYXIiOiLliqAifSx7ImNoYXIiOiLovb0ifSx7ImNoYX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IkkifSx7ImNoYXIiOiLov5kifSx7ImNoYXIiOiLkuKoifSx7ImNoYXIiOiLnqI0ifSx7ImNoYXIiOiLlvq4ifSx7ImNoYXIiOiLnvLoifSx7ImNoYXIiOiLpmbcifSx7ImNoYXIiOiJJIn0seyJjaGFyIjoiUCJ9LHsiY2hhciI6Iu+8jCJ9LHsiY2hhciI6Iui2syJ9LHsiY2hhciI6IuWknyJ9LHsiY2hhciI6IuaciSJ9LHsiY2hhciI6IuW4riJ9LHsiY2hhciI6IuWKqSJ9LHsiY2hhciI6IuS6hiJ9LHsiY2hhciI6IuOAgiJ9XSwiaXNSaWNoVGV4dCI6dHJ1ZSwia2VlcExpbmVCcmVhayI6dHJ1ZX19XQ==--></p>

<p> &nbsp;</p>

<p><span style="color:#e74c3c;"><span style="font-size:20px;"><span style="font-family:宋体;">于此总结:</span></span></span></p>

<p><span style="color:#e74c3c;"><span style="font-size:20px;"><span style="font-family:宋体;">1、在从代码优化,编译器优化上,可以提高性能。</span></span></span></p>

<p><span style="color:#e74c3c;"><span style="font-size:20px;"><span style="font-family:宋体;">2、在1的基础上,随着代码空间的增多,32k cache总有用完的时候,xip flash 也会有所损失性能,最好就是可以把主要的代码加载到RAM中运行,更可提高性能。</span></span></span></p>

<p><span style="color:#e74c3c;"><span style="font-size:20px;"><span style="font-family:宋体;">3、除了32K cache的加持,内部RAM整合也有足够2M,对于系统而言,是足够性能整合的。</span></span></span></p>

<p><!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjU2NDMtMTY1NDM1NjA0NzcxMyIsImJsb2NrVHlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjoxLCJsaW5lLWhlaWdodCI6MS43NSwiYmFjay1jb2xvciI6IiIsInBhZGRpbmciOiIifSwidHlwZSI6InBhcmFncmFwaCIsInJpY2hUZXh0Ijp7ImRhdGEiOlt7ImNoYXIiO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OiLkvJgifSx7ImNoYXIiOiLljJYifSx7ImNoYXIiOiLnmoQifSx7ImNoYXIiOiLmg4UifSx7ImNoYXIiOiLlhrUifSx7ImNoYXIiOiLkuIsifSx7ImNoYXIiOiLvvIwifSx7ImNoYXIiOiLnlJ8ifSx7ImNoYXIiOiLmiJAifSx7ImNoYXIiOiLnmoQifSx7ImNoYXIiOiLku6MifSx7ImNoYXIiOiLnoIEifSx7ImNoYXIiOiLlpoIifSx7ImNoYXIiOiLkuIsifSx7ImNoYXIiOiLvvJoifV0sImlzUmljaFRleHQiOnRydWUsImtlZXBMaW5lQnJlYWsiOnRydWV9fV0=--></p>

Jacktang 发表于 2022-6-5 07:29

<p>在xip flash 有损失性能时,把主要的代码加载到RAM中运行,更可提高性能,建议收藏</p>
页: [1]
查看完整版本: [先楫HPM6750测评之九]细说性能提升的优化方法