mirrored
24H2
WSL2
networkingMode=mirrored
Docker
linuxserver/smokeping
Packet loss > 10%
24H2
WSL2
networkingMode=mirrored
Docker
linuxserver/smokeping
Packet loss > 10%
mkdir -p /etc/systemd/system/docker.service.d
cat <<EOF > /etc/systemd/system/docker.service.d/proxy.conf
[Service]
Environment="HTTP_PROXY=http://127.0.0.1:1080"
Environment="HTTPS_PROXY=http://127.0.0.1:1080"
Environment="NO_PROXY=localhost,127.0.0.1"
EOF
systemctl daemon-reload
systemctl restart docker
curl --connect-timeout 10 -o /dev/null -ILsw "%{http_code}|namelookup:%{time_namelookup}|connect:%{time_connect}|appconnect:%{time_appconnect}|redirect:%{time_redirect}|total:%{time_total}\n" \
http://www.gstatic.com/generate_204
curl http://100.100.100.200/latest/meta-data/instance/instance-type
curl http://100.100.100.200/latest/meta-data/zone-id
CPU speed:
events per second: 1652.12
General statistics:
total time: 10.0002s
total number of events: 16523
Latency (ms):
min: 0.59
avg: 0.61
max: 0.67
95th percentile: 0.62
sum: 9997.61
Threads fairness:
events (avg/stddev): 16523.0000/0.00
execution time (avg/stddev): 9.9976/0.00