From b877b616a30c96e23fb732e31eedc176456b3f4d Mon Sep 17 00:00:00 2001 From: charan makkina Date: Wed, 20 Feb 2019 13:49:47 +0530 Subject: Test: bps performance test results. Change-Id: Ie3075d40f6e50abc60208bc36e36c9be996b8dfc Signed-off-by: charan makkina --- test/perf/bps.md | 141 ++++++++++++++++++++++++++++++++++++++++++++++++ test/perf/bps_epoll.md | 141 ++++++++++++++++++++++++++++++++++++++++++++++++ test/perf/bps_select.md | 141 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 423 insertions(+) create mode 100644 test/perf/bps.md create mode 100644 test/perf/bps_epoll.md create mode 100644 test/perf/bps_select.md diff --git a/test/perf/bps.md b/test/perf/bps.md new file mode 100644 index 0000000..8599d18 --- /dev/null +++ b/test/perf/bps.md @@ -0,0 +1,141 @@ +# 1. Description +**Test description:** +Measure the bps required to run kernel stack with DMM and lwip stack with DMM using bps tool. + +**Date:**Monday, 21. January 2019 10:53PM + +**Test Environment:** +Virtual Machines: 172.28.128.3 and 172.28.128.5 +Operating System: Ubuntu 16.04 LTS + +**Test App:** +bps + +# 2. Topology Diagram +![test_topology.png](resources/test_topology.png +"test_topology.png") + +**Physical Machines:** +Server-------------------------Client +connected via 82540EM Gigabit Ethernet Controller + +# 3. Test Commands +**Server Command with kernel+DMM:** +``` +$sudo LD_LIBRARY_PATH=./ LD_PRELOAD=libnStackAPI.so ./bps 172.28.128.3 +``` + +**Client Command with kernel+DMM:** +``` +$ sudo LD_LIBRARY_PATH=./ LD_PRELOAD=libnStackAPI.so ./bps -c 172.28.128.3 -l 64 +``` + +**Server Command with lwip+DMM:** +``` +$sudo LD_LIBRARY_PATH=../release/lib64/ LD_PRELOAD=../release/lib64/libnStackAPI.so ./bps 172.28.128.3 +``` + +**Client Command with lwip+DMM:** +``` +$sudo LD_LIBRARY_PATH=../release/lib64/ LD_PRELOAD=../release/lib64/libnStackAPI.so ./bps -c 172.28.128.3 -l 64 +``` + +#4. Commit version +``` +commit 840dc98676773c027e699bd6efc3793118a5f1ef +Author: charan makkina +Date: Tue Jan 22 14:18:33 2019 +0530 + + Test: Testcases for bps, cps, ip6, lp and te. + + Change-Id: I17ad8a915c4a9332c11797e7f02c82abbfadfbbc + Signed-off-by: charan makkina + +``` +``` +Download source code: git clone https://gerrit.fd.io/r/dmm +``` +#5. Result + +**Virtual Machines:** +**Kernel Stack** + +**Client:** + + | T:mbps | kpps | S:mbps | kpps | R:mbps | kpps | info | +| ---------- | ------ | ---------- | -------| ---------- | ------- | -----| + | 206 | 03 | 79 | 156 | 126 | 247 | 00:01| + | 726 |1,419 | 314 | 614 | 412 | 804 | 00:02| + | 786 |1,535 | 346 | 677 | 439 | 857 | 00:03| + | 814 |1,591 | 365 | 713 | 449 | 877 | 00:04| + | 828 |1,618 | 391 | 765 | 436 | 853 | 00:05| + | 856 |1,672 | 438 | 856 | 417 | 816 | 00:06| + | 820 |1,602 | 392 | 767 | 427 | 834 | 00:07| + | 775 |1,513 | 339 | 662 | 435 | 850 | 00:08| + | 791 |1,545 | 347 | 678 | 443 | 866 | 00:09| + | 842 |1,646 | 424 | 829 | 418 | 817 | 00:10| + | 723 |1,413 | 306 | 598 | 417 | 815 | 00:11| + | 837 |1,635 | 426 | 832 | 411 | 803 | 00:12| + | 770 |1,505 | 334 | 654 | 435 | 851 | 00:13| + | 767 |1,499 | 349 | 682 | 417 | 816 | 00:14| + | 835 |1,631 | 387 | 757 | 447 | 874 | 00:15| + | 820 |1,601 | 358 | 699 | 461 | 902 | 00:16| + | 817 |1,597 | 370 | 723 | 447 | 874 | 00:17| + | 844 |1,648 | 391 | 763 | 452 | 884 | 00:18| + | 814 |1,590 | 364 | 711 | 450 | 879 | 00:19| + | 726 |1,418 | 269 | 526 | 456 | 892 | 00:20| + | 747 |1,459 | 345 | 674 | 402 | 785 | 00:21| + | 811 |1,584 | 389 | 760 | 422 | 824 | 00:22| + | 806 |1,575 | 356 | 696 | 450 | 879 | 00:23| + | 798 |1,559 | 351 | 685 | 447 | 873 | 00:24| + | 712 |1,390 | 270 | 528 | 441 | 862 | 00:25| + | 790 |1,544 | 318 | 622 | 471 | 921 | 00:26| + | 837 |1,636 | 379 | 741 | 457 | 894 | 00:27| + | 753 |1,472 | 342 | 669 | 410 | 802 | 00:28| + | 788 |1,540 | 350 | 685 | 437 | 855 | 00:29| + | 794 |1,551 | 350 | 685 | 443 | 865 | 00:30| + +**LWIP stack:** + + +**Client:** + + | T:mbps | kpps | S:mbps | kpps | R:mbps | kpps | info | +| ---------- | ------ | ---------- | -------| ---------- | ------- | -----| + |109 | 214 | 53 | 104 | 56 | 109 | 00:01 | + |123 | 241 | 55 | 108 | 68 | 133 | 00:02 | + |142 | 277 | 72 | 140 | 70 | 136 | 00:03 | + |118 | 230 | 51 | 101 | 66 | 129 | 00:04 | + |135 | 263 | 55 | 107 | 79 | 155 | 00:05 | + |137 | 269 | 55 | 107 | 82 | 161 | 00:06 | + |138 | 270 | 53 | 105 | 84 | 165 | 00:07 | + |122 | 239 | 58 | 113 | 64 | 126 | 00:08 | + |125 | 244 | 51 | 100 | 73 | 143 | 00:09 | + |111 | 217 | 53 | 105 | 57 | 112 | 00:10 | + |125 | 244 | 58 | 115 | 66 | 129 | 00:11 | + |225 | 440 | 105| 205 | 120| 234 | 00:12| + |192 | 376 | 91 | 177 | 101 | 198 | 00:13| + |201 | 393 | 95 | 186 | 106 | 207 | 00:14| + |210 | 410 | 98 | 192 | 111 | 218 | 00:15| + |210 | 410 | 93 | 183 | 116 | 226 | 00:16| + |149 | 292 | 78 | 152 | 71 | 139 | 00:17 | + |132 | 257 | 59 | 116 | 72 | 140 | 00:18 | + |138 | 271 | 58 | 114 | 80 | 156 | 00:19 | + |133 | 260 | 58 | 114 | 74 | 146 | 00:20 | + |127 | 248 | 58 | 114 | 68 | 133 | 00:21 | + |114 | 224 | 55 | 107 | 59 | 116 | 00:22 | + |126 | 247 | 60 | 117 | 66 | 129 | 00:23 | + |141 | 275 | 71 | 140 | 69 | 135 | 00:24 | + |158 | 308 | 73 | 144 | 84 | 164 | 00:25 | + |181 | 354 | 78 | 153 | 102 | 200 | 00:26| + |156 | 306 | 70 | 138 | 85 | 167 | 00:27 | + |158 | 310 | 74 | 145 | 84 | 164 | 00:28 | + |167 | 327 | 79 | 155 | 88 | 172 | 00:29 | + |161 | 315 | 85 | 166 | 76 | 149 | 00:30 | + +#7. Conclusion +**Virtual Machines:** +The sender and receiver has values in the range of 357 and 436 mbps for kernel stack. +The sender and receiver has values in the range of 68 and 80 mbps for lwip stack. + +These are the benchmark values for further tests. diff --git a/test/perf/bps_epoll.md b/test/perf/bps_epoll.md new file mode 100644 index 0000000..53d799a --- /dev/null +++ b/test/perf/bps_epoll.md @@ -0,0 +1,141 @@ +# 1. Description +**Test description:** +Measure the bps required to run kernel stack with DMM and lwip stack with DMM using bps tool. + +**Date:**Monday, 21. January 2019 10:53PM + +**Test Environment:** +Virtual Machines: 172.28.128.3 and 172.28.128.5 +Operating System: Ubuntu 16.04 LTS + +**Test App:** +bps + +# 2. Topology Diagram +![test_topology.png](resources/test_topology.png +"test_topology.png") + +**Physical Machines:** +Server-------------------------Client +connected via 82540EM Gigabit Ethernet Controller + +# 3. Test Commands +**Server Command with kernel+DMM:** +``` +$sudo LD_LIBRARY_PATH=./ LD_PRELOAD=libnStackAPI.so ./bps 172.28.128.3 +``` + +**Client Command with kernel+DMM:** +``` +$ sudo LD_LIBRARY_PATH=./ LD_PRELOAD=libnStackAPI.so ./bps -c 172.28.128.3 -l 64 +``` + +**Server Command with lwip+DMM:** +``` +$sudo LD_LIBRARY_PATH=../release/lib64/ LD_PRELOAD=../release/lib64/libnStackAPI.so ./bps 172.28.128.3 +``` + +**Client Command with lwip+DMM:** +``` +$sudo LD_LIBRARY_PATH=../release/lib64/ LD_PRELOAD=../release/lib64/libnStackAPI.so ./bps -c 172.28.128.3 -l 64 +``` + +#4. Commit version +``` +commit 840dc98676773c027e699bd6efc3793118a5f1ef +Author: charan makkina +Date: Tue Jan 22 14:18:33 2019 +0530 + + Test: Testcases for bps, cps, ip6, lp and te. + + Change-Id: I17ad8a915c4a9332c11797e7f02c82abbfadfbbc + Signed-off-by: charan makkina + +``` +``` +Download source code: git clone https://gerrit.fd.io/r/dmm +``` +#5. Result + +**Virtual Machines:** +**Kernel Stack** + +**Client:** + + | T:mbps | kpps | S:mbps | kpps | R:mbps | kpps | info | +| ---------- | ------ | ---------- | -------| ---------- | ------- | -----| + |369 | 722 | 177 | 347 | 191 | 374 | 00:01| + |786 |1,535 | 378 | 738 | 407 | 796 | 00:02| + |829 |1,619 | 416 | 812 | 413 | 806 | 00:03| + |866 |1,692 | 425 | 831 | 441 | 861 | 00:04| + |839 |1,639 | 399 | 779 | 440 | 859 | 00:05| + |774 |1,512 | 377 | 737 | 396 | 774 | 00:06| + |796 |1,554 | 365 | 713 | 430 | 841 | 00:07| + |839 |1,640 | 432 | 845 | 406 | 794 | 00:08| + |820 |1,601 | 383 | 749 | 436 | 851 | 00:09| + |801 |1,565 | 362 | 708 | 438 | 856 | 00:10| + |812 |1,586 | 391 | 764 | 421 | 822 | 00:11| + |860 |1,679 | 414 | 809 | 445 | 869 | 00:12| + |790 |1,544 | 359 | 702 | 431 | 841 | 00:13| + |826 |1,614 | 391 | 765 | 435 | 849 | 00:14| + |868 |1,695 | 430 | 841 | 437 | 853 | 00:15| + |858 |1,676 | 430 | 841 | 427 | 835 | 00:16| + |819 |1,599 | 409 | 798 | 410 | 800 | 00:17| + |817 |1,596 | 416 | 812 | 401 | 783 | 00:18| + |835 |1,631 | 428 | 837 | 406 | 794 | 00:19| + |848 |1,657 | 409 | 799 | 439 | 858 | 00:20| + |835 |1,631 | 413 | 807 | 422 | 824 | 00:21| + |909 |1,775 | 464 | 908 | 444 | 867 | 00:22| + |840 |1,641 | 420 | 820 | 420 | 821 | 00:23| + |794 |1,551 | 347 | 678 | 446 | 872 | 00:24| + |815 |1,593 | 377 | 737 | 438 | 856 | 00:25| + |895 |1,748 | 462 | 903 | 432 | 845 | 00:26| + |848 |1,657 | 401 | 783 | 447 | 874 | 00:27| + |826 |1,614 | 391 | 765 | 434 | 849 | 00:28| + |781 |1,527 | 362 | 707 | 419 | 819 | 00:29| + |853 |1,666 | 436 | 852 | 416 | 813 | 00:30| + +**LWIP stack:** + + +**Client:** + + | T:mbps | kpps | S:mbps | kpps | R:mbps | kpps | info | +| ---------- | ------ | ---------- | -------| ---------- | ------- | -----| + | 126 | 247 | 30 | 58 | 96 | 188 | 00:01| + | 138 | 271 | 31 | 62 | 106| 208 | 00:02| + | 125 | 244 | 47 | 93 | 77 | 151 | 00:03| + | 138 | 270 | 40 | 79 | 97 | 190 | 00:04| + | 131 | 257 | 39 | 78 | 91 | 179 | 00:05| + | 115 | 225 | 46 | 91 | 68 | 134 | 00:06| + | 132 | 257 | 49 | 95 | 82 | 162 | 00:07| + | 121 | 237 | 49 | 96 | 72 | 141 | 00:08| + | 116 | 227 | 58 | 114 | 57| 112 | 00:09| + | 103 | 202 | 51 | 101 | 51| 101 | 00:10| + | 110 | 216 | 45 | 88 | 65 | 128 | 00:11| + | 137 | 268 | 52 | 101 | 85| 167 | 00:12| + | 116 | 227 | 30 | 60 | 85 | 166 | 00:13| + | 116 | 227 | 47 | 92 | 69 | 135 | 00:14| + | 124 | 242 | 40 | 79 | 83 | 163 | 00:15| + | 106 | 207 | 43 | 84 | 62 | 122 | 00:16| + | 120 | 234 | 51 | 100 | 68| 134 | 00:17| + | 118 | 232 | 35 | 68 | 83 | 163 | 00:18| + | 131 | 256 | 30 | 59 | 100| 196 | 00:19| + | 105 | 205 | 32 | 64 | 72 | 141 | 00:20| + | 96 |188 | 29 |57 | 67 |131 | 00:21 | + | 119 | 233 | 33 | 66 | 85 | 167 | 00:22| + | 110 | 215 | 31 | 61 | 78 | 154 | 00:23| + | 80 |158 | 28 |55 | 52 |103 | 00:24 | + | 73 |144 | 26 |51 | 47 | 92 | 00:25 | + |104 |204 | 34 |67 | 69 |136 | 00:26 | + | 100 | 196 | 31 | 62 | 68 | 133 | 00:27 | + | 71 |138 | 27 |54 | 43 | 84 | 00:28 | + | 88 |171 | 31 |62 | 56 |109 | 00:29 | + | 82 |161 | 34 |67 | 48 | 93 | 00:30 | + +#7. Conclusion +**Virtual Machines:** +The sender and receiver has values in the range of 403 and 427 mbps for kernel stack. +The sender and receiver has values in the range of 38 and 73 mbps for lwip stack. + +These are the benchmark values for further tests. diff --git a/test/perf/bps_select.md b/test/perf/bps_select.md new file mode 100644 index 0000000..499fce0 --- /dev/null +++ b/test/perf/bps_select.md @@ -0,0 +1,141 @@ +# 1. Description +**Test description:** +Measure the bps required to run kernel stack with DMM and lwip stack with DMM using bps tool. + +**Date:**Monday, 21. January 2019 10:53PM + +**Test Environment:** +Virtual Machines: 172.28.128.3 and 172.28.128.5 +Operating System: Ubuntu 16.04 LTS + +**Test App:** +bps + +# 2. Topology Diagram +![test_topology.png](resources/test_topology.png +"test_topology.png") + +**Physical Machines:** +Server-------------------------Client +connected via 82540EM Gigabit Ethernet Controller + +# 3. Test Commands +**Server Command with kernel+DMM:** +``` +$sudo LD_LIBRARY_PATH=./ LD_PRELOAD=libnStackAPI.so ./bps 172.28.128.3 +``` + +**Client Command with kernel+DMM:** +``` +$ sudo LD_LIBRARY_PATH=./ LD_PRELOAD=libnStackAPI.so ./bps -c 172.28.128.3 -l 64 +``` + +**Server Command with lwip+DMM:** +``` +$sudo LD_LIBRARY_PATH=../release/lib64/ LD_PRELOAD=../release/lib64/libnStackAPI.so ./bps 172.28.128.3 +``` + +**Client Command with lwip+DMM:** +``` +$sudo LD_LIBRARY_PATH=../release/lib64/ LD_PRELOAD=../release/lib64/libnStackAPI.so ./bps -c 172.28.128.3 -l 64 +``` + +#4. Commit version +``` +commit 840dc98676773c027e699bd6efc3793118a5f1ef +Author: charan makkina +Date: Tue Jan 22 14:18:33 2019 +0530 + + Test: Testcases for bps, cps, ip6, lp and te. + + Change-Id: I17ad8a915c4a9332c11797e7f02c82abbfadfbbc + Signed-off-by: charan makkina + +``` +``` +Download source code: git clone https://gerrit.fd.io/r/dmm +``` +#5. Result + +**Virtual Machines:** +**Kernel Stack** + +**Client:** + + | T:mbps | kpps | S:mbps | kpps | R:mbps | kpps | info | +| ---------- | ------ | ---------- | -------| ---------- | ------- | -----| + |459 | 897 | 182 | 356 | 277 | 541 | 00:01| + |838 |1,637 | 374 | 731 | 463 | 906 | 00:02| + |747 |1,459 | 310 | 605 | 437 | 854 | 00:03| + |749 |1,464 | 302 | 590 | 447 | 874 | 00:04| + |793 |1,549 | 357 | 697 | 436 | 851 | 00:05| + |766 |1,497 | 309 | 604 | 457 | 893 | 00:06| + |821 |1,603 | 361 | 705 | 459 | 898 | 00:07| + |791 |1,544 | 333 | 650 | 457 | 894 | 00:08| + |815 |1,592 | 370 | 722 | 445 | 869 | 00:09| + |800 |1,564 | 326 | 637 | 474 | 927 | 00:10| + |759 |1,482 | 296 | 579 | 462 | 903 | 00:11| + |794 |1,551 | 329 | 642 | 465 | 908 | 00:12| + |804 |1,571 | 343 | 670 | 461 | 900 | 00:13| + |827 |1,615 | 367 | 717 | 460 | 898 | 00:14| + |755 |1,475 | 320 | 625 | 435 | 850 | 00:15| + |840 |1,641 | 363 | 710 | 476 | 930 | 00:16| + |747 |1,459 | 318 | 621 | 429 | 838 | 00:17| + |787 |1,537 | 305 | 595 | 482 | 941 | 00:18| + |798 |1,560 | 320 | 626 | 478 | 933 | 00:19| + |741 |1,447 | 304 | 594 | 436 | 853 | 00:20| + |807 |1,577 | 362 | 708 | 444 | 868 | 00:21| + |826 |1,614 | 381 | 745 | 445 | 869 | 00:22| + |792 |1,548 | 325 | 636 | 466 | 911 | 00:23| + |852 |1,665 | 384 | 750 | 468 | 914 | 00:24| + |787 |1,538 | 332 | 650 | 455 | 888 | 00:25| + |812 |1,585 | 374 | 731 | 437 | 854 | 00:26| + |789 |1,541 | 340 | 665 | 448 | 876 | 00:27| + |799 |1,561 | 341 | 666 | 458 | 894 | 00:28| + |766 |1,497 | 319 | 624 | 447 | 873 | 00:29| + |775 |1,514 | 296 | 578 | 479 | 936 | 00:30| + +**LWIP stack:** + + +**Client:** + + | T:mbps | kpps | S:mbps | kpps | R:mbps | kpps | info | +| ---------- | ------ | ---------- | -------| ---------- | ------- | -----| + | 89 |174 | 53 |103 | 36 | 71 | 00:01 | + | 115 | 225 | 53 | 105 | 61 | 120 | 00:02 | + | 95 | 185 | 45 | 88 | 49 | 96 | 00:03 | + | 142 | 279 | 69 | 136 | 73 | 142 | 00:04 | + | 107 | 209 | 54 | 106 | 52 | 103 | 00:05 | + | 121 | 237 | 52 | 101 | 69 | 135 | 00:06 | + | 92 | 180 | 42 | 83 | 49 | 97 | 00:07 | + | 163 | 318 | 75 | 147 | 87 | 170 | 00:08 | + | 125 | 245 | 70 | 137 | 54 | 107 | 00:09 | + | 134 | 262 | 69 | 136 | 64 | 125 | 00:10 | + | 135 | 264 | 74 | 145 | 61 | 119 | 00:11 | + | 132 | 259 | 68 | 133 | 64 | 125 | 00:12 | + | 100 | 197 | 51 | 99 | 49 | 97 | 00:13 | + | 108 | 212 | 55 | 107 | 53 | 105 | 00:14 | + | 109 | 213 | 57 | 113 | 51 | 100 | 00:15 | + | 129 | 253 | 56 | 109 | 73 | 143 | 00:16 | + | 213 | 417 | 85 | 166 | 128| 250 | 00:17| + | 180 | 352 | 86 | 168 | 94 | 184 | 00:18 | + | 177 | 347 | 86 | 168 | 91 | 179 | 00:19 | + | 192 | 376 | 86 | 169 | 106| 207 | 00:20| + | 202 | 395 | 89 | 175 | 112| 219 | 00:21| + | 198 | 388 | 91 | 178 | 107| 209 | 00:22| + | 181 | 355 | 82 | 161 | 99 | 193 | 00:23 | + | 192 | 375 | 85 | 167 | 106| 208 | 00:24| + | 176 | 345 | 86 | 169 | 89 | 175 | 00:25 | + | 174 | 341 | 82 | 160 | 92 | 180 | 00:26 | + | 186 | 364 | 81 | 158 | 105| 205 | 00:27| + | 199 | 389 | 82 | 160 | 117| 228 | 00:28| + | 173 | 338 | 81 | 160 | 91 | 178 | 00:29 | + | 191 | 373 | 88 | 172 | 103| 201 | 00:30| + +#7. Conclusion +**Virtual Machines:** +The sender and receiver has values in the range of 357 and 455 mbps for kernel stack. +The sender and receiver has values in the range of 71 and 80 mbps for lwip stack. + +These are the benchmark values for further tests. -- cgit 1.2.3-korg