kirankankipati
Posts: 20
Joined: Mon Apr 20, 2015 9:23 am

Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 3:22 am

Hi guys,

I do not have currently Raspberry Pi 3 Model B+ board yet. If you own a Raspberry Pi 3 Model B+, can you please benchmark (as per the instructions mentioned in TrueBench website) and submit me your results please. I need this for research standpoint.

I have developed a new CPU benchmarking system titled: TrueBench
It is meant for product architects, OEM product manufacturers, CEOs/CTOs to evaluate a specific hardware platform (such as an ARM/Intel/MIPS/etc. CPU/SoC) for design and manufacture of a commercial product.

NOTE:
For this purpose alone I do not want to buy a Pi3 B+ since it is not a question about money/price. I do not want eWaste. I do not like buying something and then tossing it since it is outdated without being purposefully used to its fullest potential. Hope you understand.

http://truebench.the-toffee-project.org

NOTE:
TrueBench is strictly a single core, single thread (or single dimension) benchmarking system. The objective is to benchmark the CPU<>MEMORY (RAM+/CACHE) data-path efficiency.

Thank you, Kiran (Author: The Linux Channel - Youtube Channel)

W. H. Heydt
Posts: 8653
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 5:21 am

Since this appears to be a commercial effort, you really should buy your own board to test. If you don't want to keep it afterwards, you can donate to some person or organization. What you're asking for is people's *time*, and that is worth considerably more than the cost of the Pi3B+.

kirankankipati
Posts: 20
Joined: Mon Apr 20, 2015 9:23 am

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 6:53 am

W. H. Heydt
This is not a commercial stuff. It is a open source website ".org".

Kiran

User avatar
bensimmo
Posts: 2991
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 9:19 am

Running now.

I can test the 3B, 2B v1.1 (not the 1.2 though).

And if you compiled for V6 pi1's then the Zero's, A+ (256) and B+ too. And probably an old B and old A but you'll not gain anything. Zero and ZeroW would be the main ones at the moment.

User avatar
bensimmo
Posts: 2991
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 9:22 am

Also if you compiled a 64 bit V8 version then I'm sure someone should be able to run that.
(Maybe it should be noted the Pi are all in 32bit v7 on the charts ?)

User avatar
bensimmo
Posts: 2991
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 9:42 am

in seconds 1405
mS 1404892
uS 1404892771

dummy 63
dummy2 63

Repeat straight after
1414
1414308
1414308900
63
63





Can repeat if needed etc.

User avatar
bensimmo
Posts: 2991
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 10:55 am

Pi3 (not +)
Same SD card etc

1652
1651748 (Note to author, rounding looks off given uS below)
1651748832

63
63



Note SD is latest image updated as of yesterday (desktop, but everything turned off even SSH and booting to CLI).

User avatar
Gavinmc42
Posts: 2071
Joined: Wed Aug 28, 2013 3:31 am

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 11:36 am

Pi3B+, Gentoo Aarch64 Desktop, updated today, USB stick, gcc version 7.3.0

Seconds 1516
Milliseconds 1515579
Microseconds 1515579577

63
63
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Gavinmc42
Posts: 2071
Joined: Wed Aug 28, 2013 3:31 am

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 11:45 am

Guess I might hang onto my Celeron Core Duo a bit longer :D

in Seconds: 194
in Milliseconds: 193951
in Microseconds: 193951147
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
bensimmo
Posts: 2991
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 1:00 pm

Pi2 v1.1 , still same setup as 3 & 3B+

2125
2124788
2124788155

63
63

User avatar
sakaki
Posts: 65
Joined: Sun Jul 16, 2017 1:11 pm

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 1:08 pm

RPi3 B+, not overclocked, on-demand CPU governor, running gentoo-on-rpi3-64bit (same system as Gavinmc42, above), but:
  • no desktop running, benchmark was invoked from a console prompt (see tail of post for details);
  • the RPi3 B+ has a decent heatsink (with third-party thermal compound) attached; and
  • I compiled your program (truebench.c) with gcc-6.4.0, no optimizations (just "gcc -o truebench truebench.c && ./truebench")
Results:

Code: Select all

TrueBench-11 :: Release: 10-Sep-2016 :: (c)2016 :: Author: Kiran Kankipati

Starting TrueBench system benchmark test.
It may take several minutes/hours to complete depending upon your system.

