forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 3645|回复: 9

    [问题反馈] mt2500的2.5g口速率拉跨问题

    [复制链接]

    2

    主题

    11

    帖子

    96

    积分

    注册会员

    Rank: 2

    积分
    96
    发表于 2023-2-21 17:20:47 | 显示全部楼层 |阅读模式
    固件4.1.1,前端猫为中兴f7607p,该猫有一个2.5g电口,已正确设置为桥接模式,当把mt2500的2.5g网口接猫的2.5g口,mt2500拨号,测速(有线)无论怎么测都只能最高跑到3-400mb,偶尔5xx但很快掉回400
    如果用猫拨号,mt2500作为二级路由dhcp或固定ip,其wan口连猫的2.5g口,测速也是一样,最高400来兆


    而如果mt2500接到猫的其他千兆口,无论用猫拨号还是mt2500拨号,速度都能跑满千兆

    已确定不是网线问题,泛达的6类成品线,且即便换其他网线也是如此

    而且f7607p接其他2.5g口的路由,例如华硕的,都没问题,甚至电脑直连拨号,也没问题,所意确定不是f7607p本身或者光猫配置问题

    另外测试后在mt2500上看,确实是以2.5g速度协商的,就是怎么跑都只有不到500mb

    请问这种情况是为什么
    回复

    使用道具 举报

    2

    主题

    171

    帖子

    978

    积分

    高级会员

    Rank: 4

    积分
    978
    发表于 2023-2-21 17:23:13 来自手机 | 显示全部楼层
    用4.2-beta4
    回复

    使用道具 举报

    2

    主题

    11

    帖子

    96

    积分

    注册会员

    Rank: 2

    积分
    96
     楼主| 发表于 2023-2-21 17:53:17 | 显示全部楼层

    刚试了一下,问题一样,和4.1.1没什么区别
    回复

    使用道具 举报

    0

    主题

    208

    帖子

    824

    积分

    高级会员

    Rank: 4

    积分
    824

    官方人员

    发表于 2023-2-22 22:12:05 | 显示全部楼层
    本帖最后由 hansome 于 2023-2-22 22:18 编辑

    有没有其他2.5G网口的设备呢,排除一下猫的2.5G网口的问题;另外请尝试关闭硬件加速。
    点击本楼回复,以方便收到通知
    回复

    使用道具 举报

    2

    主题

    11

    帖子

    96

    积分

    注册会员

    Rank: 2

    积分
    96
     楼主| 发表于 2023-2-23 00:08:53 | 显示全部楼层
    hansome 发表于 2023-2-22 22:12
    有没有其他2.5G网口的设备呢,排除一下猫的2.5G网口的问题;另外请尝试关闭硬件加速。
    ...

    我原帖已经写有,猫的2.5g网口本身是没问题的,我用华硕的2.5g口的路由则可以完全跑满带宽,但mt2500不行

    另外也试过关闭硬件加速了,带宽略有提高,没关只有4xx的速度,关了50x到510
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9846

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9846

    官方人员

    发表于 2023-2-23 09:37:08 | 显示全部楼层
    sloane 发表于 2023-2-23 00:08
    我原帖已经写有,猫的2.5g网口本身是没问题的,我用华硕的2.5g口的路由则可以完全跑满带宽,但mt2500不行 ...

    发一下日志看下,看现象应该是硬件加速驱动崩溃导致的
    回复

    使用道具 举报

    2

    主题

    11

    帖子

    96

    积分

    注册会员

    Rank: 2

    积分
    96
     楼主| 发表于 2023-2-23 10:17:18 | 显示全部楼层
    萝卜大侠 发表于 2023-2-23 09:37
    发一下日志看下,看现象应该是硬件加速驱动崩溃导致的

    日志是从我把wan口从光猫千兆口拔出来然后插进光猫2.5g口开始,我看着并没有什么不正常

    Thu Feb 23 02:13:09 2023 kern.info kernel: [120844.874473] mtk_soc_eth 15100000.ethernet eth0: Link is Down
    Thu Feb 23 02:13:09 2023 daemon.notice netifd: Network device 'eth0' link is down
    Thu Feb 23 02:13:09 2023 daemon.notice netifd: Interface 'wan' has link connectivity loss
    Thu Feb 23 02:13:09 2023 daemon.info pppd[6415]: Terminating on signal 15
    Thu Feb 23 02:13:09 2023 daemon.info pppd[6415]: Connect time 2014.1 minutes.
    Thu Feb 23 02:13:09 2023 daemon.info pppd[6415]: Sent 299364546 bytes, received 2392804278 bytes.
    Thu Feb 23 02:13:09 2023 daemon.info avahi-daemon[3223]: Interface pppoe-wan.IPv4 no longer relevant for mDNS.
    Thu Feb 23 02:13:09 2023 daemon.info avahi-daemon[3223]: Leaving mDNS multicast group on interface pppoe-wan.IPv4 with address 171.109.48.158.
    Thu Feb 23 02:13:09 2023 daemon.notice netifd: Network device 'pppoe-wan' link is down
    Thu Feb 23 02:13:09 2023 daemon.info avahi-daemon[3223]: Withdrawing address record for 171.109.48.158 on pppoe-wan.
    Thu Feb 23 02:13:14 2023 daemon.notice netifd: Interface 'wan' is now down
    Thu Feb 23 02:13:14 2023 daemon.info avahi-daemon[3223]: Interface eth0.IPv6 no longer relevant for mDNS.
    Thu Feb 23 02:13:14 2023 daemon.info avahi-daemon[3223]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::9683:c4ff:fe24:bd0a.
    Thu Feb 23 02:13:14 2023 daemon.notice netifd: Interface 'wan' is disabled
    Thu Feb 23 02:13:14 2023 daemon.info avahi-daemon[3223]: Withdrawing address record for fe80::9683:c4ff:fe24:bd0a on eth0.
    Thu Feb 23 02:13:14 2023 kern.info kernel: [120849.888857] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
    Thu Feb 23 02:13:14 2023 daemon.notice netifd: Interface 'wan' is enabled
    Thu Feb 23 02:13:14 2023 daemon.warn dnsmasq[3760]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
    Thu Feb 23 02:13:14 2023 user.notice mwan3[12259]: Execute ifdown event on interface wan (unknown)
    Thu Feb 23 02:13:14 2023 user.info mwan3track[21882]: Detect ifdown event on interface wan (pppoe-wan)
    Thu Feb 23 02:13:14 2023 user.notice mwan3track[21882]: Interface wan (pppoe-wan) is offline
    Thu Feb 23 02:13:15 2023 user.notice firewall: Reloading firewall due to ifdown of wan ()
    Thu Feb 23 02:13:23 2023 daemon.info dnsmasq-dhcp[3760]: DHCPDISCOVER(br-lan) cc:98:8b:2e:36:88
    Thu Feb 23 02:13:23 2023 daemon.info dnsmasq-dhcp[3760]: DHCPOFFER(br-lan) 192.168.0.151 cc:98:8b:2e:36:88
    Thu Feb 23 02:13:23 2023 daemon.info dnsmasq-dhcp[3760]: DHCPREQUEST(br-lan) 192.168.0.151 cc:98:8b:2e:36:88
    Thu Feb 23 02:13:23 2023 daemon.info dnsmasq-dhcp[3760]: DHCPACK(br-lan) 192.168.0.151 cc:98:8b:2e:36:88
    Thu Feb 23 02:13:23 2023 kern.info kernel: [120859.110938] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
    Thu Feb 23 02:13:23 2023 kern.info kernel: [120859.119714] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Thu Feb 23 02:13:23 2023 daemon.notice netifd: Network device 'eth0' link is up
    Thu Feb 23 02:13:23 2023 daemon.notice netifd: Interface 'wan' has link connectivity
    Thu Feb 23 02:13:23 2023 daemon.notice netifd: Interface 'wan' is setting up now
    Thu Feb 23 02:13:23 2023 daemon.err insmod: module is already loaded - slhc
    Thu Feb 23 02:13:23 2023 daemon.err insmod: module is already loaded - ppp_generic
    Thu Feb 23 02:13:23 2023 daemon.err insmod: module is already loaded - pppox
    Thu Feb 23 02:13:23 2023 daemon.err insmod: module is already loaded - pppoe
    Thu Feb 23 02:13:23 2023 daemon.info pppd[13002]: Plugin rp-pppoe.so loaded.
    Thu Feb 23 02:13:23 2023 daemon.info pppd[13002]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.8
    Thu Feb 23 02:13:23 2023 daemon.notice pppd[13002]: pppd 2.4.8 started by root, uid 0
    Thu Feb 23 02:13:25 2023 daemon.info avahi-daemon[3223]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::9683:c4ff:fe24:bd0a.
    Thu Feb 23 02:13:25 2023 daemon.info avahi-daemon[3223]: New relevant interface eth0.IPv6 for mDNS.
    Thu Feb 23 02:13:25 2023 daemon.info avahi-daemon[3223]: Registering new address record for fe80::9683:c4ff:fe24:bd0a on eth0.*.
    Thu Feb 23 02:13:28 2023 daemon.info pppd[13002]: PPP session is 27635
    Thu Feb 23 02:13:28 2023 daemon.warn pppd[13002]: Connected to 10:51:72:1b:24:f6 via interface eth0
    Thu Feb 23 02:13:28 2023 kern.info kernel: [120864.256501] pppoe-wan: renamed from ppp0
    Thu Feb 23 02:13:28 2023 daemon.info pppd[13002]: Renamed interface ppp0 to pppoe-wan
    Thu Feb 23 02:13:28 2023 daemon.info pppd[13002]: Using interface pppoe-wan
    Thu Feb 23 02:13:28 2023 daemon.notice pppd[13002]: Connect: pppoe-wan <--> eth0
    Thu Feb 23 02:13:30 2023 daemon.err netdata[5803]: Cannot refresh interface pppoe-wan carrier state by reading '/sys/class/net/pppoe-wan/carrier'. Stop updating it.
    Thu Feb 23 02:13:30 2023 daemon.info netdata[5803]: RRDSET: chart name 'net.pppoe_wan' on host 'GL-MT2500' already exists.
    Thu Feb 23 02:13:30 2023 daemon.info netdata[5803]: RRDSET: chart name 'net_operstate.pppoe_wan' on host 'GL-MT2500' already exists.
    Thu Feb 23 02:13:30 2023 daemon.info netdata[5803]: RRDSET: chart name 'net_mtu.pppoe_wan' on host 'GL-MT2500' already exists.
    Thu Feb 23 02:13:31 2023 daemon.info pppd[13002]: Remote message: Authentication success,Welcome!
    Thu Feb 23 02:13:31 2023 daemon.notice pppd[13002]: PAP authentication succeeded
    Thu Feb 23 02:13:31 2023 daemon.notice pppd[13002]: peer from calling number 10:51:72:1B:24:F6 authorized
    Thu Feb 23 02:13:31 2023 daemon.notice pppd[13002]: local  IP address 171.109.50.239
    Thu Feb 23 02:13:31 2023 daemon.notice pppd[13002]: remote IP address 171.109.48.1
    Thu Feb 23 02:13:31 2023 daemon.notice pppd[13002]: primary   DNS address 202.103.225.68
    Thu Feb 23 02:13:31 2023 daemon.notice pppd[13002]: secondary DNS address 202.103.224.68
    Thu Feb 23 02:13:31 2023 daemon.info avahi-daemon[3223]: Joining mDNS multicast group on interface pppoe-wan.IPv4 with address 171.109.50.239.
    Thu Feb 23 02:13:31 2023 daemon.info avahi-daemon[3223]: New relevant interface pppoe-wan.IPv4 for mDNS.
    Thu Feb 23 02:13:31 2023 daemon.info avahi-daemon[3223]: Registering new address record for 171.109.50.239 on pppoe-wan.IPv4.
    Thu Feb 23 02:13:31 2023 daemon.notice netifd: Network device 'pppoe-wan' link is up
    Thu Feb 23 02:13:31 2023 daemon.notice netifd: Interface 'wan' is now up
    Thu Feb 23 02:13:31 2023 daemon.info dnsmasq[3760]: reading /tmp/resolv.conf.d/resolv.conf.auto
    Thu Feb 23 02:13:31 2023 daemon.info dnsmasq[3760]: using only locally-known addresses for domain test
    Thu Feb 23 02:13:31 2023 daemon.info dnsmasq[3760]: using only locally-known addresses for domain onion
    Thu Feb 23 02:13:31 2023 daemon.info dnsmasq[3760]: using only locally-known addresses for domain localhost
    Thu Feb 23 02:13:31 2023 daemon.info dnsmasq[3760]: using only locally-known addresses for domain local
    Thu Feb 23 02:13:31 2023 daemon.info dnsmasq[3760]: using only locally-known addresses for domain invalid
    Thu Feb 23 02:13:31 2023 daemon.info dnsmasq[3760]: using only locally-known addresses for domain bind
    Thu Feb 23 02:13:31 2023 daemon.info dnsmasq[3760]: using only locally-known addresses for domain lan
    Thu Feb 23 02:13:31 2023 daemon.info dnsmasq[3760]: using nameserver 202.103.225.68#53
    Thu Feb 23 02:13:31 2023 daemon.info dnsmasq[3760]: using nameserver 202.103.224.68#53
    Thu Feb 23 02:13:32 2023 user.notice mwan3[13373]: Execute ifup event on interface wan (pppoe-wan)
    Thu Feb 23 02:13:32 2023 user.notice mwan3[13373]: Starting tracker on interface wan (pppoe-wan)
    Thu Feb 23 02:13:32 2023 user.notice mwan3track[21882]: Stopping mwan3track for interface "wan"
    Thu Feb 23 02:13:32 2023 daemon.info netdata[5803]: RRDSET: chart name 'net_packets.pppoe_wan' on host 'GL-MT2500' already exists.
    Thu Feb 23 02:13:33 2023 user.info mwan3rtmon[21974]: Detect rtchange event.
    Thu Feb 23 02:13:33 2023 user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan)
    回复

    使用道具 举报

    2

    主题

    11

    帖子

    96

    积分

    注册会员

    Rank: 2

    积分
    96
     楼主| 发表于 2023-2-23 10:19:43 | 显示全部楼层
    内核日志:

    2.792592] init: - preinit -
    [    3.139983] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
    [    6.229464] mount_root: loading kmods from internal overlay
    [    6.246264] kmodloader: loading kernel modules from //etc/modules-boot.d/*
    [    6.254897] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
    [    6.402439] block: attempting to load /etc/config/fstab
    [    6.410356] block: unable to load configuration (fstab: Entry not found)
    [    6.417097] block: no usable configuration
    [    6.576150] F2FS-fs (mmcblk0p7): Mounted with checkpoint version = 5904dfae
    [    6.584133] mount_root: loading kmods from internal overlay
    [    6.599235] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
    [    6.608202] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
    [    6.666710] block: attempting to load /etc/config/fstab
    [    6.672017] block: unable to load configuration (fstab: Entry not found)
    [    6.678731] block: no usable configuration
    [    6.683760] mount_root: switching to f2fs overlay
    [    6.692166] urandom-seed: Seeding with /etc/urandom.seed
    [    6.749650] procd: - early -
    [    6.752609] procd: - watchdog -
    [    6.910027] random: jshn: uninitialized urandom read (4 bytes read)
    [    7.033100] random: jshn: uninitialized urandom read (4 bytes read)
    [    7.298051] procd: - watchdog -
    [    7.301989] procd: - ubus -
    [    7.349243] random: ubusd: uninitialized urandom read (4 bytes read)
    [    7.359241] procd: - init -
    [    7.628161] mtdoops: ready 0, 1 (no erase)
    [    7.632278] mtdoops: Attached to MTD device 0
    [    7.633293] urngd: v1.0.2 started.
    [    7.667553] random: crng init done
    [    7.670990] random: 27 urandom warning(s) missed due to ratelimiting
    [    7.734467] kmodloader: loading kernel modules from /etc/modules.d/*
    [    7.764082] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
    [    7.778147] Key type dns_resolver registered
    [    7.789002] RPC: Registered named UNIX socket transport module.
    [    7.794983] RPC: Registered udp transport module.
    [    7.799700] RPC: Registered tcp transport module.
    [    7.804408] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    7.814442] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [    7.824570] tun: Universal TUN/TAP device driver, 1.6
    [    7.845529] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    7.856271] NFS: Registering the id_resolver key type
    [    7.861379] Key type id_resolver registered
    [    7.865575] Key type id_legacy registered
    [    7.899900] GACT probability on
    [    7.903773] Mirror/redirect action on
    [    7.912544] u32 classifier
    [    7.915250]     input device check on
    [    7.918958]     Actions configured
    [    7.928791] fuse: init (API version 7.31)
    [    7.938208] usbcore: registered new interface driver cdc_acm
    [    7.943915] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    7.953112] usbcore: registered new interface driver cdc_wdm
    [    7.963124] usbcore: registered new interface driver ipheth
    [    7.973758] -->mtfwd_init(ver:2.0)
    [    7.973804] <--
    [    7.978348] -->mtqos_init(), mtqos ver:1.0
    [    7.980200] <--
    [    7.999266] usbcore: registered new interface driver usbserial_generic
    [    8.005913] usbserial: USB Serial support registered for generic
    [    8.035285] xt_time: kernel timezone is -0000
    [    8.041070] usbcore: registered new interface driver cdc_ether
    [    8.049094] usbcore: registered new interface driver cdc_ncm
    [    8.057005] usbcore: registered new interface driver huawei_cdc_ncm
    [    8.067410] PPP generic driver version 2.4.2
    [    8.073024] NET: Registered protocol family 24
    [    8.078753] usbcore: registered new interface driver qmi_wwan
    [    8.086022] usbcore: registered new interface driver rndis_host
    [    8.096005] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
    [    8.103888] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
    [    8.114454] usbcore: registered new interface driver option
    [    8.120130] usbserial: USB Serial support registered for GSM modem (1-port)
    [    8.128972] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   10.763742] mediatek_soc_hnat 15100000.hnat: wan = eth0
    [   10.769040] mediatek_soc_hnat 15100000.hnat: lan = eth1
    [   10.774306] mediatek_soc_hnat 15100000.hnat: ppd = eth1
    [   10.779558] mediatek_soc_hnat 15100000.hnat: gmac num = 2
    [   10.784987] mediatek_soc_hnat 15100000.hnat: ppe num = 1
    [   10.790807] mediatek_soc_hnat 15100000.hnat: PPE0 entry number = 8192
    [   10.807679] mediatek_soc_hnat 15100000.hnat: PPE0 hwnat start
    [   10.813498] hnat roaming work enable
    [   11.782026] MediaTek MT7981 PHY mdio-bus:00: TX-VCM SW cal result: 0x2
    [   11.791517] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:00] driver [MediaTek MT7981 PHY]
    [   11.803857] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/gmii link mode
    [   11.812893] br-lan: port 1(eth1) entered blocking state
    [   11.818152] br-lan: port 1(eth1) entered disabled state
    [   11.823619] device eth1 entered promiscuous mode
    [   11.829670] br-lan: port 1(eth1) entered blocking state
    [   11.834947] br-lan: port 1(eth1) entered forwarding state
    [   11.848931] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
    [   11.904704] tertf: br-lan registered, add it
    [   12.820151] br-lan: port 1(eth1) entered disabled state
    [   15.917076] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
    [   15.925640] br-lan: port 1(eth1) entered blocking state
    [   15.930913] br-lan: port 1(eth1) entered forwarding state
    [   18.925216] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
    [   18.933072] NFSD: Using legacy client tracking operations.
    [   18.938559] NFSD: starting 10-second grace period (net f0000040)
    [   24.139979] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   24.148435] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   29.356288] pppoe-wan: renamed from ppp0
    [120844.874473] mtk_soc_eth 15100000.ethernet eth0: Link is Down
    [120849.888857] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
    [120859.110938] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
    [120859.119714] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [120864.256501] pppoe-wan: renamed from ppp0
    回复

    使用道具 举报

    2

    主题

    11

    帖子

    96

    积分

    注册会员

    Rank: 2

    积分
    96
     楼主| 发表于 2023-2-23 10:36:42 | 显示全部楼层
    关硬件加速的话速度确实是可以上去蛮多,没关之前速度4xx,关了后5xx,最高61x,但是一样是跑不满带宽啊,我4.2 beta4,且已恢复出厂设置,除了把pppoe设置上去其他什么都没设
    回复

    使用道具 举报

    1

    主题

    23

    帖子

    125

    积分

    注册会员

    Rank: 2

    积分
    125
    发表于 2023-2-23 18:54:55 | 显示全部楼层
    用iperf3测速
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2024-11-22 07:16 , Processed in 0.021553 second(s), 25 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表