-
Notifications
You must be signed in to change notification settings - Fork 4
/
hosts.docker.yaml
71 lines (67 loc) · 3 KB
/
hosts.docker.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Ansible hosts file in YAML format
# hosts.docker - the version used for docker-compose example
# localhost ansible_connection=local
#
all:
vars:
# OS User account to execute commands
remote_user: perforce
# The source directory on benchmark driver machine - may be the same as client_bench_dir
bench_dir: /p4/benchmark
# The directory to which benchmark scripts are copied on client machines, and where run from
client_bench_dir: /p4/benchmark
# The common directory on client machines in which workspaces are run
workspace_common_dir: /p4/work
# The p4user account used for running client programs (and which owns client workspaces/changelists etc)
p4bench_client_user: bruno
# The p4user account used for setting up repository - must be different to the _client_user
p4bench_setup_user: perforce
# Used in post_previous_client_bench.yml - in some circumstances we want to remove them differently
# e.g. with shared filesystems between clients we would set this to false
remove_workspaces_per_client: true
# The perforce SDP instance
sdp_instance: 1
# Number of workers per bench_client
num_workers: 12
# This section is mainly for the locust scripts more than the yaml files
general:
min_wait: 100
max_wait: 100
# Perforce benchmark testing parameters
# Specify password if required
perforce:
# Array of ports - can include ssl prefix. Allows for random selection of commit/edge servers
# The first entry is considered to be commit server.
port:
- master:1666
# use_commit: if true (or not present) then commit server will be used.
# If set to false then only other entries in above array (edge servers) will be used.
use_commit: true
# user: P4USER value
user: bruno
# charset: P4CHARSET value if server is in unicode mode - can be blank
charset:
# password: Set to password (if required) = usually best to put in quotes: "my!Password"
password:
options: noallwrite noclobber nocompress unlocked nomodtime rmdir
sync_progress_size_interval: 100 * 1000 * 1000
# repoPath: should not include trailing /...
# If it includes "*" will be used as base for selection after running "p4 dirs" on it
repoPath: //depot/*
# repoDirNum: (numeric) Number of entries to randomly select from the above "p4 dirs" output if relevant
repoDirNum: 2
# How many times to repeat the loop
repeat: 5
# sync_args: any extra sync arguments. This will result in the spawning of a "p4" command
# Example to avoid actually writing files to filesystem on client side:
#sync_args: -vfilesys.client.nullsync=1
# Any other -v or similar options possible.
# Note that the following commands will be passed automatically: -p/-u/-c
children:
bench_servers:
hosts:
master:
bench_clients:
hosts:
client1:
client2: