-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
137618: admission: turn on snapshot ingest bandwidth control by default r=sumeerbhola a=aadityasondhi With #133310 merged, and promising results from internal experimentation, we can turn this setting on by default. Informs: #121779. Release note (ops change): `kvadmission.store.snapshot_ingest_bandwidth_control.enabled` is now 'true' by default. This will enable disk bandwidth based Admission Control for range snapshot ingests. It requires the provisioned bandwidth to be set using `kvadmission.store.provisioned_bandwidth`. 137697: build: add configuration to opt into PGO r=rail a=rickystewart Epic: CRDB-41952 Part of: CRDB-44693 Release note: None Co-authored-by: Aaditya Sondhi <[email protected]> Co-authored-by: Ricky Stewart <[email protected]>
- Loading branch information
Showing
5 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
_build_bazel_content = """exports_files(["profile.pprof"])\n""" | ||
|
||
def _impl(repository_ctx): | ||
repository_ctx.download( | ||
url = repository_ctx.attr.url, | ||
output = "profile.pprof", | ||
sha256 = repository_ctx.attr.sha256, | ||
) | ||
repository_ctx.file("BUILD.bazel", _build_bazel_content) | ||
|
||
pgo_profile = repository_rule( | ||
implementation = _impl, | ||
attrs = { | ||
"url": attr.string(mandatory=True), | ||
"sha256": attr.string(mandatory=True), | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters