Skip to content

Commit

Permalink
Up network buffers to 64MB max (#1057)
Browse files Browse the repository at this point in the history
500ms of data at 1Gbps = 125GB/2 = 64MB
Seems to help tx rate in GCP network tests.
  • Loading branch information
sakridge authored Aug 25, 2018
1 parent de379ed commit c641ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multinode-demo/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ tune_networking() {
# test the existence of the sysctls before trying to set them
# go ahead and return true and don't exit if these calls fail
sysctl net.core.rmem_max 2>/dev/null 1>/dev/null &&
sudo sysctl -w net.core.rmem_max=26214400 1>/dev/null 2>/dev/null
sudo sysctl -w net.core.rmem_max=67108864 1>/dev/null 2>/dev/null

sysctl net.core.rmem_default 2>/dev/null 1>/dev/null &&
sudo sysctl -w net.core.rmem_default=26214400 1>/dev/null 2>/dev/null
Expand Down

0 comments on commit c641ba1

Please sign in to comment.