2.2. Performance Guide

2.2.1. Kernel Performance Guide

Read This First

All performance numbers provided in this document are gathered using following Evaluation Modules unless otherwise specified.

Name Description
J721e EVM J721e Evaluation Module rev E2 with ARM running at 2GHz, DDR data rate 4266 MT/S, L3 Cache size 3MB

Table: Evaluation Modules


About This Manual

This document provides performance data for each of the device drivers which are part of the Process SDK Linux package. This document should be used in conjunction with release notes and user guides provided with the Process SDK Linux package for information on specific issues present with drivers included in a particular release.

If You Need Assistance

For further information or to report any problems, contact http://e2e.ti.com/ or http://support.ti.com/

2.2.1.1. System Benchmarks

2.2.1.1.1. LMBench

LMBench is a collection of microbenchmarks of which the memory bandwidth and latency related ones are typically used to estimate processor memory system performance. More information about lmbench at http://lmbench.sourceforge.net/whatis_lmbench.html and http://lmbench.sourceforge.net/man/lmbench.8.html

Latency: lat_mem_rd-stride128-szN, where N is equal to or smaller than the cache size at given level measures the cache miss penalty. N that is at least double the size of last level cache is the latency to external memory.

Bandwidth: bw_mem_bcopy-N, where N is is equal to or smaller than the cache size at a given level measures the achievable memory bandwidth from software doing a memcpy() type operation. Typical use is for external memory bandwidth calculation. The bandwidth is calculated as byte read and written counts as 1 which should be roughly half of STREAM copy result.

