-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_example.yaml
38 lines (30 loc) · 1.67 KB
/
config_example.yaml
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
# excample configuration file for trace player
client_info: # Required for run command
client_list:
- localhost:8081
- localhost:8082
# - client instance and port
port: 8080 # master's server port needed for clients to send inforamtion back
threads: 100 # number of threads per client node, each thread is a process that sends requests
wait: true # Determines if clients should wait the relative amount of time in trace before sending request
route: true # Tells the master to forward based on hashing on client urls rather than round robin
verbose: true # optional input
trace: # mandatory field
location: /home/michaellittley/data_centers/dal09 # current directory assumed if field not present
traces:
- prod-dal09-logstash-2017.08.01-0.json # at least one trace required
# entire trace used if limit not speciiied
limit:
type: requests # seconds and requests are supported
amount: 100
output: results.json # only used in run mode, produced output trace with latencies
registry:
- localhost:5005 # at least one registry required for run and warmup mode
warmup: # required for run and warmup mode
output: interm.json # name of file that holds mapping between trace uri's and hashes
threads: 100 # how many processes used to push blobs to registry
random: true # instructs the master to create a random file of the layer size rather than a string of 0's equal to the layer size in the trace
simulate: # required for simulate mode
name: cache.py #name of plugin file, should contain init function
args: # argument dictionary to be passed into
cache_size: 8 # cache size in GB