1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Network connections
netstat -antup
ss
# Network card traffic
sar -n DEV 1
# Routing table
ip route show table all
# All routing tables
vim /etc/iproute2/rt_tables
ip rule show
# Traffic control
tc qd
# TCP slow start will cause a 500k packet, need to wait for five or six RTTs, can increase the initial size of the kernel sliding window, if it is a long connection, can turn off the configuration of the sliding window automatically shrinking
# TCP sliding window maximum space, RTT, will limit the available bandwidth, can increase the sliding window maximum space, set to bandwidth*RTT, just the required cache size
|