Benchmarks j721e-idk-gw: perf
af_unix_sock_stream_latency (microsec) 17.57
af_unix_socket_stream_bandwidth (MBs) 2622.74
bw_file_rd-io-1mb (MB/s) 3696.17
bw_file_rd-o2c-1mb (MB/s) 2060.09
bw_mem-bcopy-16mb (MB/s) 2651.20
bw_mem-bcopy-1mb (MB/s) 4996.43
bw_mem-bcopy-2mb (MB/s) 3243.24
bw_mem-bcopy-4mb (MB/s) 3195.40
bw_mem-bcopy-8mb (MB/s) 2790.86
bw_mem-bzero-16mb (MB/s) 10304.30
bw_mem-bzero-1mb (MB/s) 8869.96 (min 4996.43, max 12743.49)
bw_mem-bzero-2mb (MB/s) 7935.89 (min 3243.24, max 12628.54)
bw_mem-bzero-4mb (MB/s) 7883.52 (min 3195.40, max 12571.64)
bw_mem-bzero-8mb (MB/s) 7430.64 (min 2790.86, max 12070.41)
bw_mem-cp-16mb (MB/s) 1064.33
bw_mem-cp-1mb (MB/s) 6842.64 (min 978.79, max 12706.48)
bw_mem-cp-2mb (MB/s) 6825.41 (min 1042.75, max 12608.07)
bw_mem-cp-4mb (MB/s) 6878.42 (min 1185.19, max 12571.64)
bw_mem-cp-8mb (MB/s) 6723.34 (min 1053.19, max 12393.49)
bw_mem-fcp-16mb (MB/s) 2561.64
bw_mem-fcp-1mb (MB/s) 9004.25 (min 5265.01, max 12743.49)
bw_mem-fcp-2mb (MB/s) 7942.64 (min 3256.74, max 12628.54)
bw_mem-fcp-4mb (MB/s) 7862.49 (min 3153.33, max 12571.64)
bw_mem-fcp-8mb (MB/s) 7384.96 (min 2699.51, max 12070.41)
bw_mem-frd-16mb (MB/s) 5107.74
bw_mem-frd-1mb (MB/s) 5604.28 (min 5265.01, max 5943.54)
bw_mem-frd-2mb (MB/s) 4601.80 (min 3256.74, max 5946.85)
bw_mem-frd-4mb (MB/s) 4544.58 (min 3153.33, max 5935.82)
bw_mem-frd-8mb (MB/s) 4178.61 (min 2699.51, max 5657.71)
bw_mem-fwr-16mb (MB/s) 10299.32
bw_mem-fwr-1mb (MB/s) 9325.01 (min 5943.54, max 12706.48)
bw_mem-fwr-2mb (MB/s) 9277.46 (min 5946.85, max 12608.07)
bw_mem-fwr-4mb (MB/s) 9253.73 (min 5935.82, max 12571.64)
bw_mem-fwr-8mb (MB/s) 9025.60 (min 5657.71, max 12393.49)
bw_mem-rd-16mb (MB/s) 5111.82
bw_mem-rd-1mb (MB/s) 11161.95 (min 10482.56, max 11841.33)
bw_mem-rd-2mb (MB/s) 4041.09 (min 1420.45, max 6661.73)
bw_mem-rd-4mb (MB/s) 3740.47 (min 1364.72, max 6116.21)
bw_mem-rd-8mb (MB/s) 3515.44 (min 1315.57, max 5715.31)
bw_mem-rdwr-16mb (MB/s) 1212.49
bw_mem-rdwr-1mb (MB/s) 3734.39 (min 978.79, max 6489.99)
bw_mem-rdwr-2mb (MB/s) 1155.39 (min 1042.75, max 1268.03)
bw_mem-rdwr-4mb (MB/s) 1228.33 (min 1185.19, max 1271.46)
bw_mem-rdwr-8mb (MB/s) 1180.51 (min 1053.19, max 1307.83)
bw_mem-wr-16mb (MB/s) 1842.68
bw_mem-wr-1mb (MB/s) 9165.66 (min 6489.99, max 11841.33)
bw_mem-wr-2mb (MB/s) 1344.24 (min 1268.03, max 1420.45)
bw_mem-wr-4mb (MB/s) 1318.09 (min 1271.46, max 1364.72)
bw_mem-wr-8mb (MB/s) 1311.70 (min 1307.83, max 1315.57)
bw_mmap_rd-mo-1mb (MB/s) 8983.72
bw_mmap_rd-o2c-1mb (MB/s) 2064.34
bw_pipe (MB/s) 4229.99
bw_unix (MB/s) 2622.74
lat_connect (us) 27.55
lat_ctx-2-128k (us) 4.25
lat_ctx-2-256k (us) 4.45
lat_ctx-4-128k (us) 5.44
lat_ctx-4-256k (us) 6.16
lat_fs-0k (num_files) 538.00
lat_fs-10k (num_files) 202.00
lat_fs-1k (num_files) 251.00
lat_fs-4k (num_files) 214.00
lat_mem_rd-stride128-sz1000k (ns) 8.70
lat_mem_rd-stride128-sz125k (ns) 5.15
lat_mem_rd-stride128-sz250k (ns) 5.15
lat_mem_rd-stride128-sz31k (ns) 2.00
lat_mem_rd-stride128-sz50 (ns) 2.00
lat_mem_rd-stride128-sz500k (ns) 5.15
lat_mem_rd-stride128-sz62k (ns) 5.15
lat_mmap-1m (us) 8.71
lat_ops-double-add (ns) 0.32
lat_ops-double-mul (ns) 2.00
lat_ops-float-add (ns) 0.32
lat_ops-float-mul (ns) 2.00
lat_ops-int-add (ns) 0.50
lat_ops-int-bit (ns) 0.33
lat_ops-int-div (ns) 4.00
lat_ops-int-mod (ns) 4.67
lat_ops-int-mul (ns) 1.52
lat_ops-int64-add (ns) 0.50
lat_ops-int64-bit (ns) 0.33
lat_ops-int64-div (ns) 3.00
lat_ops-int64-mod (ns) 5.67
lat_pagefault (us) 1.15
lat_pipe (us) 11.17
lat_proc-exec (us) 734.67
lat_proc-fork (us) 652.63
lat_proc-proccall (us) 0.00
lat_select (us) 9.57
lat_sem (us) 1.49
lat_sig-catch (us) 2.27
lat_sig-install (us) 0.42
lat_sig-prot (us) 0.41
lat_syscall-fstat (us) 0.59
lat_syscall-null (us) 0.27
lat_syscall-open (us) 130.56
lat_syscall-read (us) 0.35
lat_syscall-stat (us) 1.33
lat_syscall-write (us) 0.33
lat_tcp (us) 0.56
lat_unix (us) 17.57
latency_for_0.50_mb_block_size (nanosec) 5.15
latency_for_1.00_mb_block_size (nanosec) 4.35 (min 0.00, max 8.70)
pipe_bandwidth (MBs) 4229.99
pipe_latency (microsec) 11.17
procedure_call (microsec) 0.00
select_on_200_tcp_fds (microsec) 9.57
semaphore_latency (microsec) 1.49
signal_handler_latency (microsec) 0.42
signal_handler_overhead (microsec) 2.27
tcp_ip_connection_cost_to_localhost (microsec) 27.55
tcp_latency_using_localhost (microsec) 0.56

Table: LM Bench Metrics

2.2.1.1.2. Dhrystone

