| 1 |
# Copyright 2022 gRPC authors. |
| 2 |
# |
| 3 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
# you may not use this file except in compliance with the License. |
| 5 |
# You may obtain a copy of the License at |
| 6 |
# |
| 7 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
# |
| 9 |
# Unless required by applicable law or agreed to in writing, software |
| 10 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
# See the License for the specific language governing permissions and |
| 13 |
# limitations under the License. |
| 14 |
|
| 15 |
# Format of each entry: |
| 16 |
# name: name of the experiment |
| 17 |
# description: description of the experiment |
| 18 |
# default: one of: |
| 19 |
# - broken - the experiment defaults to off and is not tested on |
| 20 |
# - false - the experiment defaults to off |
| 21 |
# - debug - the experiment defaults to on in debug, |
| 22 |
# off in release |
| 23 |
# - release - the experiment defaults to on in release, |
| 24 |
# off in debug |
| 25 |
# - true - the experiment defaults to on |
| 26 |
# expiry: when is the next time this experiment *must* be updated |
| 27 |
# (date, YYYY/MM/DD) |
| 28 |
# test_tags: a set of bazel tags, that if a test declares them signals |
| 29 |
# that that test should be run with this experiment enabled in CI |
| 30 |
# |
| 31 |
# Well known test tags: |
| 32 |
# core_end2end_tests: all tests, fixtures in the core end2end suite |
| 33 |
# endpoint_test: endpoint related iomgr tests |
| 34 |
# flow_control_test: tests pertaining explicitly to flow control |
| 35 |
# hpack_test: hpack encode/decode tests |
| 36 |
# promise_test: tests around the promise architecture |
| 37 |
# resource_quota_test: tests known to exercse resource quota |
| 38 |
|
| 39 |
- name: tcp_frame_size_tuning |
| 40 |
description: |
| 41 |
If set, enables TCP to use RPC size estimation made by higher layers. |
| 42 |
TCP would not indicate completion of a read operation until a specified |
| 43 |
number of bytes have been read over the socket. |
| 44 |
Buffers are also allocated according to estimated RPC sizes. |
| 45 |
default: false |
| 46 |
expiry: 2023/01/01 |
| 47 |
owner: [email protected] |
| 48 |
test_tags: ["endpoint_test", "flow_control_test"] |
| 49 |
- name: tcp_read_chunks |
| 50 |
description: |
| 51 |
Allocate only 8kb or 64kb chunks for TCP reads to reduce pressure on |
| 52 |
malloc to recycle arbitrary large blocks. |
| 53 |
default: true |
| 54 |
expiry: 2023/01/01 |
| 55 |
owner: [email protected] |
| 56 |
test_tags: ["endpoint_test", "flow_control_test"] |
| 57 |
- name: tcp_rcv_lowat |
| 58 |
description: |
| 59 |
Use SO_RCVLOWAT to avoid wakeups on the read path. |
| 60 |
default: false |
| 61 |
expiry: 2023/01/01 |
| 62 |
owner: [email protected] |
| 63 |
test_tags: ["endpoint_test", "flow_control_test"] |
| 64 |
- name: peer_state_based_framing |
| 65 |
description: |
| 66 |
If set, the max sizes of frames sent to lower layers is controlled based |
| 67 |
on the peer's memory pressure which is reflected in its max http2 frame |
| 68 |
size. |
| 69 |
default: false |
| 70 |
expiry: 2022/11/01 |
| 71 |
owner: [email protected] |
| 72 |
test_tags: ["flow_control_test"] |
| 73 |
- name: flow_control_fixes |
| 74 |
description: |
| 75 |
Various fixes for flow control, max frame size setting. |
| 76 |
default: false |
| 77 |
expiry: 2023/01/01 |
| 78 |
owner: [email protected] |
| 79 |
test_tags: ["flow_control_test"] |
| 80 |
- name: memory_pressure_controller |
| 81 |
description: |
| 82 |
New memory pressure controller |
| 83 |
default: false |
| 84 |
expiry: 2023/01/01 |
| 85 |
owner: [email protected] |
| 86 |
test_tags: [resource_quota_test] |
| 87 |
- name: periodic_resource_quota_reclamation |
| 88 |
description: |
| 89 |
Periodically return memory to the resource quota |
| 90 |
default: true |
| 91 |
expiry: 2023/04/01 |
| 92 |
owner: [email protected] |
| 93 |
test_tags: [resource_quota_test, promise_test, hpack_test] |
| 94 |
- name: unconstrained_max_quota_buffer_size |
| 95 |
description: |
| 96 |
Discard the cap on the max free pool size for one memory allocator |
| 97 |
default: false |
| 98 |
expiry: 2023/01/01 |
| 99 |
owner: [email protected] |
| 100 |
test_tags: [resource_quota_test] |
| 101 |
- name: new_hpack_huffman_decoder |
| 102 |
description: |
| 103 |
New HPACK huffman decoder - should be much faster than the existing implementation. |
| 104 |
default: debug |
| 105 |
expiry: 2023/01/01 |
| 106 |
owner: [email protected] |
| 107 |
test_tags: ["core_end2end_tests", "hpack_test"] |
| 108 |
- name: event_engine_client |
| 109 |
description: |
| 110 |
Use EventEngine clients instead of iomgr's grpc_tcp_client |
| 111 |
default: false |
| 112 |
expiry: 2023/01/13 |
| 113 |
owner: [email protected] |
| 114 |
test_tags: ["event_engine_client_test"] |
| 115 |
- name: monitoring_experiment |
| 116 |
description: |
| 117 |
Placeholder experiment to prove/disprove our monitoring is working |
| 118 |
default: true |
| 119 |
expiry: 2023/01/01 |
| 120 |
owner: [email protected] |
| 121 |
test_tags: [] |
| 122 |
- name: promise_based_client_call |
| 123 |
description: |
| 124 |
If set, use the new gRPC promise based call code when it's appropriate |
| 125 |
(ie when all filters in a stack are promise based) |
| 126 |
default: false |
| 127 |
expiry: 2023/01/01 |
| 128 |
owner: [email protected] |
| 129 |
test_tags: ["core_end2end_test", "lame_client_test"] |
| 130 |
- name: posix_event_engine_enable_polling |
| 131 |
description: |
| 132 |
If set, enables polling on the default posix event engine. |
| 133 |
default: debug |
| 134 |
expiry: 2023/01/01 |
| 135 |
owner: [email protected] |
| 136 |
test_tags: ["event_engine_client_test"] |