Skip to content

Commit

Permalink
feat(perf): use m5.xlarge (#284)
Browse files Browse the repository at this point in the history
Instead of `m5n.8xlarge`, use `m5.xlarge`.

Rational:
- Closer to real-world libp2p deployments (e.g. < 25 Gibps)
- Cheaper (~2 USD vs ~0.2 USD)

m5n.8xlarge:
- 32 vCPUs
- 128.0 GiB of memory
- 25 Gibps of bandwidth - 2019

m5.xlarge
- 4 vCPUs
- 16.0 GiB of memory
- up to 10 Gibps of bandwidth
  • Loading branch information
mxinden authored Sep 1, 2023
1 parent f1ac9bf commit fd1889f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions perf/terraform/configs/local/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module "long_lived_server" {
source = "../../modules/long_lived"

region = "us-west-2"
ami = "ami-0747e613a2a1ff483"
ami = "ami-002829755fa238bfa"

providers = {
aws = aws.us-west-2
Expand All @@ -80,7 +80,7 @@ module "long_lived_client" {
source = "../../modules/long_lived"

region = "us-east-1"
ami = "ami-06e46074ae430fba6"
ami = "ami-051f7e7f6c2f40dc1"

providers = {
aws = aws.us-east-1
Expand Down
2 changes: 1 addition & 1 deletion perf/terraform/modules/long_lived/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ resource "aws_security_group" "restricted_inbound" {
resource "aws_launch_template" "perf" {
name = "perf-node"
image_id = var.ami
instance_type = "m5n.8xlarge"
instance_type = "m5.xlarge"

# Debug via:
# - /var/log/cloud-init.log and
Expand Down

0 comments on commit fd1889f

Please sign in to comment.