Dhrystone is a core only benchmark that runs from warm L1 caches in all modern processors. It scales linearly with clock speed. For standard ARM cores the DMIPS/MHz score will be identical with the same compiler and flags.

Benchmarks j721e-idk-gw: perf
cpu_clock (MHz) 2000.00
dhrystone_per_mhz (DMIPS/MHz) 5.7
dhrystone_per_second (DhrystoneP) 20000000.00

Table: Dhrystone Benchmark

2.2.1.1.3. Whetstone

Benchmarks j721e-idk-gw: perf
whetstone (MIPS) 10000.00

Table: Whetstone Benchmark

2.2.1.1.4. Linpack

Linpack measures peak double precision (64 bit) floating point performance in solving a dense linear system.

Benchmarks j721e-idk-gw: perf
linpack (Kflops) 2638996.00

Table: Linpack Benchmark

2.2.1.1.5. NBench

NBench which stands for Native Benchmark is used to measure macro benchmarks for commonly used operations such as sorting and analysis algorithms. More information about NBench at https://en.wikipedia.org/wiki/NBench and https://nbench.io/articles/index.html

Benchmarks j721e-idk-gw: perf
assignment (Iterations) 29.68
fourier (Iterations) 54408.00
fp_emulation (Iterations) 250.11
huffman (Iterations) 2426.10
idea (Iterations) 7997.20
lu_decomposition (Iterations) 1430.40
neural_net (Iterations) 27.34
numeric_sort (Iterations) 879.27
string_sort (Iterations) 431.08

Table: NBench Benchmarks

2.2.1.1.6. Stream

STREAM is a microbenchmark for measuring data memory system performance without any data reuse. It is designed to miss on caches and exercise data prefetcher and speculative accesses. It uses double precision floating point (64bit) but in most modern processors the memory access will be the bottleneck. The four individual scores are copy, scale as in multiply by constant, add two numbers, and triad for multiply accumulate. For bandwidth, a byte read counts as one and a byte written counts as one, resulting in a score that is double the bandwidth LMBench will show.

Benchmarks j721e-idk-gw: perf
add (MB/s) 5610.90
copy (MB/s) 5927.30
scale (MB/s) 5622.50
triad (MB/s) 5530.20

Table: Stream

2.2.1.1.7. CoreMarkPro

CoreMark®-Pro is a comprehensive, advanced processor benchmark that works with and enhances the market-proven industry-standard EEMBC CoreMark® benchmark. While CoreMark stresses the CPU pipeline, CoreMark-Pro tests the entire processor, adding comprehensive support for multicore technology, a combination of integer and floating-point workloads, and data sets for utilizing larger memory subsystems.

Benchmarks j721e-idk-gw: perf
cjpeg-rose7-preset (workloads/) 83.33
core (workloads/) 0.78
coremark-pro () 2571.75
linear_alg-mid-100x100-sp (workloads/) 82.64
loops-all-mid-10k-sp (workloads/) 2.50
nnet_test (workloads/) 3.88
parser-125k (workloads/) 12.20
radix2-big-64k (workloads/) 266.60
sha-test (workloads/) 156.25
zip-test (workloads/) 52.63

Table: CoreMarkPro

Benchmarks j721e-idk-gw: perf
cjpeg-rose7-preset (workloads/) 166.67
core (workloads/) 1.56
coremark-pro () 4518.20
linear_alg-mid-100x100-sp (workloads/) 165.02
loops-all-mid-10k-sp (workloads/) 3.71
nnet_test (workloads/) 7.34
parser-125k (workloads/) 23.26
radix2-big-64k (workloads/) 261.64
sha-test (workloads/) 312.50
zip-test (workloads/) 100.00

Table: CoreMarkPro for Two Cores

2.2.1.1.8. MultiBench

MultiBench™ is a suite of benchmarks that allows processor and system designers to analyze, test, and improve multicore processors. It uses three forms of concurrency: Data decomposition: multiple threads cooperating on achieving a unified goal and demonstrating a processor’s support for fine grain parallelism. Processing multiple data streams: uses common code running over multiple threads and demonstrating how well a processor scales over scalable data inputs. Multiple workload processing: shows the scalability of general-purpose processing, demonstrating concurrency over both code and data. MultiBench combines a wide variety of application-specific workloads with the EEMBC Multi-Instance-Test Harness (MITH), compatible and portable with most any multicore processors and operating systems. MITH uses a thread-based API (POSIX-compliant) to establish a common programming model that communicates with the benchmark through an abstraction layer and provides a flexible interface to allow a wide variety of thread-enabled workloads to be tested.

