summaryrefslogtreecommitdiffstats
path: root/it/jvpp-benchmark/pom.xml
AgeCommit message (Collapse)AuthorFilesLines
2018-10-18Hc2vpp 1.18.10-RC1Michal Cmarada1-2/+2
Change-Id: I003a05fb0613855de1912ea6d790ece8a077c687 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-07-20Bump jvpp version to 18.10-SNAPSHOTMarek Gradzki1-1/+1
Also sets version of VPP package dependencies to 18.07. Change-Id: I4be0a5a9217c3e059125e7eb5a36170d02f12b88 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-20Bump hc2vpp version to 1.18.10-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-29jvpp-benchmark: include project version in the shaded artifact nameMarek Gradzki1-3/+2
Renames shaded jar name from jvpp-benchmark-exec.jar to jvpp-benchmark-1.18.07-SNAPSHOT-executable.jar Change-Id: I593946dde3a6fc1717644e7315110aa94553d91d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-26jvpp-benchmark: add option to select interface modeMarek Gradzki1-0/+5
Changes: - use loopback interface instead of local0, - if L3 (default) mode is selected, assing IP to the loop0 interface, - if L2 mode is selected, create bridge domain and assing loop0 the BD. To test interface in L2 mode, use: sudo java -jar ./target/jvpp-benchmark-exec.jar -p mode=L2 Change-Id: I8450d42fe0d164c6dbedf1dacf1444a25d9932b8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 6e5446c9d64df7f2cbde857d276e8685c9175089)
2018-05-24jvpp-benchmark: fix IP generationMarek Gradzki1-0/+5
Change-Id: I5ab4465f25c13e0f3b89e2757bde9dd47c660732 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-24JVpp JMH benchmarkMarek Gradzki1-0/+101
Creates ACL of size aclSize using acl_add_replace, then assigns it to local0 using acl_interface_set_acl_list. Then ACL is updated synchronously using acl_add_replace. By default 20x2s warmup and 100x2s measurment iterations are performed. VPP is restarted after each iteration. Each invocation of acl_add_replace uses ACL from precomputed set of ACLs of size aclSetSize. ACLs from the set are used in round-robin fashion. Compile: cd $HC2VPP_ROOT/it/jvpp-benchmark mvn clean install Run with: sudo java -jar ./target/jvpp-benchmark-exec.jar To specify aclSize (default=100), use: sudo java -jar ./target/jvpp-benchmark-exec.jar -p aclSize=1000 To specify aclSetSize (default=100), use: sudo java -jar ./target/jvpp-benchmark-exec.jar -p aclSetSize=1000 To see more options, use java -jar ./target/jvpp-benchmark-exec.jar -h Change-Id: I43691ba891940a1c341f8e9893c8598c811bc077 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>