Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 New EC2 Instances with Recommended Configuration #476

Closed
wants to merge 7 commits into from
Closed
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 45 additions & 11 deletions source/s3_platform_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
/**** Configuration info for the c5n.18xlarge *****/
static struct aws_s3_platform_info s_c5n_18xlarge_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("c5n.18xlarge"),
.max_throughput_gbps = 100u,
.max_throughput_gbps = 100,
/** not yet **/
.has_recommended_configuration = false,
};

static struct aws_s3_platform_info s_c5n_metal_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("c5n.metal"),
.max_throughput_gbps = 100u,
.max_throughput_gbps = 100,
/** not yet **/
.has_recommended_configuration = false,
};
Expand All @@ -34,7 +34,7 @@ static struct aws_s3_platform_info s_c5n_metal_platform_info = {
/****** Begin c5n.large ******/
static struct aws_s3_platform_info s_c5n_9xlarge_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("c5n.9xlarge"),
.max_throughput_gbps = 50u,
.max_throughput_gbps = 50,
/** not yet **/
.has_recommended_configuration = false,
};
Expand All @@ -44,19 +44,19 @@ static struct aws_s3_platform_info s_c5n_9xlarge_platform_info = {
/***** Begin p4d.24xlarge and p4de.24xlarge ****/
static struct aws_s3_platform_info s_p4d_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("p4d.24xlarge"),
.max_throughput_gbps = 400u,
.max_throughput_gbps = 400,
.has_recommended_configuration = true,
};

static struct aws_s3_platform_info s_p4de_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("p4de.24xlarge"),
.max_throughput_gbps = 400u,
.max_throughput_gbps = 400,
.has_recommended_configuration = true,
};

/***** End p4d.24xlarge and p4de.24xlarge ****/

/***** Begin p5.48xlarge ******/
/***** Begin p5.48xlarge, p5e.48xlarge, and p5en.48xlarge ******/

/* note: the p5 is a stunningly massive instance type.
* While the specs have 3.2 TB/s for the network bandwidth
Expand All @@ -68,12 +68,43 @@ static struct aws_s3_platform_info s_p4de_platform_info = {
* to the p4d. The rest is for other things on the machine to use. */
struct aws_s3_platform_info s_p5_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("p5.48xlarge"),
.max_throughput_gbps = 400U,
.max_throughput_gbps = 400,
.has_recommended_configuration = true,
};
/***** End p5.48xlarge *****/

/**** Begin trn1_32_large *****/
struct aws_s3_platform_info s_p5e_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("p5e.48xlarge"),
.max_throughput_gbps = 400,
.has_recommended_configuration = true,
};

struct aws_s3_platform_info s_p5en_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("p5en.48xlarge"),
.max_throughput_gbps = 400,
.has_recommended_configuration = true,
};
/***** End p5.48xlarge, p5e.48xlarge, and p5en.48xlarge ******/

/**** Begin trn2.48xlarge and trn2u.48xlarge *****/
/*
* Similar to P5 comment above, we will not be able to get the advertised 3.2Tb bandwidth from CPU.
*/
static struct aws_s3_platform_info s_trn2_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("trn2.48xlarge"),
/* not all of the advertised 1600 Gbps bandwidth can be hit from the cpu in user-space */
.max_throughput_gbps = 400,
.has_recommended_configuration = true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to coordinate with python teams on this...

};

static struct aws_s3_platform_info s_trn2u_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("trn2u.48xlarge"),
/* not all of the advertised 800 Gbps bandwidth can be hit from the cpu in user-space */
.max_throughput_gbps = 400,
.has_recommended_configuration = true,
};
/**** End trn2.48xlarge and trn2u.48xlarge *****/

/**** Begin trn1.32xlarge and trn1n.32xlarge *****/
static struct aws_s3_platform_info s_trn1_n_platform_info = {
.instance_type = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("trn1n.32xlarge"),
/* not all of the advertised 1600 Gbps bandwidth can be hit from the cpu in user-space */
Expand All @@ -87,8 +118,7 @@ static struct aws_s3_platform_info s_trn1_platform_info = {
.max_throughput_gbps = 600,
.has_recommended_configuration = true,
};

/**** End trn1.x32_large ******/
/**** End trn1.32xlarge and trn1n.32xlarge *****/

struct aws_s3_platform_info_loader {
struct aws_allocator *allocator;
Expand Down Expand Up @@ -186,6 +216,10 @@ struct aws_s3_platform_info_loader *aws_s3_platform_info_loader_new(struct aws_a
s_add_platform_info_to_table(loader, &s_p4d_platform_info);
s_add_platform_info_to_table(loader, &s_p4de_platform_info);
s_add_platform_info_to_table(loader, &s_p5_platform_info);
s_add_platform_info_to_table(loader, &s_p5e_platform_info);
s_add_platform_info_to_table(loader, &s_p5en_platform_info);
s_add_platform_info_to_table(loader, &s_trn2_platform_info);
s_add_platform_info_to_table(loader, &s_trn2u_platform_info);
s_add_platform_info_to_table(loader, &s_trn1_n_platform_info);
s_add_platform_info_to_table(loader, &s_trn1_platform_info);

Expand Down
Loading