You might want to try timing the lpc_test program to measure the pure decoding speed. If you use the 4 second wia clip and divide the clip time by the measured 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 both 32bit and 64bit. (I had hoped that the 64bit instruction set which is a lot better had helped, but we really seem to be limited by the NEON performance) I expect that the a73 core will get a lot closer to 1, but probably not quite there yet. If it is close it might be interesting to try to optimize the code some more, if it is lets say less than .5 it will probably never make 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 have SVE or not, and how big !!!!* > *See Fujitsu here, page > 15: > *http://users.ece.utexas.edu/~gerstl/ee382m_f18/lectures/SVE_Seminar_UT_Rico.pdf > <http://users.ece.utexas.edu/%7Egerstl/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, running FreeDV GUI and decoding a mode 2020 WAV file, CPU load > goes above 100%.* > *Running without the waterfall, spectrum view, better, still above 100%.* > * > * > *Question now: What small boards, Pi, PINE64 or Odroid etc.. have SVE > of 512bits 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 <sd card>/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 runs at 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, Al Beard wrote* > > > *Hi,* > > > *On my Odroid N2 running Fedora 32 via "chroot" on Armbian,* > > > * > > > * > > > *gcc -march=armv8-a+sve hello.c* > > > * > > > * > > > *works without error.* > > > * > > > * > > > *So, can the build script test for ARMv8 running 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
_______________________________________________ Freetel-codec2 mailing list Freetel-codec2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freetel-codec2