Skip to content

Commit 73d3c86

Browse files
authored
Disable CPU Group Pinning for Body Streaming ELG (#403)
1 parent 237e9e1 commit 73d3c86

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

source/s3_client.c

+3-7
Original file line numberDiff line numberDiff line change
@@ -514,13 +514,9 @@ struct aws_s3_client *aws_s3_client_new(
514514
.shutdown_callback_user_data = client,
515515
};
516516

517-
if (aws_get_cpu_group_count() > 1) {
518-
client->body_streaming_elg = aws_event_loop_group_new_default_pinned_to_cpu_group(
519-
client->allocator, num_streaming_threads, 1, &body_streaming_elg_shutdown_options);
520-
} else {
521-
client->body_streaming_elg = aws_event_loop_group_new_default(
522-
client->allocator, num_streaming_threads, &body_streaming_elg_shutdown_options);
523-
}
517+
client->body_streaming_elg = aws_event_loop_group_new_default(
518+
client->allocator, num_streaming_threads, &body_streaming_elg_shutdown_options);
519+
524520
if (!client->body_streaming_elg) {
525521
/* Fail to create elg, we should fail the call */
526522
goto on_error;

0 commit comments

Comments
 (0)