Benchmarks j721e-idk-gw: perf
4m-check (workloads/) 1079.45
4m-check-reassembly (workloads/) 243.90
4m-check-reassembly-tcp (workloads/) 124.38
4m-check-reassembly-tcp-cmykw2-rotatew2 (workloads/) 46.62
4m-check-reassembly-tcp-x264w2 (workloads/) 2.78
4m-cmykw2 (workloads/) 320.51
4m-cmykw2-rotatew2 (workloads/) 65.79
4m-reassembly (workloads/) 255.10
4m-rotatew2 (workloads/) 75.64
4m-tcp-mixed (workloads/) 262.30
4m-x264w2 (workloads/) 2.82
idct-4m (workloads/) 35.12
idct-4mw1 (workloads/) 35.15
ippktcheck-4m (workloads/) 1086.48
ippktcheck-4mw1 (workloads/) 1074.81
ipres-4m (workloads/) 214.59
ipres-4mw1 (workloads/) 213.37
md5-4m (workloads/) 52.49
md5-4mw1 (workloads/) 53.48
rgbcmyk-4m (workloads/) 164.20
rgbcmyk-4mw1 (workloads/) 164.34
rotate-4ms1 (workloads/) 57.21
rotate-4ms1w1 (workloads/) 57.27
rotate-4ms64 (workloads/) 57.67
rotate-4ms64w1 (workloads/) 57.67
x264-4mq (workloads/) 1.45
x264-4mqw1 (workloads/) 1.45

Table: Multibench

2.2.1.1.9. Spec2K6

CPU2006 is a set of benchmarks designed to test the CPU performance of a modern server computer system. It is split into two components, the first being CINT2006, the other being CFP2006 (SPECfp), for floating point testing.

SPEC defines a base runtime for each of the 12 benchmark programs. For SPECint2006, that number ranges from 1000 to 3000 seconds. The timed test is run on the system, and the time of the test system is compared to the reference time, and a ratio is computed. That ratio becomes the SPECint score for that test. (This differs from the rating in SPECINT2000, which multiplies the ratio by 100.)

As an example for SPECint2006, consider a processor which can run 400.perlbench in 2000 seconds. The time it takes the reference machine to run the benchmark is 9770 seconds. Thus the ratio is 4.885. Each ratio is computed, and then the geometric mean of those ratios is computed to produce an overall value.

Rate (Multiple Cores)

Table: Spec2K6

Speed (Single Core)

Table: Spec2K6 Speed

2.2.1.2. Boot-time Measurement

2.2.1.2.1. Boot media: MMCSD

Boot Configuration j721e-idk-gw: boot time (sec)
Kernel boot time test when bootloader, kernel and sdk-rootfs are in mmc-sd 25.74 (min 25.39, max 26.00)
Kernel boot time test when init is /bin/sh and bootloader, kernel and sdk-rootfs are in mmc-sd 7.03 (min 6.99, max 7.04)

Table: Boot time MMC/SD

2.2.1.2.2. Boot media: NAND

Table: Boot time MMC/SD

2.2.1.3. ALSA SoC Audio Driver

  1. Access type - RW_INTERLEAVED
  2. Channels - 2
  3. Format - S16_LE
  4. Period size - 64
Sampling Rate (Hz) j721e-idk-gw: Throughput (bits/sec) j721e-idk-gw: CPU Load (%)
11025 352800.00 0.15
16000 512000.00 0.12
22050 705600.00 0.13
24000 705600.00 0.13
32000 1023999.00 33.42
44100 1411199.00 0.50
48000 1535999.00 0.24
88200 2822395.00 0.94
96000 3071994.00 0.41

Table: Audio Capture


Sampling Rate (Hz) j721e-idk-gw: Throughput (bits/sec) j721e-idk-gw: CPU Load (%)
11025 352945.00 0.15
16000 512211.00 0.12
22050 705891.00 0.13
24000 705891.00 0.14
32000 1024422.00 0.16
44100 1411781.00 0.19
48000 1536632.00 0.25
88200 2823560.00 0.32
96000 3073262.00 0.41

Table: Audio Playback


2.2.1.4. Sensor Capture

Capture video frames (MMAP buffers) with v4l2c-ctl and record the reported fps

Table: Sensor Capture


2.2.1.5. Display Driver





2.2.1.6. Graphics SGX/RGX Driver

2.2.1.6.1. GLBenchmark

Run GLBenchmark and capture performance reported Display rate (Fps), Fill rate, Vertex Throughput, etc. All display outputs (HDMI, Displayport and/or LCD) are connected when running these tests

