From 54ad6efd342695d0a7dad5380cc989a8d846f518 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 10 Jan 2018 15:48:25 +0100 Subject: CSIT-898: WRK improvments Change-Id: I92aafaaedce5891727a983b8cf024a0fb0db7524 Signed-off-by: Tibor Frank --- .../wrk/wrk-sf-2n-ethip4tcphttp-1u1c1con-cps.yaml | 47 ------------------- .../wrk/wrk-sf-2n-ethip4tcphttp-1u1c50con-rps.yaml | 47 ------------------- .../wrk/wrk-sf-2n-ethip4tcphttp-8u8c50con-cps.yaml | 54 ++++++++++++++++++++++ .../wrk/wrk-sf-2n-ethip4tcphttp-8u8c50con-rps.yaml | 54 ++++++++++++++++++++++ 4 files changed, 108 insertions(+), 94 deletions(-) delete mode 100644 resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-1u1c1con-cps.yaml delete mode 100644 resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-1u1c50con-rps.yaml create mode 100644 resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-8u8c50con-cps.yaml create mode 100644 resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-8u8c50con-rps.yaml (limited to 'resources/traffic_profiles') diff --git a/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-1u1c1con-cps.yaml b/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-1u1c1con-cps.yaml deleted file mode 100644 index cf120e7e1d..0000000000 --- a/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-1u1c1con-cps.yaml +++ /dev/null @@ -1,47 +0,0 @@ -# This is an example wrk traffic profile. - -# List of urls for requests. Each url is requested in a separate instance of -# wrk. -# Type: list -urls: - # There must be an empty file (0B) requested but vpp does not support it. - - "http://192.168.10.2" - -# Index of the first CPU on the numa used to run wrk. -# Type: integer -first-cpu: 1 - -# The number of cpus used for wrk. The number of cpus must be a -# multiplication of the number of urls. -# Type: integer -cpus: 1 - -# Duration of the test in seconds. -# Type: integer -duration: 30 - -# Total number of threads to use. -# Type: integer -nr-of-threads: 1 - -# Total number of HTTP connections to keep open with each thread handling -# N = connections/threads. -# Type: integer -nr-of-connections: 1 - -# Path to LuaJIT script. -# Type: string -# script: "" - -# HTTP header to add to request, e.g. "Connection: close". -# Type: string (taken as it is) or dictionary -header: - Connection: "close" - -# Print detailed latency statistics. -# Type: boolean -latency: False - -# Record a timeout if a response is not received within this amount of time. -# Type: integer -timeout: 5 diff --git a/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-1u1c50con-rps.yaml b/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-1u1c50con-rps.yaml deleted file mode 100644 index 939703638b..0000000000 --- a/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-1u1c50con-rps.yaml +++ /dev/null @@ -1,47 +0,0 @@ -# This is an example wrk traffic profile. - -# List of urls for requests. Each url is requested in a separate instance of -# wrk. -# Type: list -urls: - # There must be a file (1kB - 1MB) requested but vpp does not support it. - - "http://192.168.10.2" - -# Index of the first CPU on the numa used to run wrk. -# Type: integer -first-cpu: 1 - -# The number of cpus used for wrk. The number of cpus must be a -# multiplication of the number of urls. -# Type: integer -cpus: 1 - -# Duration of the test in seconds. -# Type: integer -duration: 30 - -# Total number of threads to use. -# Type: integer -nr-of-threads: 1 - -# Total number of HTTP connections to keep open with each thread handling -# N = connections/threads. -# Type: integer -nr-of-connections: 50 - -# Path to LuaJIT script. -# Type: string -# script: "" - -# HTTP header to add to request, e.g. "Connection: close". -# Type: string (taken as it is) or dictionary -# header: -# Connection: "close" - -# Print detailed latency statistics. -# Type: boolean -latency: False - -# Record a timeout if a response is not received within this amount of time. -# Type: integer -timeout: 5 diff --git a/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-8u8c50con-cps.yaml b/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-8u8c50con-cps.yaml new file mode 100644 index 0000000000..706cda01b5 --- /dev/null +++ b/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-8u8c50con-cps.yaml @@ -0,0 +1,54 @@ +# This is an example wrk traffic profile. + +# List of urls for requests. Each url is requested in a separate instance of +# wrk. +# Type: list +urls: + # There must be an empty file (0B) requested but vpp does not support it. + - "http://192.168.10.2" + - "http://192.168.20.2" + - "http://192.168.30.2" + - "http://192.168.40.2" + - "http://192.168.50.2" + - "http://192.168.60.2" + - "http://192.168.70.2" + - "http://192.168.80.2" + +# Index of the first CPU on the numa used to run wrk. +# Type: integer +first-cpu: 1 + +# The number of cpus used for wrk. The number of cpus must be a +# multiplication of the number of urls. +# Type: integer +cpus: 8 + +# Duration of the test in seconds. +# Type: integer +duration: 30 + +# Total number of threads to use. +# Type: integer +nr-of-threads: 1 + +# Total number of HTTP connections to keep open with each thread handling +# N = connections/threads. +# Type: integer +nr-of-connections: 50 + +# Path to LuaJIT script. +# Type: string +# script: "" + +# HTTP header to add to request, e.g. "Connection: close". +# Type: string (taken as it is) or dictionary +header: + Connection: "close" + +# Print detailed latency statistics. +# Type: boolean +latency: False + +# Record a timeout if a response is not received within this amount of time. +# Type: integer +timeout: 5 diff --git a/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-8u8c50con-rps.yaml b/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-8u8c50con-rps.yaml new file mode 100644 index 0000000000..c1ad9e4217 --- /dev/null +++ b/resources/traffic_profiles/wrk/wrk-sf-2n-ethip4tcphttp-8u8c50con-rps.yaml @@ -0,0 +1,54 @@ +# This is an example wrk traffic profile. + +# List of urls for requests. Each url is requested in a separate instance of +# wrk. +# Type: list +urls: + # There must be a file (1kB - 1MB) requested but vpp does not support it. + - "http://192.168.10.2" + - "http://192.168.20.2" + - "http://192.168.30.2" + - "http://192.168.40.2" + - "http://192.168.50.2" + - "http://192.168.60.2" + - "http://192.168.70.2" + - "http://192.168.80.2" + +# Index of the first CPU on the numa used to run wrk. +# Type: integer +first-cpu: 1 + +# The number of cpus used for wrk. The number of cpus must be a +# multiplication of the number of urls. +# Type: integer +cpus: 8 + +# Duration of the test in seconds. +# Type: integer +duration: 30 + +# Total number of threads to use. +# Type: integer +nr-of-threads: 1 + +# Total number of HTTP connections to keep open with each thread handling +# N = connections/threads. +# Type: integer +nr-of-connections: 50 + +# Path to LuaJIT script. +# Type: string +# script: "" + +# HTTP header to add to request, e.g. "Connection: close". +# Type: string (taken as it is) or dictionary +# header: +# Connection: "close" + +# Print detailed latency statistics. +# Type: boolean +latency: False + +# Record a timeout if a response is not received within this amount of time. +# Type: integer +timeout: 5 -- cgit 1.2.3-korg