Skip to content

Commit

Permalink
increase arp-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmulser committed Dec 7, 2017
1 parent 78964f5 commit 11c2e5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions important_commands.txt
Expand Up @@ -26,9 +26,9 @@ google-pprof ../patched_bitcoin_client_cpp/src/bitcoind ~/Desktop/bitcoin-1.prof
dmesg -w

// increase arp cache
sudo sysctl -w net.ipv4.neigh.default.gc_thresh1=8192
sudo sysctl -w net.ipv4.neigh.default.gc_thresh2=16384
sudo sysctl -w net.ipv4.neigh.default.gc_thresh3=32768
sudo sysctl -w net.ipv4.neigh.default.gc_thresh1=16384
sudo sysctl -w net.ipv4.neigh.default.gc_thresh2=32768
sudo sysctl -w net.ipv4.neigh.default.gc_thresh3=65536

// check arp cache length
watch -n3 "arp -n | wc -l"
Expand Down

0 comments on commit 11c2e5c

Please sign in to comment.