mpx icon indicating copy to clipboard operation
mpx copied to clipboard

iperf3 测速会断流

Open Anankke opened this issue 7 months ago • 0 comments

Server

[MPX Debug] 2025/05/06 05:41:18 connpool.go:619: [47289]Write seq[524615627]
[MPX Debug] 2025/05/06 05:41:18 connpool.go:619: [47289]Write seq[524648395]
[MPX Debug] 2025/05/06 05:41:18 connpool.go:619: [47289]Write seq[524681163]
[MPX Debug] 2025/05/06 05:41:18 connpool.go:619: [47289]Write seq[524713931]
[MPX Debug] 2025/05/06 05:41:18 connpool.go:619: [47289]Write seq[524746699]
[MPX Debug] 2025/05/06 05:41:18 connpool.go:619: [47289]Write seq[524779467]
2025/05/06 05:41:18 writeto tcp 127.0.0.1:18462->127.0.0.1:5201: read tcp 127.0.0.1:18462->127.0.0.1:5201: i/o timeout
[MPX Debug] 2025/05/06 05:41:18 connpool.go:647: [47289]send close[524812235]
[MPX Debug] 2025/05/06 05:41:19 connpool.go:389: [47289]receive disconnect
[MPX Debug] 2025/05/06 05:41:19 connpool.go:391: Close 47289
[MPX Debug] 2025/05/06 05:41:19 connpool.go:393: [47289]Delete tunnel

Client

[MPX Debug] 2025/05/07 11:57:10 connpool.go:59: [47289] input seq[524517323]
[MPX Debug] 2025/05/07 11:57:10 connpool.go:59: [47289] input seq[524550091]
[MPX Debug] 2025/05/07 11:57:10 connpool.go:59: [47289] input seq[524582859]
[MPX Debug] 2025/05/07 11:57:10 connpool.go:59: [47289] input seq[524615627]
[MPX Debug] 2025/05/07 11:57:10 connpool.go:59: [47289] input seq[524648395]
[MPX Debug] 2025/05/07 11:57:10 connpool.go:59: [47289] input seq[524681163]
[MPX Debug] 2025/05/07 11:57:10 connpool.go:59: [47289] input seq[524713931]
[MPX Debug] 2025/05/07 11:57:10 connpool.go:59: [47289] input seq[524746699]
[MPX Debug] 2025/05/07 11:57:10 connpool.go:59: [47289] input seq[524779467]
[MPX Debug] 2025/05/07 11:57:10 connpool.go:94: Close at 47289
[MPX Debug] 2025/05/07 11:57:10 connpool.go:405: [47289]Delete tunnel
[root@archlinux ~]# iperf3 -R -Z -c 127.0.0.1
Connecting to host 127.0.0.1, port 5201
Reverse mode, remote host 127.0.0.1 is sending
[  5] local 127.0.0.1 port 38486 connected to 127.0.0.1 port 5201

[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  50.4 MBytes   422 Mbits/sec                  
[  5]   1.00-2.00   sec  95.1 MBytes   799 Mbits/sec                  
[  5]   2.00-3.00   sec   118 MBytes   989 Mbits/sec                  
[  5]   3.00-4.00   sec   113 MBytes   946 Mbits/sec                  
[  5]   3.00-4.00   sec   113 MBytes   946 Mbits/sec                  
iperf3: error - control socket has closed unexpectedly
[root@archlinux ~]# 

即使是单个流 -p 1 也会遇到这个情况,而直接 iperf3 绕过 mpx 测试则没有问题

Anankke avatar May 07 '25 15:05 Anankke