VAT-to-PAPI: Fix HTTP/TCP tests
[csit.git] / resources / traffic_profiles / wrk / wrk-sf-2n-ethip4tcphttp-8u8c50con-cps.yaml
1 # wrk-sf-2n-ethip4tcphttp-8u8c50con-cps traffic profile.
2
3 # List of urls for requests. Each url is requested in a separate instance of
4 # wrk.
5 # Type: list
6 urls:
7   - "http://192.168.10.2/empty.html"
8   - "http://192.168.20.2/empty.html"
9   - "http://192.168.30.2/empty.html"
10   - "http://192.168.40.2/empty.html"
11   - "http://192.168.50.2/empty.html"
12   - "http://192.168.60.2/empty.html"
13   - "http://192.168.70.2/empty.html"
14   - "http://192.168.80.2/empty.html"
15
16 # Index of the first CPU on the numa used to run wrk.
17 # Type: integer
18 first-cpu: 1
19
20 # The number of cpus used for wrk. The number of cpus must be a
21 # multiplication of the number of urls.
22 # Type: integer
23 cpus: 8
24
25 # Duration of the test in seconds.
26 # Type: integer
27 duration: 30
28
29 # Total number of threads to use.
30 # Type: integer
31 nr-of-threads: 1
32
33 # Total number of HTTP connections to keep open with each thread handling
34 # N = connections/threads.
35 # Type: integer
36 nr-of-connections: 50
37
38 # Path to LuaJIT script.
39 # Type: string
40 # script: ""
41
42 # HTTP header to add to request, e.g. "Connection: close".
43 # Type: string (taken as it is) or dictionary
44 header:
45   Connection: "close"
46
47 # Print detailed latency statistics.
48 # Type: boolean
49 latency: False
50
51 # Record a timeout if a response is not received within this amount of time.
52 # Type: integer
53 timeout: 5