-
Notifications
You must be signed in to change notification settings - Fork 5
/
readWrite_80_20.yaml
53 lines (42 loc) · 2.03 KB
/
readWrite_80_20.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
# Copyright 2021 Google LLC
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# https://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Spanner custom recommended utilization benchmark for read/Write (80/20) workload.
# This is a modified workloadb configuration to use a split of 80/20 for read/write.
benchmarks:
- cloud_spanner_ycsb:
flags:
# Spanner Provisioning
cloud_spanner_config: regional-us-east4
cloud_spanner_nodes: 3
cloud_spanner_ycsb_readmode: 'read'
# GCE Provisioning: 25 In-Region VMs per Spanner Node
ycsb_client_vms: 25
machine_type: n1-standard-2
gce_network_name: default
zone: us-east4-a
# Data: 1000M 1kb rows (1TB total)
ycsb_record_count: 1000000000
ycsb_field_count: 1
ycsb_field_length: 1000
# Use 25 threads/VM in Load phase
ycsb_preload_threads: '25'
# Sleep 1hr between Load and Run phases
ycsb_sleep_after_load_in_sec: 3600
# Execute workload for 30 minutes
ycsb_workload_files: workloadb # This workload file will be overriden by explicit params in ycsb_run_parameters for this benchmark
ycsb_timelimit: 1800
ycsb_operation_count: 2000000000 # Opcount high so we hit timelimit
ycsb_threads_per_client: '25'
# Target 624 QPS/VM (5200 QPS / Spanner Node)
# Workload parameters specified here (80/20 Read/Write)
ycsb_run_parameters: target=624,requestdistribution=zipfian,dataintegrity=True,readproportion=0.8,updateproportion=0.2,scanproportion=0,insertproportion=0
# Output the results as a histogram
ycsb_measurement_type: hdrhistogram