Skip to content

Commit 4bb643e

Browse files
author
Krish
committed
for comparison purposes
1 parent 0ec905e commit 4bb643e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/s3_client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ static const uint32_t s_max_requests_multiplier = 4;
6666
* Magic value based on: match results of the previous algorithm,
6767
* where throughput-target-gpbs of 100 resulted in 250 connections.
6868
*/
69-
const double g_s3_throughput_per_connection_gbps = 0.5;
69+
const double g_s3_throughput_per_connection_gbps = 100 / 250.0;
7070

7171
/* S3 Express has higher throughput per connection due to its performance characteristics.
7272
* TODO: Tune this value based on actual S3 Express performance measurements.
7373
*/
74-
const double g_s3express_throughput_per_connection_gbps = 1; /* Assume 2x throughput */
74+
const double g_s3express_throughput_per_connection_gbps = 100 / 250.0; /* Assume 2x throughput */
7575

7676
/* After throughput math, clamp the min/max number of connections */
7777
const uint32_t g_min_num_connections = 10; /* Magic value based on: 10 was old behavior */

0 commit comments

Comments
 (0)