mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-26 23:00:06 +00:00
fix(perf): increase maximum udp send buffer size (#254)
Previously only the maximum udp **receive** buffer size was increased to `2500000` bytes. With this commit both the send and the receive buffer size is increase.
This commit is contained in:
parent
6c964a96eb
commit
8e2c837599
File diff suppressed because it is too large
Load Diff
@ -5,6 +5,7 @@ provider "registry.terraform.io/hashicorp/archive" {
|
||||
version = "2.3.0"
|
||||
hashes = [
|
||||
"h1:NaDbOqAcA9d8DiAS5/6+5smXwN3/+twJGb3QRiz6pNw=",
|
||||
"h1:OmE1tPjiST8iQp6fC0N3Xzur+q2RvgvD7Lz0TpKSRBw=",
|
||||
"zh:0869128d13abe12b297b0cd13b8767f10d6bf047f5afc4215615aabc39c2eb4f",
|
||||
"zh:481ed837d63ba3aa45dd8736da83e911e3509dee0e7961bf5c00ed2644f807b3",
|
||||
"zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3",
|
||||
@ -25,6 +26,7 @@ provider "registry.terraform.io/hashicorp/aws" {
|
||||
constraints = "4.67.0"
|
||||
hashes = [
|
||||
"h1:5Zfo3GfRSWBaXs4TGQNOflr1XaYj6pRnVJLX5VAjFX4=",
|
||||
"h1:dCRc4GqsyfqHEMjgtlM1EympBcgTmcTkWaJmtd91+KA=",
|
||||
"zh:0843017ecc24385f2b45f2c5fce79dc25b258e50d516877b3affee3bef34f060",
|
||||
"zh:19876066cfa60de91834ec569a6448dab8c2518b8a71b5ca870b2444febddac6",
|
||||
"zh:24995686b2ad88c1ffaa242e36eee791fc6070e6144f418048c4ce24d0ba5183",
|
||||
|
@ -6,6 +6,7 @@ sudo yum -y install iperf3
|
||||
|
||||
# Bump UDP receive buffer size. See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size.
|
||||
sudo sysctl -w net.core.rmem_max=2500000
|
||||
sudo sysctl -w net.core.wmem_max=2500000
|
||||
|
||||
# Set maximum TCP send and receive window to bandwidth-delay-product.
|
||||
#
|
||||
|
@ -19,7 +19,7 @@ resource "aws_instance" "perf" {
|
||||
|
||||
launch_template {
|
||||
name = "perf-node"
|
||||
version = "3"
|
||||
version = "4"
|
||||
}
|
||||
|
||||
key_name = aws_key_pair.perf.key_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user