Jetson Nano Performance

Network Performance Test

Install iPerf3:
ubuntu@jetson1:~$ sudo apt-get install iperf3

Now test the network performance between the two Jetson Nano which are both attached to the same 24-Port Zyxel 1GBit Switch:
ubuntu@jetson1:~$ iperf3 -s
ubuntu@jetson2:~$ iperf3 -c jetson1
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.08 GBytes   931 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.08 GBytes   929 Mbits/sec                  receiver

ubuntu@jetson2:~$ iperf3 -c jetson1 -R
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.10 GBytes   943 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.10 GBytes   941 Mbits/sec                  receiver

This is a nearly the line speed !

For your comparison: A Raspberry Pi 3 Model B+ achieves in the same setup approx. 260 Mbits/sec sending and 170 Mbits/sec receiving.
The Jetson Nano is a factor 4-5 faster than the Raspberry !

MicroSD Card (storage) performance

To check the MicroSD Card performance I used the Sysbench tool:

ubuntu@jetson1:~$ sudo apt install sysbench

ubuntu@jetson1:~$ sysbench –test=fileio –file-total-size=10G prepare
ubuntu@jetson1:~$ sysbench –test=fileio –file-total-size=10G –file-test-mode=rndrw  –max-time=300 –max-requests=0 run
ubuntu@jetson1:~$ sysbench –test=fileio –file-total-size=10G –file-test-mode=seqrd  –max-time=300 –max-requests=0 run

ubuntu@jetson1:/# sysbench –test=fileio –file-total-size=10G –file-test-mode=seqwr –max-time=60 –max-requests=0 –file-block-size=1M run

Cleanup:
ubuntu@jetson:~$ sysbench –test=fileio –file-total-size=10G cleanup

Result for a Samsung EVO Plus Micro SDXC 128GB card:
Read sequential IO: 85.40 MiB/s
Read sequential IO (Block size 1MB): 90.11 MiB/s
Write random IO: 22.80 MiB/s
Write sequential IO (Block size 1MB): 34.79 MiB/s

Result for a Samsung EVO Plus Micro SDXC 64GB card are comparable to the 128GB version:
Read sequential IO: 82.01 MiB/s
Write random IO: 21.11MiB/s

For your comparison:
A Raspberry Pi 3 Model B+ achieves with a Samsung EVO Plus Micro SDXC 64GB card:
Read sequential IO: 21.375 Mb/sec
Read sequential IO (Block size 1MB): 22.45 MiB/s
Write random IO: 17.05 MiB/sec
Write sequential IO (Block size 1MB): 18.96 MiB/s

The Jetson Nano is a factor of 4 faster for sequential reading data from and up to a factor of 2 faster for sequential writing to a MicroSD card.

CPU performance

Just to get a feeling which performance difference one can expect between the Jetson Nano and the Raspberry Pi 3 Model B+ I use the following commands:

ubuntu@jetson1:~$ sudo apt-get install stress-ng
sysbench –num-threads=4 –test=cpu –max-time=10 run

Jetson Nano: bogo ops/s (real time)  166
Raspberry Pi 3 Model B+: bogo ops/s (real time)  65

Depending on the CPU tests the difference spreads around an advantage of a factor of 2.5 !

Toggling PowerSafe mode (5W instead of 10W)

You can save power by setting the Jetson Nano into PowerSafe mode (2 out of 4 cores deactivated, reduced Max Clock Speed) by using the mvpmodel command. The definitions are kept in /etc/nvpmodel.conf.

When you boot the Jetson, the default is:

ubuntu@jetson1:~# sudo nvpmodel -q
NV Power Mode: MAXN
0

To enable PowerSafe enter:
ubuntu@jetson1:~# sudo nvpmodel -m 1
ubuntu@jetson1:~# sudo nvpmodel -q
NV Power Mode: 5W
1

As expected in PowerSafe mode the bogo ops/s (real time)  drop to less than the half: 55.

To exit PowerSafe enter:
ubuntu@jetson1:~# sudo nvpmodel -m 0


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.