Ariaboard G2E Testing Results
CPU performance
7za Benchmark:
root@novotech-debian-aarch64:~# 7za b 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,2 CPUs LE) LE CPU Freq: 1189 1195 1190 1197 1185 1190 1173 1180 1179 RAM size: 1870 MB, # CPU hardware threads: 2 RAM usage: 441 MB, # Benchmark threads: 2 Compressing | Decompressing Dict Speed Usage R/U Rating | Speed Usage R/U Rating KiB/s % MIPS MIPS | KiB/s % MIPS MIPS 22: 803 166 472 782 | 23804 191 1064 2032 23: 810 170 485 826 | 23090 191 1049 1999 24: 804 172 502 865 | 22302 189 1036 1958 25: 751 175 489 858 | 22217 192 1033 1978 ---------------------------------- | ------------------------------ Avr: 171 487 833 | 190 1046 1992 Tot: 181 766 1412
CPU Temperature:
cat /sys/devices/virtual/thermal/thermal_zone0/temp
wireless
Create a password file:
network={ ssid="Your wifi AP name" psk="yourpasswordinplaintext" }
Use wpa_supplicant to create a link and dhclient to accquire a address.
wpa_supplicant -i wlan0 -Dwext -c/etc/wpa_supplicant.conf dhclient wlan0
disk I/O
Test with a Samsuang PM961 NVME disk
bonnie++ -d /mnt -u c2h2 Using uid:1001, gid:1001. Writing a byte at a time...done Writing intelligently...done Rewriting...done Reading a byte at a time...done Reading intelligently...done start 'em...done...done...done...done...done... Create files in sequential order...done. Stat files in sequential order...done. Delete files in sequential order...done. Create files in random order...done. Stat files in random order...done. Delete files in random order...done. Version 1.98 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP novotech-debian- 4G 122k 99 165m 88 85.3m 54 701k 99 295m 89 +++++ +++ Latency 72960us 357ms 713ms 12090us 1800us 9644us Version 1.98 ------Sequential Create------ --------Random Create-------- novotech-debian-aar -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 16384 91 +++++ +++ 16384 90 16384 89 +++++ +++ 16384 90 Latency 1101us 1589us 1840us 1245us 198us 1063us 1.98,1.98,novotech-debian-aarch64,1,1611565797,4G,,8192,5,122,99,169234,88,87330,54,701,99,302005,89,+++++,+++,16,,,,,10505,91,+++++,+++,11483,90,10335,89,+++++,+++,10696,90,72960us,357ms,713ms,12090us,1800us,9644us,1101us,1589us,1840us,1245us,198us,1063us
Test with onboard eMMC
root@novotech-debian-aarch64:~# bonnie++ -d /testemmc/ -u c2h2 Using uid:1001, gid:1001. Can't open file ./Bonnie.1817 root@novotech-debian-aarch64:~# chmod a+rw /testemmc/ root@novotech-debian-aarch64:~# bonnie++ -d /testemmc/ -u c2h2 Using uid:1001, gid:1001. Writing a byte at a time...done Writing intelligently...done Rewriting...done Reading a byte at a time...done Reading intelligently...done start 'em...done...done...done...done...done... Create files in sequential order...done. Stat files in sequential order...done. Delete files in sequential order...done. Create files in random order...done. Stat files in random order...done. Delete files in random order...done. Version 1.98 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP novotech-debian- 4G 123k 99 45.3m 27 30.7m 23 703k 99 95.0m 37 3216 171 Latency 66040us 331ms 2878ms 12911us 14561us 10449us Version 1.98 ------Sequential Create------ --------Random Create-------- novotech-debian-aar -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 16384 73 +++++ +++ 16384 81 16384 74 +++++ +++ 16384 81 Latency 4597us 1468us 2295us 635us 108us 1141us 1.98,1.98,novotech-debian-aarch64,1,1611569053,4G,,8192,5,123,99,46414,27,31407,23,703,99,97230,37,3216,171,16,,,,,8487,73,+++++,+++,10216,81,8809,74,+++++,+++,9604,81,66040us,331ms,2878ms,12911us,14561us,10449us,4597us,1468us,2295us,635us,108us,1141us
Test with onboard NVME with dd
c2h2@novotech-debian-aarch64:/mnt$ dd if=/testemmc/random4G.bin of=random4G.bin status=progress bs=1M 4243587072 bytes (4.2 GB, 4.0 GiB) copied, 66 s, 64.3 MB/s 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 67.0661 s, 64.0 MB/s c2h2@novotech-debian-aarch64:/mnt$ dd if=random4G.bin of=/dev/null status=progress bs=1M 4090494976 bytes (4.1 GB, 3.8 GiB) copied, 14 s, 292 MB/s 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 14.6927 s, 292 MB/s
Test with onboard eMMC with dd
c2h2@novotech-debian-aarch64:/testemmc$ dd if=/dev/urandom of=random4G.bin status=progress bs=1M count=4096 4275044352 bytes (4.3 GB, 4.0 GiB) copied, 98 s, 43.6 MB/s 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 102.448 s, 41.9 MB/s dd if=random4G.bin of=/dev/null status=progress bs=1M 4216324096 bytes (4.2 GB, 3.9 GiB) copied, 41 s, 103 MB/s 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 41.8363 s, 103 MB/s
Network
root@novotech-debian-aarch64:/mnt# wget -O /dev/null http://192.168.8.29:81/test.webm --2021-01-25 10:53:53-- http://192.168.8.29:81/test.webm Connecting to 192.168.8.29:81... connected. HTTP request sent, awaiting response... 200 OK Length: 7681822091 (7.2G) [video/webm] Saving to: '/dev/null' /dev/null 100%[=================================================================================================================>] 7.15G 112MB/s in 66s 2021-01-25 10:54:59 (111 MB/s) - '/dev/null' saved [7681822091/7681822091]
NVME disk
A NVME disk is recoginzed automatically when installed. Normal device position in linux is
/dev/nvme0n1
Audio
use speaker-test
to test speaker with white noise.
Canbus
We have 2 canbus onboard. First run:
ip link set can0 type can bitrate 125000
then run:
ifconfig can0 up
Send simple test packet
The socket-CAN tools include the cansend utility:
cansend <device> <can_frame>
where the device is the network interface name, typically can0, and a CAN frame is in the format:
<can_id>#{R|data}
with the can_id having 3 (SFF) or 8 (EFF) hex chars. and data in the format of zero to eight 8-bit hex-values that can optionally be separated by a period ('.') or use R for remote transmission request.
To send a CAN data frame message, with a can_id arbitration field value of 0x5A1 and a data field value 0x1122334455667788:
cansend can0 5A1#11.22.33.44.55.66.77.88
Dump received packets
The socket-CAN tools include the candump utility, which dumps all messages being exchanged on the CAN bus. To run candump, just specify the CAN interface:
candump can0
If a device on the CAN bus sends a packet with ID 0x456 and data 0x122345, the output would be
# candump can0 can0 456 [3] 12 23 45
cansend can0 5A1#11.22.33.44.55.66.77.88
creates the following cumulative candump output
# candump can0 can0 456 [3] 12 23 45 can0 5A1 [8] 11 22 33 44 55 66 77 88
CAN protocol stack information
The CAN protocol implementation version:
cat /proc/net/can/version
The CAN bus statistics:
cat /proc/net/can/stats