1、win7配置MTU命令如下:
- netsh interface ipv4 show subinterfaces 按下回车键查看当前的mtu值;
- netsh interface ipv4 set subinterface "连接名" mtu=值 store=persistent(如:netsh interface ipv4 set subinterface "WLAN" mtu=1492 store=persistent) 按下回车键,出现“确定”提示 则说明修改完成。
2、使用uhd_usrp_probe命令,执行打印
[INFO] [UHD] Win32; Microsoft Visual C++ version 14.0; Boost_105900; UHD_3.11.0.
0-release
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Determining maximum frame size...
[INFO] [X300] Maximum frame size: 1472 bytes.【这里】
[INFO] [X300] Setup basic communication...
[INFO] [X300] Loading values from EEPROM...
[INFO] [X300] Setup RF frontend clocking...
[INFO] [X300] Radio 1x clock:200
[INFO] [X300] Detecting internal GPSDO....
[INFO] [GPS] Found an internal GPSDO: LC_XO, Firmware Rev 0.929b
[WARNING] [X300] For this connection, UHD recommends a send frame size of at lea
st 8000 for best
performance, but your system's MTU will only allow 1472.This will negatively imp
act your maximum achievable sample rate.
如果出现如上WARNING,则表明MTU修改不成功!
接下来,需要通过查看万兆网卡是否打开巨型帧功能。(通过“设备管理器->右键网卡属性->高级->巨型数据包->值(禁用/4088/9014)选择最大值9014”)
完成上述操作后,再次uhd_usrp_probe
[INFO] [UHD] Win32; Microsoft Visual C++ version 14.0; Boost_105900; UHD_3.11.0.
0-release
[INFO] [X300] X300 initialization sequence...
[INFO] [X300] Determining maximum frame size...
[INFO] [X300] Maximum frame size: 8000 bytes.【这里】
[INFO] [X300] Setup basic communication...
[INFO] [X300] Loading values from EEPROM...
[INFO] [X300] Setup RF frontend clocking...
[INFO] [X300] Radio 1x clock:200
[INFO] [X300] Detecting internal GPSDO....
[INFO] [GPS] Found an internal GPSDO: LC_XO, Firmware Rev 0.929b
[INFO] [RFNOC DMA FIFO] Running BIST for FIFO 0...
[INFO] [RFNOC DMA FIFO] BIST passed (Throughput: 1311 MB/s)
[INFO] [RFNOC DMA FIFO] Running BIST for FIFO 1...
[INFO] [RFNOC DMA FIFO] BIST passed (Throughput: 1291 MB/s)
[INFO] [RFNOC RADIO] Register loopback test passed
[INFO] [RFNOC RADIO] Register loopback test passed
[INFO] [RFNOC RADIO] Register loopback test passed
[INFO] [RFNOC RADIO] Register loopback test passed
[INFO] [CORES] Performing timer loopback test...
[INFO] [CORES] Timer loopback test passed
[INFO] [CORES] Performing timer loopback test...
[INFO] [CORES] Timer loopback test passed