Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test_builder/test_builder
Original file line number Diff line number Diff line change
Expand Up @@ -1155,13 +1155,15 @@ function rectangular_traffic_pattern_setup() {
set_parameter_default request_size 1024
set_parameter_default response_size 1024
set_parameter_default fanout_filter ring_x
set_parameter_default tracing_interval 0
local REQUEST_SIZE="${params_dict[request_size]}"
local RESPONSE_SIZE="${params_dict[response_size]}"
local RPC_INTERVAL_US="${params_dict[rpc_interval_us]}"
local X_SIZE="${params_dict[x_size]}"
local Y_SIZE="${params_dict[y_size]}"
local NODE_COUNT="$((X_SIZE * Y_SIZE))"
local FANOUT_FILTER="${params_dict[fanout_filter]}"
local TRAFFIC_INTERVAL="${params_dict[tracing_interval]}"
validate_integer 100 RPC_INTERVAL_US
validate_integer 2 NODE_COUNT
local SYNCHRONIZATION_MODE="${params_dict[synchronization_mode]}"
Expand Down Expand Up @@ -1208,6 +1210,7 @@ function rectangular_traffic_pattern_setup() {
fanout_filter: '${FANOUT_FILTER}'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: ${TRAFFIC_INTERVAL}
}
action_lists {
name: 'rectangular_query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_exponential_5x3x100000x1024x1024-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_exponential_5x3x100000x1024x1024' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -66,6 +67,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_4x3x100000x1024x1024-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_4x3x100000x1024x1024' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '4' }
Expand Down Expand Up @@ -66,6 +67,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x2x100000x1024x1024-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x2x100000x1024x1024' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -66,6 +67,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x3x1000000x1024x1024-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x3x1000000x1024x1024' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -66,6 +67,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x3x100000x1024x0-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x3x100000x1024x0' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -66,6 +67,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x3x100000x1024x1024-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x3x100000x1024x1024' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -66,6 +67,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x3x100000x1024x1024-grpc_polling_inline_tcp' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x3x100000x1024x1024' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'transport' value: 'tcp' }
Expand Down Expand Up @@ -71,6 +72,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x3x100000x16384x1024-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x3x100000x16384x1024' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -66,6 +67,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_same_y_sync_burst_5x2x100000x1024x1024-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_same_y_sync_burst_5x2x100000x1024x1024' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -66,6 +67,7 @@ tests {
fanout_filter: 'same_y'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_same_y_sync_burst_5x3x100000x1024x1024-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_same_y_sync_burst_5x3x100000x1024x1024' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -66,6 +67,7 @@ tests {
fanout_filter: 'same_y'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down
10 changes: 10 additions & 0 deletions test_builder/test_builder_golden_configs/sweep4.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x3x100000x1000x1000-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x3x100000x1000x1000' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -68,6 +69,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand All @@ -91,6 +93,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x3x100000x2000x2000-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x3x100000x2000x2000' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -143,6 +146,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand All @@ -166,6 +170,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x3x100000x3000x3000-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x3x100000x3000x3000' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -218,6 +223,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand All @@ -241,6 +247,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x3x100000x4000x4000-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x3x100000x4000x4000' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -293,6 +300,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand All @@ -316,6 +324,7 @@ tests {
attributes: { key: 'test_name' value: 'rectangular_ring_x_sync_burst_5x3x100000x5000x5000-grpc_polling_inline' }
attributes: { key: 'test_timeout' value: '150' }
attributes: { key: 'threadpool_size' value: '0' }
attributes: { key: 'tracing_interval' value: '0' }
attributes: { key: 'traffic_alias' value: 'rectangular_ring_x_sync_burst_5x3x100000x5000x5000' }
attributes: { key: 'traffic_pattern' value: 'rectangular' }
attributes: { key: 'x_size' value: '5' }
Expand Down Expand Up @@ -368,6 +377,7 @@ tests {
fanout_filter: 'ring_x'
request_payload_name: 'request_payload'
response_payload_name: 'response_payload'
tracing_interval: 0
}
action_lists {
name: 'rectangular_query'
Expand Down