Why can't my N5105 do a gigabit?

Hey I'm new to x86 Owrt, but not to forum begging. Testing openwrt-22.03.4-x86-64-generic-ext4-combined-efi.img.gz on a N5105 T8 pro (SFO and packet steering enabled) I got:

650mbps from the N5105 to the modem.
250mbps on wireguard.

Modem rings out at 945mbps with laptop plugged straight in. Tests the same with and without irqbalance installed. What power setting am I missing in the bios? Should I try the non 64 version? It's booting off a USB - is that it?

My C7 v2 can reach 800-850mbps on average on this 1000/50 cable connection. Going to try resetting the BIOS and updating it perhaps.

Thanks!


BusyBox v1.35.0 (2023-04-09 12:27:46 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 22.03.4, r20123-38ccc47687
 -----------------------------------------------------
root@OpenWrt:~# htop
root@OpenWrt:~# dmesg
[    0.000000] Linux version 5.10.176 (builder@buildhost) (x86_64-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r20123-38ccc47687) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sun Apr 9 12:27:46 2023
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz root=PARTUUID=93ffdd41-3e4a-2ac5-91b9-53e979fb5902 rootwait console=tty0 console=ttyS0,115200n8 noinitrd
[    0.000000] x86/split lock detection: warning about user-space split_locks
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Enabled xstate features 0x3, context size is 576 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000760c4fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000760c5000-0x00000000785c4fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000785c5000-0x0000000078844fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x0000000078845000-0x0000000078944fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000078945000-0x0000000078efefff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000078eff000-0x0000000078ffefff] type 20
[    0.000000] BIOS-e820: [mem 0x0000000078fff000-0x0000000078ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000079000000-0x000000007fbfffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000c0000000-0x00000000cfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed20000-0x00000000fed7ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000002803fffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.70 by American Megatrends
[    0.000000] efi: ACPI=0x788ef000 ACPI 2.0=0x788ef014 TPMFinalLog=0x788f2000 SMBIOS=0x78d7b000 SMBIOS 3.0=0x78d7a000 MEMATTR=0x74fd0818 ESRT=0x75344818 
[    0.000000] SMBIOS 3.3.0 present.
[    0.000000] DMI: Intel Corporation Jasper Lake Client Platform/JSL MRD, BIOS T8PRO001 10/25/2022
[    0.000000] tsc: Detected 2000.000 MHz processor
[    0.000000] tsc: Detected 1996.800 MHz TSC
[    0.000580] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000584] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000592] last_pfn = 0x280400 max_arch_pfn = 0x400000000
[    0.000595] MTRR default type: write-back
[    0.000596] MTRR fixed ranges enabled:
[    0.000597]   00000-9FFFF write-back
[    0.000598]   A0000-BFFFF uncachable
[    0.000599]   C0000-FFFFF write-protect
[    0.000600] MTRR variable ranges enabled:
[    0.000601]   0 base 0080000000 mask 7F80000000 uncachable
[    0.000602]   1 base 007C000000 mask 7FFC000000 uncachable
[    0.000603]   2 base 007B800000 mask 7FFF800000 uncachable
[    0.000604]   3 base 6000000000 mask 6000000000 uncachable
[    0.000605]   4 base 4000000000 mask 6000000000 write-combining
[    0.000606]   5 disabled
[    0.000606]   6 disabled
[    0.000607]   7 disabled
[    0.000607]   8 disabled
[    0.000608]   9 disabled
[    0.000752] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.001012] last_pfn = 0x79000 max_arch_pfn = 0x400000000
[    0.017907] esrt: Reserving ESRT space from 0x0000000075344818 to 0x0000000075344850.
[    0.017912] e820: update [mem 0x75344000-0x75344fff] usable ==> reserved
[    0.018419] Secure boot disabled
[    0.018421] ACPI: Early table checksum verification disabled
[    0.018426] ACPI: RSDP 0x00000000788EF014 000024 (v02 ALASKA)
[    0.018430] ACPI: XSDT 0x00000000788EE728 0000DC (v01 ALASKA A M I    01072009 AMI  01000013)
[    0.018435] ACPI: FACP 0x0000000078841000 000114 (v06 ALASKA A M I    01072009 AMI  01000013)
[    0.018441] ACPI: DSDT 0x00000000787FD000 043B3E (v02 ALASKA A M I    01072009 INTL 20191018)
[    0.018445] ACPI: FACS 0x0000000078943000 000040
[    0.018448] ACPI: MCFG 0x0000000078842000 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
[    0.018451] ACPI: FIDT 0x00000000787FC000 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.018454] ACPI: SSDT 0x00000000787F9000 0025EE (v02 CpuRef CpuSsdt  00003000 INTL 20191018)
[    0.018457] ACPI: SSDT 0x0000000078843000 001CCD (v02 SaSsdt SaSsdt   00003000 INTL 20191018)
[    0.018460] ACPI: SSDT 0x00000000787F5000 0032CD (v02 INTEL  IgfxSsdt 00003000 INTL 20191018)
[    0.018463] ACPI: HPET 0x00000000787F4000 000038 (v01 ALASKA A M I    01072009 AMI  01000013)
[    0.018466] ACPI: APIC 0x00000000787F3000 00012C (v04 ALASKA A M I    01072009 AMI  01000013)
[    0.018469] ACPI: PRAM 0x00000000787F2000 000030 (v01 ALASKA A M I    01072009 AMI  01000013)
[    0.018471] ACPI: SSDT 0x00000000787F1000 000E06 (v02 ALASKA Ther_Rvp 00001000 INTL 20191018)
[    0.018474] ACPI: SSDT 0x00000000787EE000 002FBC (v02 INTEL  xh_jslv2 00000000 INTL 20191018)
[    0.018477] ACPI: NHLT 0x00000000787ED000 0001FB (v00 ALASKA A M I    01072009 AMI  01000013)
[    0.018480] ACPI: LPIT 0x00000000787EC000 000094 (v01 ALASKA A M I    01072009 AMI  01000013)
[    0.018483] ACPI: SSDT 0x00000000787E8000 002720 (v02 ALASKA PtidDevc 00001000 INTL 20191018)
[    0.018486] ACPI: SSDT 0x00000000787E7000 000122 (v02 ALASKA TbtTypeC 00000000 INTL 20191018)
[    0.018489] ACPI: DBGP 0x00000000787E6000 000034 (v01 ALASKA A M I    01072009 AMI  01000013)
[    0.018492] ACPI: DBG2 0x00000000787E5000 000054 (v00 ALASKA A M I    01072009 AMI  01000013)
[    0.018495] ACPI: DMAR 0x00000000787E4000 000088 (v02 INTEL  EDK2     00000002      01000013)
[    0.018498] ACPI: SSDT 0x00000000787E3000 000144 (v02 Intel  ADebTabl 00001000 INTL 20191018)
[    0.018500] ACPI: BGRT 0x00000000787E2000 000038 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.018503] ACPI: TPM2 0x00000000787E1000 00004C (v04 ALASKA A M I    00000001 AMI  00000000)
[    0.018506] ACPI: WSMT 0x00000000787EB000 000028 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.018509] ACPI: FPDT 0x00000000787E0000 000044 (v01 ALASKA A M I    01072009 AMI  01000013)
[    0.018512] ACPI: Reserving FACP table memory at [mem 0x78841000-0x78841113]
[    0.018513] ACPI: Reserving DSDT table memory at [mem 0x787fd000-0x78840b3d]
[    0.018514] ACPI: Reserving FACS table memory at [mem 0x78943000-0x7894303f]
[    0.018515] ACPI: Reserving MCFG table memory at [mem 0x78842000-0x7884203b]
[    0.018517] ACPI: Reserving FIDT table memory at [mem 0x787fc000-0x787fc09b]
[    0.018518] ACPI: Reserving SSDT table memory at [mem 0x787f9000-0x787fb5ed]
[    0.018519] ACPI: Reserving SSDT table memory at [mem 0x78843000-0x78844ccc]
[    0.018520] ACPI: Reserving SSDT table memory at [mem 0x787f5000-0x787f82cc]
[    0.018521] ACPI: Reserving HPET table memory at [mem 0x787f4000-0x787f4037]
[    0.018522] ACPI: Reserving APIC table memory at [mem 0x787f3000-0x787f312b]
[    0.018523] ACPI: Reserving PRAM table memory at [mem 0x787f2000-0x787f202f]
[    0.018524] ACPI: Reserving SSDT table memory at [mem 0x787f1000-0x787f1e05]
[    0.018525] ACPI: Reserving SSDT table memory at [mem 0x787ee000-0x787f0fbb]
[    0.018526] ACPI: Reserving NHLT table memory at [mem 0x787ed000-0x787ed1fa]
[    0.018527] ACPI: Reserving LPIT table memory at [mem 0x787ec000-0x787ec093]
[    0.018528] ACPI: Reserving SSDT table memory at [mem 0x787e8000-0x787ea71f]
[    0.018529] ACPI: Reserving SSDT table memory at [mem 0x787e7000-0x787e7121]
[    0.018531] ACPI: Reserving DBGP table memory at [mem 0x787e6000-0x787e6033]
[    0.018532] ACPI: Reserving DBG2 table memory at [mem 0x787e5000-0x787e5053]
[    0.018533] ACPI: Reserving DMAR table memory at [mem 0x787e4000-0x787e4087]
[    0.018534] ACPI: Reserving SSDT table memory at [mem 0x787e3000-0x787e3143]
[    0.018535] ACPI: Reserving BGRT table memory at [mem 0x787e2000-0x787e2037]
[    0.018536] ACPI: Reserving TPM2 table memory at [mem 0x787e1000-0x787e104b]
[    0.018537] ACPI: Reserving WSMT table memory at [mem 0x787eb000-0x787eb027]
[    0.018538] ACPI: Reserving FPDT table memory at [mem 0x787e0000-0x787e0043]
[    0.018555] ACPI: Local APIC address 0xfee00000
[    0.018570] Zone ranges:
[    0.018571]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.018573]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.018575]   Normal   [mem 0x0000000100000000-0x00000002803fffff]
[    0.018576] Movable zone start for each node
[    0.018577] Early memory node ranges
[    0.018578]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.018580]   node   0: [mem 0x0000000000100000-0x00000000760c4fff]
[    0.018581]   node   0: [mem 0x0000000078fff000-0x0000000078ffffff]
[    0.018582]   node   0: [mem 0x0000000100000000-0x00000002803fffff]
[    0.018584] Initmem setup node 0 [mem 0x0000000000001000-0x00000002803fffff]
[    0.018585] On node 0 totalpages: 2057316
[    0.018586]   DMA zone: 64 pages used for memmap
[    0.018587]   DMA zone: 24 pages reserved
[    0.018588]   DMA zone: 3998 pages, LIFO batch:0
[    0.018589]   DMA32 zone: 7492 pages used for memmap
[    0.018590]   DMA32 zone: 479430 pages, LIFO batch:63
[    0.018591]   Normal zone: 24592 pages used for memmap
[    0.018592]   Normal zone: 1573888 pages, LIFO batch:63
[    0.018595] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.018626] On node 0, zone DMA: 97 pages in unavailable ranges
[    0.022704] On node 0, zone DMA32: 12090 pages in unavailable ranges
[    0.035955] On node 0, zone Normal: 28672 pages in unavailable ranges
[    0.036388] On node 0, zone Normal: 31744 pages in unavailable ranges
[    0.036410] Reserving Intel graphics memory at [mem 0x7c000000-0x7fbfffff]
[    0.036738] ACPI: PM-Timer IO Port: 0x1808
[    0.036740] ACPI: Local APIC address 0xfee00000
[    0.036746] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.036748] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.036749] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.036750] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[    0.036750] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[    0.036751] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[    0.036752] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[    0.036753] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[    0.036754] ACPI: LAPIC_NMI (acpi_id[0x09] high edge lint[0x1])
[    0.036755] ACPI: LAPIC_NMI (acpi_id[0x0a] high edge lint[0x1])
[    0.036756] ACPI: LAPIC_NMI (acpi_id[0x0b] high edge lint[0x1])
[    0.036757] ACPI: LAPIC_NMI (acpi_id[0x0c] high edge lint[0x1])
[    0.036758] ACPI: LAPIC_NMI (acpi_id[0x0d] high edge lint[0x1])
[    0.036759] ACPI: LAPIC_NMI (acpi_id[0x0e] high edge lint[0x1])
[    0.036760] ACPI: LAPIC_NMI (acpi_id[0x0f] high edge lint[0x1])
[    0.036761] ACPI: LAPIC_NMI (acpi_id[0x10] high edge lint[0x1])
[    0.036796] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119
[    0.036798] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.036800] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.036801] ACPI: IRQ0 used by override.
[    0.036802] ACPI: IRQ9 used by override.
[    0.036804] Using ACPI (MADT) for SMP configuration information
[    0.036806] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.036810] TSC deadline timer available

dmesg too big to paste (over 49K char limit)

You booted a 64 bit image, and the usb boot isn't the issue.

It should route gigabit, easily.

2 Likes

Rolled back to 21.02.5 - seems peppier. Htop shows cores 3 & 4 are not being loaded up. Going to play with bios settings.

Conclusion:

  • Default bios settings had all 4 cores and turbo boost enabled but it was only giving me 650mbps initially.

  • The advanced menu in the bios only has the first 2 options (other more expensive N5105 4 or 5 port router style models have around 10 options) despite the fact that the bios firmware revision is the same. The bios is only 6 months old and there does not appear to be an update.

  • Disabling speedstep in the bios I was able to force all 4 cores to load up to around 50% but it never broke 850mbps (no wireguard / SFO and packet steering enabled) and it was only able to run wireguard at 500-600mbps best case. This falls short of published numbers on other N5105's running wireguard at 840mbps.

  • I tested with 21.02.5 and 22.03.4 results were basically the same.

It had WIN11 on it and testing that connected straight to the modem only yielded 800-850mbps.

Subsequent testing left it bricked and I can't open it to reset the bios so back it goes! This was a budget model at $125USD.

I was reluctant to get a x86 device with i225/i226 as my model of modem doesn't like 2.5Ghz NIC (intel puma chip issue). This model had realtek 1gbps ports.

Better luck next time!

Haven't tried 22.03.4, since I'm on vacation, but 22.03.3 works just fine at gigabit speeds.

1 Like

I've been running SNAPSHOT on my N5105 since early December. (I figure x86_64 is probably the most robust Linux arch around, so why not use latest? I have not seen any issues at all.)

Mine has 2.5 GbE NICs hooked up as a subnet router, and I measure 2.37 Gbps routed through it using iperf3 between a workstation and NAS back when I set it up, so it sure sounds like your issue must be configuration somewhere as the CPU is pretty much unstressed doing this. (NAS 10 Gb DAC -> Zyxel switch -> router WAN 2.5 GbE, router LAN 2.5 GbE -> workstation.)

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.