2.2.1.6.1.1. Performance (Fps)

Table: GLBenchmark 2.5 Performance

2.2.1.6.1.2. Vertex Throughput

Table: GLBenchmark 2.5 Vertex Throughput

2.2.1.6.1.3. Pixel Throughput

Table: GLBenchmark 2.5 Pixel Throughput

2.2.1.6.2. GFXBench

Run GFXBench and capture performance reported (Score and Display rate in fps). All display outputs (HDMI, Displayport and/or LCD) are connected when running these tests

Benchmark j721e-idk-gw: Score j721e-idk-gw: Fps
GFXBench 3.x gl_trex_off
1953.13 34.88
GFXBench 5.x gl_5_high_off
178.15 2.77

Table: GFXBench

2.2.1.6.3. Glmark2

Run Glmark2 and capture performance reported (Score). All display outputs (HDMI, Displayport and/or LCD) are connected when running these tests

Benchmark j721e-idk-gw: Score
Glmark2-Wayland 1144.00

Table: Glmark2


2.2.1.7. Multimedia (Decode)

Run gstreamer pipeline “gst-launch-1.0 playbin uri=file://<Path to stream> video-sink=”kmssink sync=false connector=<connector id>” audio-sink=fakesink” and calculate performance based on the execution time reported. All display display outputs (HDMI and LCD) were connected when running these tests, but playout was forced to LCD via the connector=<connector id> option.

2.2.1.7.1. H264

Table: Gstreamer H264 in AVI Container Decode Performance


2.2.1.7.2. MPEG4

Table: GStreamer MPEG4 in 3GP Container Decode Performance


2.2.1.7.3. MPEG2

Table: GStreamer MPEG2 in MP4 Container Decode Performance


2.2.1.8. Machine Learning

2.2.1.8.1. TensorFlow Lite

TensorFlow Lite https://www.tensorflow.org/lite/ is open source deep learning runtime for on-device inference. Processor SDK supports TensorFlow Lite execution on Cortex A cores on all Sitara devices.

The table below lists TensorFlow Lite performance benchmarks when running several well-known models on Sitara devices. The benchmarking data are obtained with the benchmark_model binary, which is released in the TensorFlow Lite source package and included in Processor SDK Linux filesystem.

Table: TensorFlow Lite Performance


2.2.1.8.2. TI Deep Learning

Accelerates deep learning inference on C66x DSP cores and on Embedded Vision Engine (EVE) subsystems.

Table: TIDL Performance


2.2.1.9. Ethernet

Ethernet performance benchmarks were measured using Netperf 2.7.1 https://hewlettpackard.github.io/netperf/doc/netperf.html Test procedures were modeled after those defined in RFC-2544: https://tools.ietf.org/html/rfc2544, where the DUT is the TI device and the “tester” used was a Linux PC. To produce consistent results, it is recommended to carry out performance tests in a private network and to avoid running NFS on the same interface used in the test. In these results, CPU utilization was captured as the total percentage used across all cores on the device, while running the performance test over one external interface.

UDP Throughput (0% loss) was measured by the procedure defined in RFC-2544 section 26.1: Throughput. In this scenario, netperf options burst_size (-b) and wait_time (-w) are used to limit bandwidth during different trials of the test, with the goal of finding the highest rate at which no loss is seen. For example, to limit bandwidth to 500Mbits/sec with 1472B datagram:

burst_size = <bandwidth (bits/sec)> / 8 (bits -> bytes) / <UDP datagram size> / 100 (seconds -> 10 ms)
burst_size = 500000000 / 8 / 1472 / 100 = 425

wait_time = 10 milliseconds (minimum supported by Linux PC used for testing)

UDP Throughput (possible loss) was measured by capturing throughput and packet loss statistics when running the netperf test with no bandwidth limit (remove -b/-w options).

In order to start a netperf client on one device, the other device must have netserver running. To start netserver:

netserver [-p <port_number>] [-4 (IPv4 addressing)] [-6 (IPv6 addressing)]

Running the following shell script from the DUT will trigger netperf clients to measure bidirectional TCP performance for 60 seconds and report CPU utilization. Parameter -k is used in client commands to summarize selected statistics on their own line and -j is used to gain additional timing measurements during the test.

#!/bin/bash
for i in 1
do
   netperf -H <tester ip> -j -c -l 60 -t TCP_STREAM --
      -k DIRECTION,THROUGHPUT,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD,LOCAL_SEND_SIZE &

   netperf -H <tester ip> -j -c -l 60 -t TCP_MAERTS --
      -k DIRECTION,THROUGHPUT,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD,LOCAL_SEND_SIZE &
