Skip to content

Commit

Permalink
[forge] bump graceful_overload mem threshold temporarily (#15511)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibalajiarun authored Dec 6, 2024
1 parent 8a1016a commit 3c6e693
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testsuite/forge-cli/src/suites/realistic_environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,10 @@ pub(crate) fn realistic_env_graceful_overload(duration: Duration) -> ForgeConfig
// overload test uses more CPUs than others, so increase the limit
// Check that we don't use more than 28 CPU cores for 20% of the time.
MetricsThreshold::new(28.0, 20),
// Memory starts around 7GB, and grows around 8GB/hr in this test.
// TODO(ibalajiarun): Investigate the high utilization and adjust accordingly.
// Memory starts around 8GB, and grows around 8GB/hr in this test.
// Check that we don't use more than final expected memory for more than 20% of the time.
MetricsThreshold::new_gb(7.5 + 8.0 * (duration.as_secs_f64() / 3600.0), 20),
MetricsThreshold::new_gb(8.5 + 8.0 * (duration.as_secs_f64() / 3600.0), 20),
))
.add_latency_threshold(10.0, LatencyType::P50)
.add_latency_threshold(30.0, LatencyType::P90)
Expand Down

0 comments on commit 3c6e693

Please sign in to comment.