blob: c1ad9e421725fe0c8ab452a18383b15cd6b8b39c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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
|