done

Running the following commands will trigger netperf clients to measure UDP burst performance for 60 seconds at various burst/datagram sizes and report CPU utilization.

  • For UDP egress tests, run netperf client from DUT and start netserver on tester.
netperf -H <tester ip> -j -c -l 60 -t UDP_STREAM -b <burst_size> -w <wait_time> -- -m <UDP datagram size>
   -k DIRECTION,THROUGHPUT,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD,LOCAL_SEND_SIZE
  • For UDP ingress tests, run netperf client from tester and start netserver on DUT.
netperf -H <DUT ip> -j -C -l 60 -t UDP_STREAM -b <burst_size> -w <wait_time> -- -m <UDP datagram size>
   -k DIRECTION,THROUGHPUT,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD,LOCAL_SEND_SIZE

2.2.1.9.1. CPSW/CPSW2g/CPSW3g Ethernet Driver

  • CPSW2g: AM65x, J7200, J721e
  • CPSW3g: AM64x

TCP Bidirectional Throughput

Command Used j721e-idk-gw: THROUGHPUT (Mbits/sec) j721e-idk-gw: CPU Load % (LOCAL_CPU_UTIL)
netperf -H 192.168.0.1 -j -c -C -l 60 -t TCP_STREAM; netperf -H 192.168.0.1 -j -c -C -l 60 -t TCP_MAERTS 1854.65 64.56

Table: CPSW TCP Bidirectional Throughput


UDP Throughput

Frame Size(bytes) j721e-idk-gw: UDP Datagram Size(bytes) (LOCAL_SEND_SIZE) j721e-idk-gw: THROUGHPUT (Mbits/sec) j721e-idk-gw: CPU Load % (LOCAL_CPU_UTIL)
64 18.00 32.34 88.89
128 82.00 119.23 73.80
256 210.00 181.52 50.03
512 466.00 857.22 82.92
1024 978.00 936.70 32.07
1518 1472.00 957.07 34.40

Table: CPSW UDP Egress Throughput


Frame Size(bytes) j721e-idk-gw: UDP Datagram Size(bytes) (LOCAL_SEND_SIZE) j721e-idk-gw: THROUGHPUT (Mbits/sec) j721e-idk-gw: CPU Load % (LOCAL_CPU_UTIL)
64 18.00 5.36 12.24
256 210.00 23.18 4.08
1518 1472.00 949.86 50.72

Table: CPSW UDP Ingress Throughput (0% loss)


Frame Size(bytes) j721e-idk-gw: UDP Datagram Size(bytes) (LOCAL_SEND_SIZE) j721e-idk-gw: THROUGHPUT (Mbits/sec) j721e-idk-gw: CPU Load % (LOCAL_CPU_UTIL) j721e-idk-gw: Packet Loss %
64 18.00 56.83 74.48 16.82
256 210.00 655.15 81.18 11.80
1518 1472.00 949.86 50.72 0.00

Table: CPSW UDP Ingress Throughput (possible loss)


2.2.1.9.2. CPSW5g/CPSW9g Virtual Ethernet Driver

  • CPSW5g: J7200
  • CPSW9g: J721e

TCP Bidirectional Throughput

Command Used j721e-idk-gw: THROUGHPUT (Mbits/sec) j721e-idk-gw: CPU Load % (LOCAL_CPU_UTIL)
netperf -H 192.168.1.1 -j -c -C -l 60 -t TCP_STREAM; netperf -H 192.168.1.1 -j -c -C -l 60 -t TCP_MAERTS 1801.87 53.84

Table: CPSW9g Virtual Ethernet Driver - TCP Bidirectional Throughput


UDP Throughput

Frame Size(bytes) j721e-idk-gw: UDP Datagram Size(bytes) (LOCAL_SEND_SIZE) j721e-idk-gw: THROUGHPUT (Mbits/sec) j721e-idk-gw: CPU Load % (LOCAL_CPU_UTIL)
64 18.00 33.75 84.91
128 82.00 167.99 89.87
256 210.00 235.09 56.54
1024 978.00 917.51 50.54
1518 1472.00 956.93 37.78

Table: CPSW5g/9g Virtual Ethernet Driver - UDP Egress Throughput


Frame Size(bytes) j721e-idk-gw: UDP Datagram Size(bytes) (LOCAL_SEND_SIZE) j721e-idk-gw: THROUGHPUT (Mbits/sec) j721e-idk-gw: CPU Load % (LOCAL_CPU_UTIL)
64 18.00 1.67 4.11
128 82.00 7.54 5.74
256 210.00 16.80 4.98
1518 1472.00 956.97 49.88

