coolsnowwolf / lede

Lean's LEDE source
Other
29.78k stars 19.51k forks source link

R2S 内核版本从5.18开始到5.19 带宽跑不满 #9941

Closed SilentSing closed 2 years ago

SilentSing commented 2 years ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

R2S 内核版本从5.18开始到5.19 带宽跑不满

(1) 具体问题

A:通过二次编译的固件版本升到5.19.1 千兆带宽只能跑到700左右

(2) 路由器型号和固件版本

A:R2S 5.18-5.19.1

(3) 详细日志

A: 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.19.1 (runner@fv-az173-723) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 8.4.0 r1-6f61ae483) 8.4.0, GNU ld (GNU Binutils) 2.34) #0 SMP PREEMPT Fri Aug 12 13:01:51 2022 [ 0.000000] Machine model: FriendlyElec NanoPi R2S [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x000000003fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000200000-0x000000003fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000003fffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] cma: Reserved 8 MiB at 0x000000003e400000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 18 pages/cpu s34920 r8192 d30616 u73728 [ 0.000000] pcpu-alloc: s34920 r8192 d30616 u73728 alloc=18*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257544 [ 0.000000] Kernel command line: console=ttyS2,1500000 earlycon=uart8250,mmio32,0xff130000 root=PARTUUID=5452574f-02 rw rootwait [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 1000544K/1046528K available (9408K kernel code, 2426K rwdata, 2640K rodata, 1792K init, 797K bss, 37792K reserved, 8192K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] Root IRQ handler: ??h?> [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.001518] Console: colour dummy device 80x25 [ 0.001995] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.002988] pid_max: default: 32768 minimum: 301 [ 0.003742] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.004435] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.007545] cblist_init_generic: Setting adjustable number of callback queues. [ 0.008234] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.008913] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.009747] rcu: Hierarchical SRCU implementation. [ 0.010187] rcu: Max phase no-delay instances is 1000. [ 0.010997] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build [ 0.012848] smp: Bringing up secondary CPUs ... [ 0.014128] Detected VIPT I-cache on CPU1 [ 0.014242] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.015171] Detected VIPT I-cache on CPU2 [ 0.015254] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.016241] Detected VIPT I-cache on CPU3 [ 0.016327] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.016445] smp: Brought up 1 node, 4 CPUs [ 0.019679] SMP: Total of 4 processors activated. [ 0.020141] CPU features: detected: 32-bit EL0 Support [ 0.020612] CPU features: detected: CRC32 instructions [ 0.021467] CPU: All CPU(s) started at EL2 [ 0.021871] alternatives: patching kernel code [ 0.037607] KASLR disabled due to lack of seed [ 0.038247] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.039150] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.040373] pinctrl core: initialized pinctrl subsystem [ 0.042979] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.046287] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations [ 0.047918] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.049822] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.051867] thermal_sys: Registered thermal governor 'step_wise' [ 0.051885] thermal_sys: Registered thermal governor 'power_allocator' [ 0.052925] cpuidle: using governor menu [ 0.054098] ASID allocator initialised with 65536 entries [ 0.054781] Serial: AMBA PL011 UART driver [ 0.076437] rockchip-gpio ff210000.gpio: probed /pinctrl/gpio@ff210000 [ 0.078024] rockchip-gpio ff220000.gpio: probed /pinctrl/gpio@ff220000 [ 0.079263] rockchip-gpio ff230000.gpio: probed /pinctrl/gpio@ff230000 [ 0.080487] rockchip-gpio ff240000.gpio: probed /pinctrl/gpio@ff240000 [ 0.098687] cryptd: max_cpu_qlen set to 1000 [ 0.101751] iommu: Default domain type: Translated [ 0.102226] iommu: DMA domain TLB invalidation policy: strict mode [ 0.103210] SCSI subsystem initialized [ 0.103893] libata version 3.00 loaded. [ 0.104228] usbcore: registered new interface driver usbfs [ 0.104786] usbcore: registered new interface driver hub [ 0.105326] usbcore: registered new device driver usb [ 0.106243] pps_core: LinuxPPS API ver. 1 registered [ 0.106698] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.107544] PTP clock support registered [ 0.110460] clocksource: Switched to clocksource arch_sys_counter [ 0.111383] VFS: Disk quotas dquot_6.6.0 [ 0.111824] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.118148] NET: Registered PF_INET protocol family [ 0.118994] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.121875] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.122800] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.123531] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.124352] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 0.125201] TCP: Hash tables configured (established 8192 bind 8192) [ 0.125970] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.126674] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.127634] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.128203] PCI: CLS 0 bytes, default 64 [ 0.130681] workingset: timestamp_bits=46 max_order=18 bucket_order=0 [ 0.141481] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.142039] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.145288] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.146323] io scheduler mq-deadline registered [ 0.153998] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 0.158016] dma-pl330 ff1f0000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 0.158782] dma-pl330 ff1f0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16 [ 0.162955] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.165687] printk: console [ttyS2] disabled [ 0.166202] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 21, base_baud = 1500000) is a 16550A [ 0.167183] printk: console [ttyS2] enabled [ 0.167945] printk: bootconsole [uart8250] disabled [ 0.185383] brd: module loaded [ 0.191707] loop: module loaded [ 0.192024] mtip32xx Version 1.3.1 [ 0.197046] igb: Intel(R) Gigabit Ethernet Network Driver [ 0.197557] igb: Copyright (c) 2007-2014 Intel Corporation. [ 0.198118] Intel(R) 2.5G Ethernet Linux Driver [ 0.198562] Copyright(c) 2018 Intel Corporation. [ 0.201288] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.201890] ehci-pci: EHCI PCI platform driver [ 0.202347] ehci-platform: EHCI generic platform driver [ 0.203059] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.203650] ohci-platform: OHCI generic platform driver [ 0.204874] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 0.205417] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 0.205546] ehci-platform ff5c0000.usb: EHCI Host Controller [ 0.205557] ohci-platform ff5d0000.usb: Generic Platform OHCI controller [ 0.205589] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 2 [ 0.205859] ohci-platform ff5d0000.usb: irq 26, io mem 0xff5d0000 [ 0.206299] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010 [ 0.206667] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 3 [ 0.207259] xhci-hcd xhci-hcd.0.auto: irq 24, io mem 0xff600000 [ 0.208022] ehci-platform ff5c0000.usb: irq 25, io mem 0xff5c0000 [ 0.208687] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 0.211506] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4 [ 0.212198] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 0.213562] hub 1-0:1.0: USB hub found [ 0.213946] hub 1-0:1.0: 1 port detected [ 0.214872] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 0.216224] hub 4-0:1.0: USB hub found [ 0.216605] hub 4-0:1.0: 1 port detected [ 0.217614] usbcore: registered new interface driver usb-storage [ 0.218604] mousedev: PS/2 mouse device common for all mice [ 0.219487] i2c_dev: i2c /dev entries driver [ 0.222534] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00 [ 0.223318] rk808 1-0018: chip id: 0x8050 [ 0.223845] hub 3-0:1.0: USB hub found [ 0.224226] hub 3-0:1.0: 1 port detected [ 0.231068] rk808-regulator rk808-regulator: there is no dvs0 gpio [ 0.231676] rk808-regulator rk808-regulator: there is no dvs1 gpio [ 0.259278] rk808-rtc rk808-rtc: registered as rtc0 [ 0.261458] rk808-rtc rk808-rtc: setting system clock to 2022-08-14T10:48:38 UTC (1660474118) [ 0.264144] input: rk805 pwrkey as /devices/platform/ff160000.i2c/i2c-1/1-0018/rk805-pwrkey/input/input0 [ 0.267372] hub 2-0:1.0: USB hub found [ 0.267797] hub 2-0:1.0: 1 port detected [ 0.270841] cpu cpu0: EM: created perf domain [ 0.273541] sdhci: Secure Digital Host Controller Interface driver [ 0.274117] sdhci: Copyright(c) Pierre Ossman [ 0.274585] Synopsys Designware Multimedia Card Interface Driver [ 0.275429] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.277291] ledtrig-cpu: registered to indicate activity on CPUs [ 0.278158] usbcore: registered new interface driver usbhid [ 0.278684] usbhid: USB HID core driver [ 0.280567] NET: Registered PF_INET6 protocol family [ 0.282622] Segment Routing with IPv6 [ 0.283008] In-situ OAM (IOAM) with IPv6 [ 0.283420] NET: Registered PF_PACKET protocol family [ 0.283943] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.285485] 8021q: 802.1Q VLAN Support v1.8 [ 0.307038] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found [ 0.307648] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found [ 0.308305] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock [ 0.309003] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input). [ 0.309624] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24). [ 0.310122] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18). [ 0.310716] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no). [ 0.311315] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed [ 0.311926] rk_gmac-dwmac ff540000.ethernet: clock input from PHY [ 0.317476] rk_gmac-dwmac ff540000.ethernet: init for RGMII [ 0.318322] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35 [ 0.318990] rk_gmac-dwmac ff540000.ethernet: DWMAC1000 [ 0.319456] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported [ 0.320112] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported [ 0.320767] rk_gmac-dwmac ff540000.ethernet: COE Type 2 [ 0.321225] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported [ 0.321845] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported [ 0.322410] rk_gmac-dwmac ff540000.ethernet: Normal descriptors [ 0.322940] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled [ 0.323454] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 0.467636] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode. [ 0.468181] dw-apb-uart ff130000.serial: forbid DMA for kernel console [ 0.468200] dwmmc_rockchip ff500000.mmc: Using internal DMA controller. [ 0.469338] dwmmc_rockchip ff500000.mmc: Version ID is 270a [ 0.469852] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 39,32 bit host data width,256 deep fifo [ 0.488973] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 0.502814] Waiting for root device PARTUUID=5452574f-02... [ 0.588478] mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 100000000Hz, actual 100000000HZ div = 0) [ 0.955156] dwmmc_rockchip ff500000.mmc: Successfully tuned phase to 125 [ 0.955817] mmc0: new ultra high speed SDR50 SDHC card at address e624 [ 0.957874] mmcblk0: mmc0:e624 SL08G 7.40 GiB [ 0.960833] mmcblk0: p1 p2 [ 0.974976] VFS: Mounted root (squashfs filesystem) readonly on device 179:2. [ 0.976689] Freeing unused kernel memory: 1792K [ 0.982733] Run /sbin/init as init process [ 0.983120] with arguments: [ 0.983124] /sbin/init [ 0.983128] with environment: [ 0.983131] HOME=/ [ 0.983135] TERM=linux [ 1.367881] init: Console is alive [ 2.100962] kmodloader: loading kernel modules from /etc/modules-boot.d/ [ 2.201241] Key type encrypted registered [ 2.208880] raid6: skipped pq benchmark and selected neonx8 [ 2.209409] raid6: using neon recovery algorithm [ 2.215858] xor: measuring software checksum speed [ 2.219369] 8regs : 3276 MB/sec [ 2.222679] 32regs : 3381 MB/sec [ 2.226095] arm64_neon : 3248 MB/sec [ 2.226488] xor: using function: 32regs (3381 MB/sec) [ 2.249464] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no [ 2.257434] ehci-fsl: Freescale EHCI Host controller driver [ 2.261373] uhci_hcd: USB Universal Host Controller Interface driver [ 2.264290] usbcore: registered new interface driver uas [ 2.265277] kmodloader: done loading kernel modules from /etc/modules-boot.d/ [ 2.271434] init: - preinit - [ 2.602836] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd [ 2.682138] random: procd: uninitialized urandom read (4 bytes read) [ 3.031503] random: jshn: uninitialized urandom read (4 bytes read) [ 3.156674] random: jshn: uninitialized urandom read (4 bytes read) [ 7.542869] mount_root: loading kmods from internal overlay [ 7.561362] kmodloader: loading kernel modules from //etc/modules-boot.d/ [ 7.563752] kmodloader: done loading kernel modules from //etc/modules-boot.d/ [ 7.766858] loop0: detected capacity change from 0 to 1945600 [ 7.790530] loop0: detected capacity change from 1945600 to 1721728 [ 8.107967] F2FS-fs (loop0): Disable nat_bits due to incorrect cp_ver (14201722789830826916, 8589499108730837664) [ 8.116547] F2FS-fs (loop0): Mounted with checkpoint version = 266f9ba4 [ 8.117459] block: attempting to load /tmp/f2fs_cfg/upper/etc/config/fstab [ 8.120911] block: extroot: not configured [ 8.161308] loop0: detected capacity change from 0 to 1945600 [ 8.178596] loop0: detected capacity change from 1945600 to 1721728 [ 8.187323] F2FS-fs (loop0): Mounted with checkpoint version = 266f9ba7 [ 8.217670] block: attempting to load /tmp/f2fs_cfg/upper/etc/config/fstab [ 8.219461] block: extroot: not configured [ 8.221159] mount_root: switching to f2fs overlay [ 8.557433] EXT4-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended [ 8.929803] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Quota mode: none. [ 9.017616] EXT4-fs (mmcblk0p1): unmounting filesystem. [ 9.038679] urandom-seed: Seed file not found (/etc/urandom.seed) [ 9.545013] procd: - early - [ 10.246787] procd: - ubus - [ 10.299142] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.300451] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.301264] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.306757] procd: - init - [ 11.354812] random: jsonfilter: uninitialized urandom read (4 bytes read) [ 11.479349] kmodloader: loading kernel modules from /etc/modules.d/* [ 11.614391] random: crng init done [ 11.614821] random: 23 urandom warning(s) missed due to ratelimiting [ 11.625009] NET: Registered PF_ALG protocol family [ 11.644927] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com [ 11.657138] ntfs3: Max link count 4000 [ 11.657506] ntfs3: Enabled Linux POSIX ACLs support [ 11.657933] ntfs3: Warning: Activated 64 bits per cluster. Windows does not support this [ 11.658677] ntfs3: Read-only LZX/Xpress compression included [ 11.667545] NET: Registered PF_KEY protocol family [ 11.671359] Initializing XFRM netlink socket [ 11.674629] tun: Universal TUN/TAP device driver, 1.6 [ 11.698045] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 11.761690] cryptodev: driver 1.12 loaded. [ 11.765628] GACT probability on [ 11.767551] Mirror/redirect action on [ 11.779172] u32 classifier [ 11.779448] input device check on [ 11.779769] Actions configured [ 11.793590] fuse: init (API version 7.36) [ 11.801647] Bridge firewalling registered [ 11.872061] appfilter version:5.0 [ 11.872459] open feature file failed [ 11.872775] error, feature buf is null [ 11.873103] load feature failed [ 11.926954] usbcore: registered new interface driver r8152 [ 11.933770] usbcore: registered new interface driver ums-alauda [ 11.935599] usbcore: registered new interface driver ums-cypress [ 11.937266] usbcore: registered new interface driver ums-datafab [ 11.938923] usbcore: registered new interface driver ums-freecom [ 11.940548] usbcore: registered new interface driver ums-isd200 [ 11.942535] usbcore: registered new interface driver ums-jumpshot [ 11.944199] usbcore: registered new interface driver ums-karma [ 11.945986] usbcore: registered new interface driver ums-sddr09 [ 11.947985] usbcore: registered new interface driver ums-sddr55 [ 11.949617] usbcore: registered new interface driver ums-usbat [ 12.003737] xt_time: kernel timezone is -0000 [ 12.008375] usbcore: registered new interface driver cdc_ether [ 12.011606] usbcore: registered new interface driver cdc_ncm [ 12.016212] PPP generic driver version 2.4.2 [ 12.018038] PPP MPPE Compression module registered [ 12.020400] NET: Registered PF_PPPOX protocol family [ 12.028578] appfilter version:5.0 [ 12.028977] open feature file failed [ 12.029293] error, feature buf is null [ 12.029623] load feature failed [ 12.071021] kmodloader: 1 module could not be probed [ 12.071660] kmodloader: - oaf - 0 [ 12.101210] usb 4-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 12.138130] r8152 4-1:1.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00 [ 12.139123] r8152 4-1:1.0 (unnamed net_device) (uninitialized): Random ether addr 16:c4:57:07:87:95 [ 12.235786] r8152 4-1:1.0: load rtl8153b-2 v1 10/23/19 successfully [ 12.272246] r8152 4-1:1.0 eth1: v1.12.13 [ 16.354624] EXT4-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended [ 16.365386] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Quota mode: none. [ 16.652623] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=POLL) [ 16.653605] cma: cma_alloc: reserved: alloc failed, req-size: 2 pages, ret: -12 [ 16.654295] cma: cma_alloc: reserved: alloc failed, req-size: 2 pages, ret: -12 [ 16.655218] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 16.666580] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found [ 16.667316] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW [ 16.668607] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode [ 16.672188] br-lan: port 1(eth0) entered blocking state [ 16.672697] br-lan: port 1(eth0) entered disabled state [ 16.673451] device eth0 entered promiscuous mode [ 16.676339] br-lan: port 1(eth0) entered blocking state [ 16.676875] br-lan: port 1(eth0) entered forwarding state [ 16.728928] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 16.730972] r8152 4-1:1.0 eth1: carrier on [ 17.599679] br-lan: port 1(eth0) entered disabled state [ 18.777101] fast-classifier: starting up [ 18.777611] fast-classifier: registered [ 20.768045] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 20.768896] br-lan: port 1(eth0) entered blocking state [ 20.769365] br-lan: port 1(eth0) entered forwarding state [ 20.770154] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 22.235594] pppoe-wan: renamed from ppp0 [ 23.522551] br-lan: port 1(eth0) entered disabled state [ 23.524333] device eth0 left promiscuous mode [ 23.524881] br-lan: port 1(eth0) entered disabled state [ 23.548192] rk_gmac-dwmac ff540000.ethernet eth0: Link is Down [ 25.232748] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=POLL) [ 25.233753] cma: cma_alloc: reserved: alloc failed, req-size: 2 pages, ret: -12 [ 25.234571] cma: cma_alloc: reserved: alloc failed, req-size: 2 pages, ret: -12 [ 25.235494] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 25.246710] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found [ 25.247433] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW [ 25.248052] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode [ 25.252409] br-lan: port 1(eth0) entered blocking state [ 25.252949] br-lan: port 1(eth0) entered disabled state [ 25.254043] device eth0 entered promiscuous mode [ 25.289278] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 25.299181] r8152 4-1:1.0 eth1: carrier on [ 28.320060] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 28.320911] br-lan: port 1(eth0) entered blocking state [ 28.321381] br-lan: port 1(eth0) entered forwarding state [ 28.322162] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 43.309293] appfilter version:5.0 [ 43.311309] init oaf sysctl...ok [ 54.327220] overlayfs: filesystem on '/opt/docker/check-overlayfs-support3720531552/upper' not supported as upperdir [ 54.415378] overlayfs: filesystem on '/opt/docker/check-overlayfs-support1290675960/upper' not supported as upperdir [ 56.035981] pppoe-wan: renamed from ppp0 [ 97.625572] mmcblk0p2: Can't mount, would change RO state

DHDAXCW commented 2 years ago

配置打开CONFIG_PACKAGE_kmod-usb-dwc2=y看看有没有效果?

coolsnowwolf commented 2 years ago

因为加了 oaf 了,无法走加速

SilentSing commented 2 years ago

因为加了 oaf 了,无法走加速

那怎么弄才能行呢 还是说新的固件没办法走加速 这个oaf是app过滤吗?

SilentSing commented 2 years ago

因为加了 oaf 了,无法走加速 我把过滤的插件删除了 重新编译以后还是不行 编译出来的固件之前还能跑700左右 删除以后只能跑300左右了

BenjaminX commented 2 years ago

也是 CCC 加速的 shortcut-FE 导致的,观察一下这。

我这里加上会随机重启,关闭了也出现速度慢很多的问题。 R4S 硬件

SilentSing commented 2 years ago

也是 CCC 加速的 shortcut-FE 导致的,观察一下这。

我这里加上会随机重启,关闭了也出现速度慢很多的问题。 R4S 硬件 我R2S 开启加速不会随机重启 但关闭以后速度慢应该是正常的吧 本来就是加速包转发性能的

czw1259 commented 2 years ago

我也是从5.15更新到5.18 5.19 发现跑不满带宽!L大佬能否帮忙测试一下是啥原因啊?

SilentSing commented 2 years ago

看样子patchs-5.19里面少了一个dmc补丁吧...

那要怎么弄才能把这个问题解决呢 骷髅头大佬

DHDAXCW commented 2 years ago

看样子patchs-5.19里面少了一个dmc补丁吧...

那要怎么弄才能把这个问题解决呢 骷髅头大佬

帮忙执行一下 cat /proc/interrupts 复制发这里来

SilentSing commented 2 years ago

看样子patchs-5.19里面少了一个dmc补丁吧...

那要怎么弄才能把这个问题解决呢 骷髅头大佬

帮忙执行一下 cat /proc/interrupts 复制发这里来

       CPU0       CPU1       CPU2       CPU3

11: 46065 24805 26494 28902 GICv2 30 Level arch_ti mer 18: 0 0 0 0 GICv2 94 Level rockchi p_usb2phy 19: 0 0 0 0 GICv2 32 Level ff1f000 0.dma-controller 20: 0 0 0 0 GICv2 33 Level ff1f000 0.dma-controller 21: 6 0 0 0 GICv2 89 Level ttyS2 22: 0 0 0 0 GICv2 43 Level ff35080 0.iommu 23: 0 0 0 0 GICv2 106 Level ff36048 0.iommu 24: 84067 0 0 0 GICv2 99 Level xhci-hc d:usb1 25: 0 0 0 0 GICv2 48 Level ehci_hc d:usb3 26: 0 0 0 0 GICv2 49 Level ohci_hc d:usb2 27: 1614 0 0 0 GICv2 69 Level ff16000 0.i2c 28: 0 0 0 0 rockchip_gpio_irq 24 Level rk805 29: 0 0 0 0 rk805 0 Edge rk805_p wrkey_fall 34: 0 0 0 0 rk805 5 Edge RTC ala rm 36: 0 0 0 0 rk805 7 Edge rk805_p wrkey_rise 37: 0 0 0 0 GICv2 90 Level rockchi p_thermal 38: 34500 0 0 0 GICv2 56 Level eth0 39: 9101 0 0 0 GICv2 44 Level dw-mci 40: 0 0 0 0 rockchip_gpio_irq 0 Edge keys 41: 0 0 0 0 GICv2 55 Level ff58000 0.usb, dwc2_hsotg:usb5 IPI0: 21060 28945 24283 26548 Rescheduling interrupts IPI1: 3762 2483 1587 1099 Function call interrupts IPI2: 0 0 0 0 CPU stop interrupts IPI3: 0 0 0 0 CPU stop (for crash dump) interrupts IPI4: 4498 7115 6535 8197 Timer broadcast interrupt s IPI5: 93 140 98 124 IRQ work interrupts IPI6: 0 0 0 0 CPU wake-up interrupts

SilentSing commented 2 years ago

看外观patchs-5.19里面少了一个dmc吧...

那要怎么弄才能解决这个问题呢?骷髅头大佬

帮忙执行一下 cat /proc/interrupts 复制发这里来 11

DHDAXCW commented 2 years ago

执行一下

echo 2 > /proc/irq/38/smp_affinity
echo 4 > /proc/irq/24/smp_affinity

然后跑下宽带

SilentSing commented 2 years ago

执行一下

echo 2 > /proc/irq/38/smp_affinity
echo 4 > /proc/irq/24/smp_affinity

然后跑下宽带

执行了以后带宽从300左右能跑到700+ 但是还是不能达到满速 我是千兆的网 之前5.15的固件可以跑到940左 QQ截图20220816140029

DHDAXCW commented 2 years ago

那估计是这个了、、、、 image

SilentSing commented 2 years ago

那估计是这个了、、、、 image

L大说的这个oaf是APP过滤吗 能屏蔽或者不用吗 还是说内核就是这样已经没办法走加速了? 还是只能等L大优化了?

SilentSing commented 2 years ago

那估计是这个了、、、、 image

L大说的这个oaf是APP过滤吗 能屏蔽或者不用吗 还是说内核就是这样已经没办法走加速了? 还是只能等L大优化了?

而且这个内核版本 smartDNS也有问题 能返回2个或以上地址 好像没有起到作用

czw1259 commented 2 years ago

那估计是这个了、、、、 image

也就是说从5.18以后的版本R2S就不支持优化加速了?是吗?

yimozi commented 2 years ago

同样的问题,还以为是路由器坏了。已经退回5.15内核了。