Elapsed Duration:
in Seconds: 1278
in Milliseconds: 1278404
in Microseconds: 1278404173
--------------------------------------------------------
CPU Info:
0 cores/threads


--------------------------------------------------------
dummy_result=63
dummy_result2=63
The program seems to be having problems parsing /proc/cpuinfo on 64-bit RPi3 systems (not all the fields such as revision show the same as when booted in 32 bit mode), here's a raw dump from my RPi3 B+:

Code: Select all

pi64 ~ # cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 38.40
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 1
BogoMIPS        : 38.40
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 2
BogoMIPS        : 38.40
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 3
BogoMIPS        : 38.40
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
hth

sakaki

PS: to switch temporarily to a console login (removing the Xfce4 desktop which consumes some cpu time to maintain), boot the gentoo-on-rpi3-64bit image, open a terminal, become root, then:

Code: Select all

pi64 ~ # rc-update del xdm default
pi64 ~ # reboot
Once it reboots, log in at the textual console, and run the benchmark. Once done, to get your desktop back, just:

Code: Select all

pi64 ~ # rc-update add xdm default
pi64 ~ # rc-service xdm start

User avatar
bensimmo
Posts: 2991
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 1:26 pm

I've started it on an A+, oddly none of the Zero's would boot the images properly.

See you in a few hours ;-)

A+ /256 (measured at the standard 700MHz, they do happily run at 1GHz like the Zero though)

4689
4688072
4688072029
63
63

Another to the 64biters above, the Pi benchmark doesn't report anything for the platform, just the time and the dummy.

Given it ran, I guess the code is compiled for the old v6 platform even though the Pi2+ can use v7 code and neon in 32bit.

Not that I've looked to see if the code needs, wants or would benefit from it.
But if it was a business platform and they would probably use v7 optimised code and for go the need to run it on anything older.

Anyone checked to see what the code is doing ?

User avatar
sakaki
Posts: 65
Joined: Sun Jul 16, 2017 1:11 pm

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sat Apr 14, 2018 4:16 pm

bensimmo wrote:
Sat Apr 14, 2018 1:26 pm
Not that I've looked to see if the code needs, wants or would benefit from it.
But if it was a business platform and they would probably use v7 optimised code and for go the need to run it on anything older.

Anyone checked to see what the code is doing ?
Yes, I did a quick hygiene check before compiling it: it basically calls the following function (once), inside a timer, then prints the results:

Code: Select all

#define MAXBYTES 1000000
#define ITERATIONS 1000000
char dummy_result=0;
char dummy_result2=0;
char dummy_buf[MAXBYTES];
char dummy_buf2[MAXBYTES];
void dummy_load()
{	int i;
	for(i=0;i<ITERATIONS;i++)
	{	memset(dummy_buf2, i, MAXBYTES);
		memcpy(dummy_buf, dummy_buf2, MAXBYTES);
	}
	dummy_result=dummy_buf[60];
	dummy_result2=dummy_buf2[60];
}

User avatar
Gavinmc42
Posts: 2071
Joined: Wed Aug 28, 2013 3:31 am

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sun Apr 15, 2018 1:04 am

Anyone checked to see what the code is doing ?
My PiI3B+ had no extra heatsink and was in Official case/power supply, room temp about 24C.

I did the objdump, Aarch64 code is much smaller than Intel Core Duo code :D
How much is compiler and how much is architecture and memory speed?
It reported the Intel Core Duo correctly, no info for the Pi3B+.

CPU clock and temp before and after might be useful?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

kirankankipati
Posts: 20
Joined: Mon Apr 20, 2015 9:23 am

Re: Help me to benchmark Raspberry Pi 3 Model B+

Sun Apr 15, 2018 8:38 am

Sorry I was been away. Thanks a lot everyone :)

I later publish the same in TrueBench.

BTW, I once shot a video episode on : CPU Load Process (i.e process with no threads) vs Threads (Process with multiple threads)
https://www.youtube.com/watch?v=uezu2OfQlaM

Hope this will give some insight why I did TrueBench that way. In case if you are curious.
And in this video I explained why I did the code that way.

Thank you, everyone. Once again !!

Return to “General discussion”

Who is online

Users browsing this forum: FTrevorGowen, Google [Bot] and 82 guests