Table: CPSW5g/9g Virtual Ethernet Driver - UDP Ingress Throughput (0% loss)


Frame Size(bytes) j721e-idk-gw: UDP Datagram Size(bytes) (LOCAL_SEND_SIZE) j721e-idk-gw: THROUGHPUT (Mbits/sec) j721e-idk-gw: CPU Load % (LOCAL_CPU_UTIL) j721e-idk-gw: Packet Loss %
64 18.00 53.08 72.82 20.74
128 82.00 241.87 75.50 24.86
256 210.00 664.90 80.42 6.32
1518 1472.00 956.97 49.88 0.00

Table: CPSW5g/9g Virtual Ethernet Driver - UDP Ingress Throughput (possible loss)


2.2.1.9.3. CPSW Ethernet Driver

TCP Bidirectional Throughput

Table: CPSW TCP Bidirectional Throughput

UDP Throughput

Table: CPSW UDP Egress Throughput

Table: CPSW UDP Ingress Throughput (0% loss)

Table: CPSW UDP Ingress Throughput (possible loss)


2.2.1.10. PCIe Driver

2.2.1.10.1. PCIe-ETH

Table: PCI Ethernet

2.2.1.10.2. PCIe-EP

2.2.1.10.3. PCIe-NVMe-SSD

2.2.1.10.3.1. J721E-IDK-GW
Buffer size (bytes) j721e-idk-gw: Write EXT4 Throughput (Mbytes/sec) j721e-idk-gw: Write EXT4 CPU Load (%) j721e-idk-gw: Read EXT4 Throughput (Mbytes/sec) j721e-idk-gw: Read EXT4 CPU Load (%)
1m 717.00 10.90 1527.00 4.10
4m 716.00 10.63 1529.00 3.17
4k 189.00 47.91 167.00 36.74
256k 717.00 10.65 1526.00 8.31
  • Filesize used is: 10G
  • FIO command options: –ioengine=libaio –iodepth=4 –numjobs=1 –direct=1 –runtime=60 –time_based
  • Platform: Speed 8GT/s, Width x2
  • SSD being used: PLEXTOR PX-128M8PeY

2.2.1.11. NAND Driver

2.2.1.12. OSPI Flash Driver

2.2.1.12.1. J721E-IDK-GW

2.2.1.12.1.1. UBIFS
Buffer size (bytes) j721e-idk-gw: Write UBIFS Throughput (Mbytes/sec) j721e-idk-gw: Write UBIFS CPU Load (%) j721e-idk-gw: Read UBIFS Throughput (Mbytes/sec) j721e-idk-gw: Read UBIFS CPU Load (%)
102400 0.61 (min 0.48, max 1.09) 22.32 (min 22.01, max 22.68) 33.57 8.33
262144 0.47 (min 0.35, max 0.52) 22.26 (min 21.27, max 23.66) 33.53 15.38
524288 0.47 (min 0.35, max 0.52) 21.88 (min 20.91, max 23.39) 33.55 8.33
1048576 0.46 (min 0.35, max 0.52) 20.23 (min 18.77, max 22.22) 33.51 8.33
2.2.1.12.1.2. RAW
File size (Mbytes) j721e-idk-gw: Raw Read Throughput (Mbytes/sec)
50 38.46

2.2.1.13. QSPI Flash Driver

2.2.1.14. UBoot QSPI/OSPI Driver

2.2.1.14.1. J721E-IDK-GW

File size (bytes in hex) j721e-idk-gw: Write Throughput (Kbytes/sec) j721e-idk-gw: Read Throughput (Kbytes/sec)
400000 1543.91 37577.98
800000 1546.54 39009.52
1000000 1547.12 39766.99
2000000 1547.63 40206.13

2.2.1.15. SPI Flash Driver

2.2.1.16. UFS Driver

Warning

IMPORTANT: The performance numbers can be severely affected if the media is mounted in sync mode. Hot plug scripts in the filesystem mount removable media in sync mode to ensure data integrity. For performance sensitive applications, umount the auto-mounted filesystem and re-mount in async mode.


2.2.1.17. UBoot UFS Driver


2.2.1.17.1. J721E-IDK-GW


File size (bytes in hex) j721e-idk-gw: Write Throughput (Kbytes/sec) j721e-idk-gw: Read Throughput (Kbytes/sec)
400000 93090.91 341333.33
800000 98698.80 431157.89
1000000 93622.86 528516.13

2.2.1.18. EMMC Driver

Warning

