X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Flibmemif%2Fdocs%2Fdevperftest_doc.md;h=4c210f5b514621bcf0e0eaa36f0ae0b196e8698d;hb=085e8d40273c25a5200947a8663444aa80272114;hp=92f21c0b09d06295cf981bd8230e7c64a483c6a6;hpb=f324dec0a371431f9326f67e920630579741da3c;p=vpp.git diff --git a/extras/libmemif/docs/devperftest_doc.md b/extras/libmemif/docs/devperftest_doc.md index 92f21c0b09d..4c210f5b514 100644 --- a/extras/libmemif/docs/devperftest_doc.md +++ b/extras/libmemif/docs/devperftest_doc.md @@ -1,6 +1,6 @@ ## Development performance test {#libmemif_devperftest_doc} -Simle test cases using ICMP. icmpr-epoll example app generates and transmits packets over memif interface. +Simple test cases using ICMP. icmpr-epoll example app generates and transmits packets over memif interface. #### TC1: LIB-VPP @@ -8,7 +8,7 @@ Start icmpr-epoll example app and VPP. VPP-side config: ``` -DBGvpp# create memif id 0 master +DBGvpp# create interface memif id 0 master DBGvpp# set int state memif0/0 up DBGvpp# set int ip address memif0/0 192.168.1.1/24 ``` @@ -29,9 +29,9 @@ send 0 5 192.168.1.1 02:fe:ff:ff:ff:ff ``` this command will create new thread which will generate icmp packets and transmit them over memif connection with specified index. Once the sequence is finished status will be printed. -###### Example results (owerview of test data) +###### Example results (overview of test data) -(This test was run with modofication in VPP-memif plugin. The modification disallows memif tx node to allocate last ring buffer) +(This test was run with modification in VPP-memif plugin. The modification disallows memif tx node to allocate last ring buffer) lib-tx: 200M (if ring full don't drop packets) vpp-rx: 200M vpp-tx: 200M - 50K (if ring full drop packets) @@ -58,7 +58,7 @@ send 0 5 192.168.1.1 aa:aa:aa:aa:aa:aa ``` > icmpr-epoll example app doesn't check ip or mac address so as long as the format is correct you can type anything as ip_daddr and hw_daddr arguments. -###### Example results (owerview of test data) +###### Example results (overview of test data) lib1-tx: 200M (if ring full don't drop packets) lib2-rx: 200M @@ -67,7 +67,7 @@ lib1-rx: 200M drop: obsolete pps: 4.5M multiple interfaces: -not tested (excpected same as TC1) +not tested (expected same as TC1) #### TC3: LIB-LIB @@ -82,7 +82,7 @@ conn 0 0 1 send 0 5 192.168.1.1 aa:aa:aa:aa:aa:aa ``` -###### Example results (owerview of test data) +###### Example results (overview of test data) lib1-tx: 200M (if ring full don't drop packets) lib2-rx: 200M @@ -91,4 +91,4 @@ lib1-rx: =lib2-tx drop: ~15% pps: ~6M multiple interfaces: -not tested (excpected same as TC1) +not tested (expected same as TC1)