From 58ae60b33804f46eef43216ccb0d08eb71cd7104 Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Tue, 13 Dec 2016 12:56:23 +0200 Subject: doc english corrections Signed-off-by: Ido Barnea --- doc/trex_book.asciidoc | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'doc') diff --git a/doc/trex_book.asciidoc b/doc/trex_book.asciidoc index 70ae0524..4129837f 100755 --- a/doc/trex_book.asciidoc +++ b/doc/trex_book.asciidoc @@ -2094,35 +2094,35 @@ sudo arp -s 172.168.0.100 eth7 (Down) ==== TRex specific implementation details TRex uses flow director filter to steer specific packets to specific queues. -To support that we change IPv4.TOS/Ipv6.TC LSB to *1* to be steered. So latency packets will have this bit turn on (not only for ConnectX-4) -Watch out, In case DUT will clear this bit (change the TOS with LSB==0, e.g. 0x3->0x2) packets won't be forward to TRex. +To support that, we change IPv4.TOS/Ipv6.TC LSB to *1* for packets we want to handle by software (Other packets will be dropped). So latency packets will have this bit turned on (This is true for all NIC types, not only for ConnectX-4). +This means taht if the DUT for some reason clears this bit (change TOS LSB to 0, e.g. change it from 0x3 to 0x2 for example) some TRex features (latency measurement for example) will not work properly. ==== Which NIC to buy? -NIC with two ports will work better from performance prospective, so it is better to have MCX456A-ECAT(dual 100gb port) and *not* the MCX455A-ECAT (single 100gb port). +NIC with two ports will work better from performance prospective, so it is better to have MCX456A-ECAT(dual 100gb ports) and *not* the MCX455A-ECAT (single 100gb port). ==== Limitation/Issues -* Stateless per stream statistic is not supported yet +* Stateless mode ``per stream statistics'' feature is handled in software (No hardware support like in X710 card). * link:https://trex-tgn.cisco.com/youtrack/issue/trex-260[64B performance issue] * link:https://trex-tgn.cisco.com/youtrack/issue/trex-261[Latency issue] * link:https://trex-tgn.cisco.com/youtrack/issue/trex-262[Statful RX out of order] @@ -2504,25 +2504,25 @@ NIC with two ports will work better from performance prospective, so it is bette ==== Performance Cycles/Packet ConnectX-4 vs Intel XL710 -For version TRex v2.11, this is the comparison results between XL710 and ConnectX-4 for various scenarios +For TRex version v2.11, these are the comparison results between XL710 and ConnectX-4 for various scenarios. -.Stateless MPPS/Core [Perlimeniary] +.Stateless MPPS/Core [Preliminary] image:images/xl710_vs_mlx5_64b.png[title="Stateless 64B"] -.Stateless Gb/Core [Perlimeniary] +.Stateless Gb/Core [Preliminary] image:images/xl710_vs_mlx5_var_size.png[title="Stateless variable size packet"] *Comments*:: -1. For Stateless 64B profiles ConnectX-4 cost 50-90% more cycles per packet (it is actually even more because there is the TRex scheduler overhead) - it means that in the worst case scenario you will need x2 CPU for the same total MPPS -2. For Stateless/Stateful 256B profiles, ConnectX-4 cost half of the cycles per packets. ConnectX-4 probably can handle in a better way chained mbuf (scatter gather). -3. In Average Stateful senario ConnectX-4 will be slightly better. -4. MLX5 can reach ~90MPPS while XL710 limited to 35MPPS +1. For Stateless 64B profiles, ConnectX-4 uses 50-90% more CPU cycles per packet (it is actually even more because there is the TRex scheduler overhead) - it means that in worst case scenario, you will need x2 CPU for the same total MPPS. +2. For Stateless/Stateful 256B profiles, ConnectX-4 uses half of the CPU cycles per packet. ConnectX-4 probably can handle in a better way chained mbufs (scatter gather). +3. In average stateful senario, ConnectX-4 is slightly better. +4. MLX5 can reach ~90MPPS while XL710 is limited to 35MPPS. [NOTE] ===================================== -There is a task to automate the production of this reports +There is a task to automate the production of thess reports ===================================== ==== Troubleshooting @@ -2551,7 +2551,7 @@ anchor:ciscovic_support[] ==== Limitations/Issues -* Stateless per stream statistics is done in software (No hardware support like in X710 card). +* Stateless mode ``per stream statistics'' feature is handled in software (No hardware support like in X710 card). * link:https://trex-tgn.cisco.com/youtrack/issue/trex-272[QSFP+ issue] -- cgit 1.2.3-korg