IMPORTANT: The performance numbers can be severely affected if the media is mounted in sync mode. Hot plug scripts in the filesystem mount removable media in sync mode to ensure data integrity. For performance sensitive applications, umount the auto-mounted filesystem and re-mount in async mode.


2.2.1.19. UBoot EMMC Driver


2.2.1.19.1. J721E-IDK-GW


File size (bytes in hex) j721e-idk-gw: Write Throughput (Kbytes/sec) j721e-idk-gw: Read Throughput (Kbytes/sec)
2000000 59795.62 173375.66
4000000 60625.35 176646.90

2.2.1.20. SATA Driver




  • Filesize used is : 1G
  • SATA II Harddisk used is: Seagate ST3500514NS 500G

2.2.1.20.1. mSATA Driver



  • Filesize used is : 1G
  • MSATA Harddisk used is: SMS200S3/30G Kingston mSATA SSD drive

2.2.1.21. MMC/SD Driver

Warning

IMPORTANT: The performance numbers can be severely affected if the media is mounted in sync mode. Hot plug scripts in the filesystem mount removable media in sync mode to ensure data integrity. For performance sensitive applications, umount the auto-mounted filesystem and re-mount in async mode.


2.2.1.21.1. J721E-IDK-GW


Buffer size (bytes) j721e-idk-gw: Write EXT4 Throughput (Mbytes/sec) j721e-idk-gw: Write EXT4 CPU Load (%) j721e-idk-gw: Read EXT4 Throughput (Mbytes/sec) j721e-idk-gw: Read EXT4 CPU Load (%)
1m 18.90 0.68 43.40 0.53
4m 19.00 0.66 43.30 0.50
4k 4.72 2.56 13.60 6.12
256k 18.50 0.78 42.90 0.65



The performance numbers were captured using the following:

  • SanDisk 8GB MicroSDHC Class 10 Memory Card
  • Partition was mounted with async option

2.2.1.22. UBoot MMC/SD Driver


2.2.1.22.1. J721E-IDK-GW


File size (bytes in hex) j721e-idk-gw: Write Throughput (Kbytes/sec) j721e-idk-gw: Read Throughput (Kbytes/sec)
400000 17964.91 21445.03
800000 17655.17 22443.84
1000000 20004.88 23076.06





2.2.1.23. USB Driver

2.2.1.23.1. USB Host Controller

Warning

IMPORTANT: For Mass-storage applications, the performance numbers can be severely affected if the media is mounted in sync mode. Hot plug scripts in the filesystem mount removable media in sync mode to ensure data integrity. For performance sensitive applications, umount the auto-mounted filesystem and re-mount in async mode.


Setup : Inateck ASM1153E USB hard disk is connected to usb0 port. File read/write performance data on usb0 port is captured.


2.2.1.23.1.1. J721E-IDK-GW

Buffer size (bytes) j721e-idk-gw: Write EXT4 Throughput (Mbytes/sec) j721e-idk-gw: Write EXT4 CPU Load (%) j721e-idk-gw: Read EXT4 Throughput (Mbytes/sec) j721e-idk-gw: Read EXT4 CPU Load (%)
1m 429.00 7.09 427.00 1.88
4m 394.00 5.72 400.00 1.57
4k 61.50 28.33 61.60 25.78
256k 411.00 7.96 409.00 3.35


2.2.1.23.2. USB Device Controller











Number of Blocks j721e-idk-gw: Throughput (MB/sec)
150 37.40

Table: USBDEVICE HIGHSPEED SLAVE READ THROUGHPUT



Number of Blocks j721e-idk-gw: Throughput (MB/sec)
150 33.50

Table: USBDEVICE HIGHSPEED SLAVE WRITE THROUGHPUT






2.2.1.24. CRYPTO Driver

2.2.1.24.1. OpenSSL Performance




Listed for each algorithm are the code snippets used to run each benchmark test.

time -v openssl speed -elapsed -evp aes-128-cbc

2.2.1.24.2. IPSec Hardware Performance

Note: queue_len is set to 300 and software fallback threshold set to 9 to enable software support for optimal performance

2.2.1.24.3. IPSec Software Performance

Algorithm j721e-idk-gw: Throughput (Mbps) j721e-idk-gw: Packets/Sec j721e-idk-gw: CPU Load
3des 230.20 20.00 36.79
aes128 785.30 70.00 56.57
aes192 443.80 39.00 56.90
aes256 768.60 68.00 56.34

2.2.1.25. DCAN Driver

Performance and Benchmarks not available in this release.

2.2.1.26. Power Management