diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2022-03-22 12:49:39 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2023-01-24 06:27:46 +0000 |
commit | 38715f99ce92ea56572a5f9de55a6c48df8c97af (patch) | |
tree | 8a6ffc85e2eb52d06478a38f8ab45fa8438cfbcc /resources/templates | |
parent | 5a98bcc81c8696788a199cbe6c9595a14e24583b (diff) |
Tune host stack performance tests
* remove evt_qs_memfd_seg and evt_qs_seg_size as they are obsolete
* use app socket api instead of vpp's api
* apply rx and tx descriptors constraints
* increase event queue size for nginx tests
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: Ie7ac12b8f587e0b1962884127e8eb68a4e588aee
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
(cherry picked from commit 752538617f43672a0a9eeb93432929032cca05d3)
Diffstat (limited to 'resources/templates')
-rw-r--r-- | resources/templates/vcl/vcl_iperf3.conf | 9 | ||||
-rw-r--r-- | resources/templates/vcl/vcl_nginx.conf | 12 |
2 files changed, 19 insertions, 2 deletions
diff --git a/resources/templates/vcl/vcl_iperf3.conf b/resources/templates/vcl/vcl_iperf3.conf index 9e4b0571dd..adf6c181bc 100644 --- a/resources/templates/vcl/vcl_iperf3.conf +++ b/resources/templates/vcl/vcl_iperf3.conf @@ -1,7 +1,12 @@ vcl { + segment-size 4000000000 + add-segment-size 4000000000 rx-fifo-size 4000000 tx-fifo-size 4000000 app-scope-local app-scope-global - api-socket-name /run/vpp/api.sock -}
\ No newline at end of file + + # This must be kept in sync with vpp_hoststack_attr{app_api_socket} + # in .../resources/libraries/robot/hoststack/hoststack.robot + app-socket-api /run/vpp/app_ns_sockets/default +} diff --git a/resources/templates/vcl/vcl_nginx.conf b/resources/templates/vcl/vcl_nginx.conf new file mode 100644 index 0000000000..80cf0c6808 --- /dev/null +++ b/resources/templates/vcl/vcl_nginx.conf @@ -0,0 +1,12 @@ +vcl { + segment-size 4000000000 + add-segment-size 4000000000 + rx-fifo-size 4000000 + tx-fifo-size 4000000 + use-mq-eventfd + event-queue-size 500000 + + # This must be kept in sync with vpp_hoststack_attr{app_api_socket} + # in .../resources/libraries/robot/hoststack/hoststack.robot + app-socket-api /run/vpp/app_ns_sockets/default +}
\ No newline at end of file |