neon in imx8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
您好!
我在imx8上通过NE10工程开发算法,奇怪的是同样一段算法在主频是1G和1.5G是计算时间没有发生变化
我是通过echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor将主频升到了1.5G,并通过cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq进行了确认
按道理说neon的计算速度应该跟ARM的主频成正比才对,是CPU没有真正升到1.5G吗,还是NEON引擎的原因
希望得到大家的解答
谢谢!


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[Translated by Google] Q:
I am developing the algorithm through the NE10 project on imx8. The strange thing is
that the same algorithm is not changing when the main frequency is 1G and 1.5G.
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Will raise the frequency to 1.5G, and pass
It is reasonable to say that the calculation speed of neon should be proportional to the
main frequency of ARM. Is the CPU not really rising to 1.5G, or the reason of NEON engine?
A: seems 1.5G operating point is not enabled in linux bsp, please check dts file
linux/arch/arm64/boot/dts/freescale/fsl-imx8mq.dtsi
fsl-imx8mq.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel
&A53_0 {
operating-points = <
/* kHz uV */
1000000 900000
800000 900000
..}
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
