Hi Jeroen, The ODROID N2
integrates a quad-core ARM Cortex-A73 CPU cluster and a dual core Cortex-A53 cluster with a new generation Mali-G52 GPU. But, even with kernel 5.7.x "cat /proc/cpuinfo" reports six A53 cores processor :0 to 5 BogoMIPS : 48.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd09 CPU revision : 2 Debian 10.3 arm-64 5.7.0-rc2-next-20200424-arm-64 The real bummer is, the SVE instructions are optional and as far as I can tell, AMLOGIC left it at SIMD or 128bit. No improvement on the 32bit CPUs with neon in other boards. I'm a systems person, not a C guru. As mentioned, the FreeDV GUI in "Spectrum View" runs well over 120% CPU. "Waterfall" adds another 20%. When decoding the sample 2020 WAV file. Another point, with four A73 cores and two A53 cores, how does one know which core is in use? You are right, in my "parrot repeater" project, I only need to decode to voice frame data, not to an audio wav. Anyway, I've learnt something. You get what you pay for in a $100 board. No SVE. And with Fujitsu only doing 512bit SVE in an expensive SuperComputer chip, I don't think 2048bit SVE is coming soon. Alan VK2ZIW On Sat, 02 May 2020 13:39:48 +0200, Jeroen Vreeken wrote > You might want to try timing the lpc_test program to measure thepure decoding > speed. > If you use the 4 second wia clip and divide the clip time by themeasured time > you get your 'realtime' number. > It has to be 1 or higher. > For a Raspberry PI 3 (a53 core) it seems to be near 0.1 for both32bit and > 64bit. (I had hoped that the 64bit instruction set whichis a lot better had > helped, but we really seem to be limited by theNEON performance) > I expect that the a73 core will get a lot closer to 1, but probablynot quite > there yet. > If it is close it might be interesting to try to optimize the codesome more, > if it is lets say less than .5 it will probably nevermake it. > > Regards, > Jeroen > > On 05/02/2020 01:03 AM, Al Beard wrote: > > Hi all, > > > aarch64 or the ARMv8 architecture > > > Not so easy. > > > Every SoC manufacturer can choose to haveSVE or not, and how big !!!! > See Fujitsu here, page 15: > http://users.ece.utexas.edu/~gerstl/ee382m_f18/lectures/SVE_Seminar_UT_Rico.pdf > And this is for a SuperComputer!! > > > So, it looks,the Odroid N2 with an AMLOGIC SoC has only "neon" ie.128bit > vectors. > > > And, runningFreeDV GUI and decoding a mode 2020 WAV file, CPU loadgoes above > 100%. > Running without thewaterfall, spectrum view, better, still above 100%. > > > Question now: Whatsmall boards, Pi, PINE64 or Odroid etc.. have SVE of512bits > or better? > > > Alan VK2ZIW > > On Fri, 1 May 2020 17:52:11 +1000, Al Beard wrote > > Hi all, > > > > > > FreeDV on the Odroid N2 > > > > > > I loaded Armbian from: > > https://forum.armbian.com/topic/12162-single-armbian-image-for-rk-aml-aw/ > > and one extra step: cp <sdcard>/BOOT/boot-emmc.src <sd card>/BOOT/boot.scr > > Kernel 5.7.0-rc2-next-20200424-arm-64 > > > > then, just compiling FreeDV 2020 GUI with GCC Ver 8.3 runsat 35% CPU usage > > with the waterfall. > > (I hacked the FreeDV GUI source to enable mode 2020) > > GIT revision > > > > b097ce7 > > 2053 > > > > Looking good. > > > > Alan VK2ZIW > > > > > > On Wed, 29 Apr 2020 16:30:06 +1000, AlBeard wrote > > > Hi, > > > On my Odroid N2 running Fedora 32via "chroot" on Armbian, > > > > > > > > > gcc -march=armv8-a+sve hello.c > > > > > > > > > works without error. > > > > > > > > > So, can the build script test for ARMv8running 64bit > > > Armbian, kernel 5.4.35-meson64 > > > cat /proc/cpuinfo > > > > > > processor :5 > > > BogoMIPS :48.00 > > > Features :fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid > > > CPU implementer: 0x41 > > > CPU architecture: 8 > > > CPU variant :0x0 > > > CPU part :0xd09 > > > CPU revision :2 > > > > > > and just apply the gcc option -march=armv8-a+sve > > > > > > Keep smiling > > > > > > Alan > > > > > >_______________________________________________ Freetel-codec2 mailing list Freetel-codec2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freetel-codec2 --------------------------------------------------- Alan Beard OpenWebMail 2.53
_______________________________________________ Freetel-codec2 mailing list Freetel-codec2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freetel-codec2