aboutsummaryrefslogtreecommitdiffstats
path: root/extras/scripts
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2025-03-28 12:04:50 -0400
committerFlorin Coras <florin.coras@gmail.com>2025-03-28 20:28:15 +0000
commit2926d0a88ef1aca5f758fb4ab68aaab45947479b (patch)
treed04e465bc8c4696fad746fec65b8215eff40d8a1 /extras/scripts
parentcf8deb94a22aa0df5d84f14f42fa35d3c9611ec1 (diff)
http_static: POST to static files improvement
Type: improvement Change-Id: I6a6794dee3c9e948227e6c08769d45aa595bfe02 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'extras/scripts')
-rw-r--r--extras/scripts/host-stack/http-speed-test/speed_test_startup_conf31
-rw-r--r--extras/scripts/host-stack/http-speed-test/speedtest.cli5
2 files changed, 36 insertions, 0 deletions
diff --git a/extras/scripts/host-stack/http-speed-test/speed_test_startup_conf b/extras/scripts/host-stack/http-speed-test/speed_test_startup_conf
new file mode 100644
index 00000000000..ec9230148e5
--- /dev/null
+++ b/extras/scripts/host-stack/http-speed-test/speed_test_startup_conf
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: Apache-2.0
+# Copyright (c) 2025 Cisco Systems, Inc.
+unix {
+ interactive log /tmp/vpp.log
+ full-coredump
+ exec /scratch/matfabia/vpp/extras/scripts/host-stack/http-speed-test/speedtest.cli
+ cli-listen /run/vpp/cli.sock
+ poll-sleep-usec 0
+}
+heapsize 4g
+api-trace { on }
+api-segment { global-size 2000M api-size 1G gid vpp }
+dpdk {
+ dev 0000:17:00.0 {
+ num-tx-desc 256
+ num-rx-desc 512
+ num-rx-queues 1
+ tso on
+ }
+ enable-tcp-udp-checksum
+}
+cpu {
+ skip-cores 0
+ main-core 1
+ corelist-workers 2-10
+}
+buffers { buffers-per-numa 16536 }
+session { event-queue-length 100000 use-app-socket-api }
+tcp { max-rx-fifo 128m tso }
+socksvr { socket-name /run/vpp-api.sock }
+
diff --git a/extras/scripts/host-stack/http-speed-test/speedtest.cli b/extras/scripts/host-stack/http-speed-test/speedtest.cli
new file mode 100644
index 00000000000..555aa173d6b
--- /dev/null
+++ b/extras/scripts/host-stack/http-speed-test/speedtest.cli
@@ -0,0 +1,5 @@
+comment {SPDX-License-Identifier: Apache-2.0}
+comment {Copyright (c) 2025 Cisco Systems, Inc.}
+set int ip address HundredGigabitEthernet17/0/0 6.0.1.1/24
+set int state HundredGigabitEthernet17/0/0 up
+http static server www-root /scratch/matfabia/Speed-Test max-body-size 40m max-age 0 keepalive-timeout 120 cache-size 100m fifo-size 512k