Skip to content

Commit 2b806ac

Browse files
fix(perf): Fix missing UDP iperf title in performance guide
Signed-off-by: Meghana Malladi <[email protected]>
1 parent c2d45d7 commit 2b806ac

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

source/devices/AM64X/linux/RT_Linux_Performance_Guide.rst

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ The latencies observed with this DK are summarized below:
7373
7474
LMBench
7575
^^^^^^^^^^^^^^^^^^^^^^^^^^^
76-
LMBench is a collection of microbenchmarks of which the memory bandwidth
77-
and latency related ones are typically used to estimate processor
78-
memory system performance. More information about lmbench at
76+
LMBench is a collection of microbenchmarks of which the memory bandwidth
77+
and latency related ones are typically used to estimate processor
78+
memory system performance. More information about lmbench at
7979
https://lmbench.sourceforge.net/whatis_lmbench.html and
8080
https://lmbench.sourceforge.net/man/lmbench.8.html
81-
81+
8282
**Latency**: lat_mem_rd-stride128-szN, where N is equal to or smaller than the cache
8383
size at given level measures the cache miss penalty. N that is at least
8484
double the size of last level cache is the latency to external memory.
@@ -249,10 +249,10 @@ solving a dense linear system.
249249
Stream
250250
^^^^^^^^^^^^^^^^^^^^^^^^^^^
251251
STREAM is a microbenchmark for measuring data memory system performance without
252-
any data reuse. It is designed to miss on caches and exercise data prefetcher
252+
any data reuse. It is designed to miss on caches and exercise data prefetcher
253253
and speculative accesses.
254254
It uses double precision floating point (64bit) but in
255-
most modern processors the memory access will be the bottleneck.
255+
most modern processors the memory access will be the bottleneck.
256256
The four individual scores are copy, scale as in multiply by constant,
257257
add two numbers, and triad for multiply accumulate.
258258
For bandwidth, a byte read counts as one and a byte written counts as one,
@@ -370,39 +370,39 @@ Ethernet
370370
-----------------
371371
Ethernet performance benchmarks were measured using Netperf 2.7.1 https://hewlettpackard.github.io/netperf/doc/netperf.html
372372
Test procedures were modeled after those defined in RFC-2544:
373-
https://tools.ietf.org/html/rfc2544, where the DUT is the TI device
373+
https://tools.ietf.org/html/rfc2544, where the DUT is the TI device
374374
and the "tester" used was a Linux PC. To produce consistent results,
375-
it is recommended to carry out performance tests in a private network and to avoid
376-
running NFS on the same interface used in the test. In these results,
375+
it is recommended to carry out performance tests in a private network and to avoid
376+
running NFS on the same interface used in the test. In these results,
377377
CPU utilization was captured as the total percentage used across all cores on the device,
378-
while running the performance test over one external interface.
378+
while running the performance test over one external interface.
379379

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

385385
::
386386

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

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

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

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

398398
::
399399

400400
netserver [-p <port_number>] [-4 (IPv4 addressing)] [-6 (IPv6 addressing)]
401-
402-
Running the following shell script from the DUT will trigger netperf clients to measure
401+
402+
Running the following shell script from the DUT will trigger netperf clients to measure
403403
bidirectional TCP performance for 60 seconds and report CPU utilization. Parameter -k is used in
404-
client commands to summarize selected statistics on their own line and -j is used to gain
405-
additional timing measurements during the test.
404+
client commands to summarize selected statistics on their own line and -j is used to gain
405+
additional timing measurements during the test.
406406

407407
::
408408

@@ -411,45 +411,45 @@ additional timing measurements during the test.
411411
do
412412
netperf -H <tester ip> -j -c -l 60 -t TCP_STREAM --
413413
-k DIRECTION,THROUGHPUT,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD,LOCAL_SEND_SIZE &
414-
414+
415415
netperf -H <tester ip> -j -c -l 60 -t TCP_MAERTS --
416416
-k DIRECTION,THROUGHPUT,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD,LOCAL_SEND_SIZE &
417417
done
418418

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

422422
- For UDP egress tests, run netperf client from DUT and start netserver on tester.
423423

424424
::
425425

426-
netperf -H <tester ip> -j -c -l 60 -t UDP_STREAM -b <burst_size> -w <wait_time> -- -m <UDP datagram size>
427-
-k DIRECTION,THROUGHPUT,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD,LOCAL_SEND_SIZE
426+
netperf -H <tester ip> -j -c -l 60 -t UDP_STREAM -b <burst_size> -w <wait_time> -- -m <UDP datagram size>
427+
-k DIRECTION,THROUGHPUT,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD,LOCAL_SEND_SIZE
428428

429-
- For UDP ingress tests, run netperf client from tester and start netserver on DUT.
429+
- For UDP ingress tests, run netperf client from tester and start netserver on DUT.
430430

431431
::
432432

433433
netperf -H <DUT ip> -j -C -l 60 -t UDP_STREAM -b <burst_size> -w <wait_time> -- -m <UDP datagram size>
434-
-k DIRECTION,THROUGHPUT,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD,LOCAL_SEND_SIZE
434+
-k DIRECTION,THROUGHPUT,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_BYTES_SENT,REMOTE_BYTES_RECVD,LOCAL_SEND_SIZE
435435

436-
CPSW/CPSW2g/CPSW3g Ethernet Driver
436+
CPSW/CPSW2g/CPSW3g Ethernet Driver
437437
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
438438

439439
- CPSW3g: AM64x
440440

441-
.. rubric:: TCP Bidirectional Throughput
441+
.. rubric:: TCP Bidirectional Throughput
442442
:name: CPSW2g-tcp-bidirectional-throughput
443443

444444
.. csv-table:: CPSW2g TCP Bidirectional Throughput
445445
:header: "Command Used","am64xx-hsevm: THROUGHPUT (Mbits/sec)","am64xx-hsevm: CPU Load % (LOCAL_CPU_UTIL)"
446446

447447
"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","1095.34","98.12"
448448

449-
ICSSG Ethernet Driver
449+
ICSSG Ethernet Driver
450450
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
451451

452-
.. rubric:: TCP Bidirectional Throughput
452+
.. rubric:: TCP Bidirectional Throughput
453453
:name: tcp-bidirectional-throughput
454454

455455
.. csv-table:: ICSSG TCP Bidirectional Throughput
@@ -465,6 +465,9 @@ ICSSG Ethernet Driver
465465

466466
"netperf -H 192.168.2.1 -j -c -C -l 60 -t TCP_STREAM; netperf -H 192.168.2.1 -j -c -C -l 60 -t TCP_MAERTS","359.51","53.51"
467467

468+
.. rubric:: UDP Ingress Throughput
469+
:name: ICSSG-udp-ingress-throughput
470+
468471
.. csv-table:: ICSSG UDP Ingress Throughput 0 loss
469472
:header: "Frame Size(bytes)","am64xx-hsevm: UDP Datagram Size(bytes) (LOCAL_SEND_SIZE)","am64xx-hsevm: THROUGHPUT (Mbits/sec)","am64xx-hsevm: Packets Per Second (kPPS)","am64xx-hsevm: CPU Load %"
470473

0 commit comments

Comments
 (0)