Skip to content

Commit

Permalink
fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-solana committed Jul 13, 2018
1 parent 8248910 commit ea2e1a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multinode-demo/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ tune_networking() {
[[ $(uname) = Linux ]] && (
set -x
# test the existence of the sysctls before trying to set them
sysctl net.core.rmem_max=26214400 2>/dev/null 1>/dev/null &&
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

sysctl net.core.rmem_default=26214400 2>/dev/null 1>/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
)
return 0
Expand Down

0 comments on commit ea2e1a2

Please sign in to comment.