Micro-benchmarking the N2

Post Reply
blu
Posts: 35
Joined: Wed Mar 08, 2017 11:30 pm
languages_spoken: english
ODROIDs: XU4 eMMC, N2 eMMC
Has thanked: 1 time
Been thanked: 3 times
Contact:

Micro-benchmarking the N2

Unread post by blu » Sun May 12, 2019 4:03 am

I finally got my hands on the elusive N2, and CPU microbenchmarks were unleashed without mercy at the little machine's CPU.

(^f Amlogic)
Mandelbrot in BF interpreter
prime factorization
GEMM

For branchy integer code CA73 is a clear winner over CA72. For neon/asimd2 CA73 is reasonably close to the CA72 (~17% difference).
All-in-all, rarely have I seen such results from a $80 passively-cooled machine. Good job, HK/Amlogic!

User avatar
odroid
Site Admin
Posts: 31356
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 50 times
Been thanked: 182 times
Contact:

Re: Micro-benchmarking the N2

Unread post by odroid » Mon May 13, 2019 9:13 am

Thank you for sharing the detail benchmark test results.
I hope the N2 must be a quiet and cool device. :)

blu
Posts: 35
Joined: Wed Mar 08, 2017 11:30 pm
languages_spoken: english
ODROIDs: XU4 eMMC, N2 eMMC
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: Micro-benchmarking the N2

Unread post by blu » Mon May 13, 2019 1:19 pm

odroid wrote:
Mon May 13, 2019 9:13 am
Thank you for sharing the detail benchmark test results.
I hope the N2 must be a quiet and cool device. :)
It's as quiet as it gets and in contrast to other fanless boards -- entirely justified. Advanced chip fabnodes FTW : )

User avatar
odroid
Site Admin
Posts: 31356
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 50 times
Been thanked: 182 times
Contact:

Re: Micro-benchmarking the N2

Unread post by odroid » Mon May 13, 2019 1:56 pm

Glad to know that we didn't waste money to make a bulky and heavy heatsink.
But I have to agree the modern 12nm fab silicon must be the main reason why we don't need a noisy fan. :D

blu
Posts: 35
Joined: Wed Mar 08, 2017 11:30 pm
languages_spoken: english
ODROIDs: XU4 eMMC, N2 eMMC
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: Micro-benchmarking the N2

Unread post by blu » Fri May 24, 2019 7:10 am

Finally got to benchmark the Mali-G52 on rudimentary raytracing in OCL, and that little bugger actually outpeforms a 2010 macbook (geforce 320M):

geforce 320M: 47fps
mali-G52 mp4: 50fps
Last edited by blu on Fri May 24, 2019 3:04 pm, edited 1 time in total.

User avatar
odroid
Site Admin
Posts: 31356
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 50 times
Been thanked: 182 times
Contact:

Re: Micro-benchmarking the N2

Unread post by odroid » Fri May 24, 2019 8:51 am

Thank you sharing another nice GPU benchmark result.

blu
Posts: 35
Joined: Wed Mar 08, 2017 11:30 pm
languages_spoken: english
ODROIDs: XU4 eMMC, N2 eMMC
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: Micro-benchmarking the N2

Unread post by blu » Sat Jun 15, 2019 7:07 am

And here's how S922X performs at a very BW-demanding CPU task -- variations of a single-threaded binary search -- in comparison to other machines:

Image

(note: all quoted RAM BWs are theoretical)
These users thanked the author blu for the post:
odroid (Mon Jun 17, 2019 11:27 am)

blu
Posts: 35
Joined: Wed Mar 08, 2017 11:30 pm
languages_spoken: english
ODROIDs: XU4 eMMC, N2 eMMC
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: Micro-benchmarking the N2

Unread post by blu » Wed Jun 19, 2019 5:28 am

Here's the code for the above binary-search benchmark (repo wasn't public at the time of the post).
These users thanked the author blu for the post:
odroid (Wed Jun 19, 2019 9:17 am)

blu
Posts: 35
Joined: Wed Mar 08, 2017 11:30 pm
languages_spoken: english
ODROIDs: XU4 eMMC, N2 eMMC
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: Micro-benchmarking the N2

Unread post by blu » Wed Jul 17, 2019 8:30 pm

BTW, something I've noticed in a couple of microbenches: gcc/g++-8.x tends to produce better-scheduled code when tuned for CA57 (-mtune/-mcpu=cortex-a57) over native tuning (-mtune/-mcpu=cortex-a73). That seems to be a recurring issue with gcc (and occasionally clang) across several cortex big uarchs. So as a word of advice, check your performance-critical tuning with both schedulers.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest