[Voyage-linux] net4511 network throughput
Jeff Loughridge
(spam-protected)
Wed Sep 18 22:25:00 HKT 2013
I'm using Voyage 0.9.1 on my net4511 router. I'm testing network
throughput using iperf (UDP) between the wired Ethernet ports. The
throughput is about 8 Mb/s. I suspected the ports autonegotiated to 10
Mb/s but ethtool indicates 100 Mb/s.
The only change I've made to Voyage is unpacking/repacking initrd to
load the ide-generic driver. The net4511 wouldn't mount the root
filesystem without that change.
Is anyone seeing higher throughput on the net4511? If so, were tweaks required?
Jeff L.
-----------------------------------
dmesg output
root at voyage:~# dmesg
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 16143
[ 0.000000] Kernel command line: root=LABEL=VOYAGE_FS console=ttyS0,19200n8
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] Initializing CPU#0
[ 0.000000] Initializing HighMem for node 0 (00000000:00000000)
[ 0.000000] Memory: 53600k/65536k available (2920k kernel code,
11484k reserved, 1167k data, 404k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfff14000 - 0xfffff000 ( 940 kB)
[ 0.000000] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff7fe000 ( 943 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] .init : 0xc13fe000 - 0xc1463000 ( 404 kB)
[ 0.000000] .data : 0xc12da316 - 0xc13fe000 (1167 kB)
[ 0.000000] .text : 0xc1000000 - 0xc12da316 (2920 kB)
[ 0.000000] Checking if this processor honours the WP bit even in
supervisor mode...Ok.
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] NR_IRQS:2304 nr_irqs:256 16
[ 0.000000] CPU 0 irqstacks, hard=c3406000 soft=c3408000
[ 0.000000] WARNING: Persistent clock returned invalid value!
[ 0.000000] Check your CMOS/BIOS settings.
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.002000] Calibrating delay loop... 42.49 BogoMIPS (lpj=21248)
[ 0.017000] pid_max: default: 32768 minimum: 301
[ 0.021000] Mount-cache hash table entries: 512
[ 0.034000] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.034000] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 0.034000] tlb_flushall_shift: -1
[ 0.035000] Checking 'hlt' instruction... OK
[ 0.107000] Freeing SMP alternatives: 20k freed
[ 0.152000] smpboot: weird, boot CPU (#0) not listed by the BIOS
[ 0.154000] smpboot: SMP motherboard not detected
[ 0.155000] smpboot: Local APIC not detected. Using dummy APIC emulation.
[ 0.156000] smpboot: SMP disabled
[ 0.157000] Performance Events: no PMU driver, software events only.
[ 0.171000] Brought up 1 CPUs
[ 0.172000] smpboot: Total of 1 processors activated (42.49 BogoMIPS)
[ 0.183000] devtmpfs: initialized
[ 0.205000] NET: Registered protocol family 16
[ 0.269000] PCI: PCI BIOS revision 2.01 entry at 0xf7861, last bus=1
[ 0.270000] PCI: Using configuration type 1 for base access
[ 0.733000] bio: create slab <bio-0> at 0
[ 0.745000] ACPI: Interpreter disabled.
[ 0.759000] vgaarb: loaded
[ 0.777000] SCSI subsystem initialized
[ 0.802000] PCI: Probing PCI hardware
[ 0.803000] PCI: root bus 00: using default resources
[ 0.803000] PCI: Probing PCI hardware (bus 00)
[ 0.809000] PCI host bridge to bus 0000:00
[ 0.810000] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.812000] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[ 0.814000] pci_bus 0000:00: No busn resource found for root bus,
will use [bus 00-ff]
[ 0.816000] pci 0000:00:00.0: [1022:3000] type 00 class 0x060000
[ 0.817000] pci 0000:00:09.0: [104c:ac50] type 02 class 0x060700
[ 0.818000] pci 0000:00:09.0: reg 10: [mem 0xa0000000-0xa0000fff]
[ 0.819000] pci 0000:00:09.0: supports D1 D2
[ 0.819000] pci 0000:00:09.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.820000] pci 0000:00:10.0: [1260:3873] type 00 class 0x028000
[ 0.821000] pci 0000:00:10.0: reg 10: [mem 0xa0001000-0xa0001fff pref]
[ 0.822000] pci 0000:00:10.0: supports D1 D2
[ 0.822000] pci 0000:00:10.0: PME# supported from D0 D1 D2 D3hot
[ 0.822000] pci 0000:00:12.0: [100b:0020] type 00 class 0x020000
[ 0.823000] pci 0000:00:12.0: reg 10: [io 0xe100-0xe1ff]
[ 0.823000] pci 0000:00:12.0: reg 14: [mem 0xa0002000-0xa0002fff]
[ 0.824000] pci 0000:00:12.0: reg 30: [mem 0x3f000000-0x3f00ffff pref]
[ 0.824000] pci 0000:00:12.0: supports D1 D2
[ 0.825000] pci 0000:00:12.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.825000] pci 0000:00:13.0: [100b:0020] type 00 class 0x020000
[ 0.826000] pci 0000:00:13.0: reg 10: [io 0xe200-0xe2ff]
[ 0.826000] pci 0000:00:13.0: reg 14: [mem 0xa0003000-0xa0003fff]
[ 0.826000] pci 0000:00:13.0: reg 30: [mem 0x3f000000-0x3f00ffff pref]
[ 0.827000] pci 0000:00:13.0: supports D1 D2
[ 0.827000] pci 0000:00:13.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.828000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 04
[ 0.828000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 04
[ 0.861000] PCI: pci_cache_line_size set to 32 bytes
[ 0.862000] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[ 0.883000] Switching to clocksource pit
[ 0.890580] pnp: PnP ACPI: disabled
[ 1.354519] pci 0000:00:13.0: address space collision: [mem
0x3f000000-0x3f00ffff pref] conflicts with 0000:00:12.0 [mem
0x3f000000-0x3f00ffff pref]
[ 1.356516] pci 0000:00:09.0: res[9]=[mem 0x04000000-0x03ffffff
pref] get_res_add_size add_size 4000000
[ 1.356516] pci 0000:00:09.0: res[10]=[mem 0x04000000-0x03ffffff]
get_res_add_size add_size 4000000
[ 1.356516] pci 0000:00:09.0: res[7]=[io 0x0100-0x00ff]
get_res_add_size add_size 100
[ 1.357512] pci 0000:00:09.0: res[8]=[io 0x0100-0x00ff]
get_res_add_size add_size 100
[ 1.357512] pci 0000:00:09.0: BAR 9: assigned [mem
0x04000000-0x07ffffff pref]
[ 1.359454] pci 0000:00:09.0: BAR 10: assigned [mem 0x08000000-0x0bffffff]
[ 1.360976] pci 0000:00:13.0: BAR 6: assigned [mem
0x0c000000-0x0c00ffff pref]
[ 1.361607] pci 0000:00:09.0: BAR 7: assigned [io 0x1000-0x10ff]
[ 1.363637] pci 0000:00:09.0: BAR 8: assigned [io 0x1400-0x14ff]
[ 1.365630] pci 0000:00:09.0: CardBus bridge to [bus 01-04]
[ 1.367458] pci 0000:00:09.0: bridge window [io 0x1000-0x10ff]
[ 1.369455] pci 0000:00:09.0: bridge window [io 0x1400-0x14ff]
[ 1.371461] pci 0000:00:09.0: bridge window [mem
0x04000000-0x07ffffff pref]
[ 1.372951] pci 0000:00:09.0: bridge window [mem 0x08000000-0x0bffffff]
[ 1.373932] pci_bus 0000:00: resource 4 [io 0x0000-0xffff]
[ 1.374501] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
[ 1.374501] pci_bus 0000:01: resource 0 [io 0x1000-0x10ff]
[ 1.374501] pci_bus 0000:01: resource 1 [io 0x1400-0x14ff]
[ 1.374501] pci_bus 0000:01: resource 2 [mem 0x04000000-0x07ffffff pref]
[ 1.374501] pci_bus 0000:01: resource 3 [mem 0x08000000-0x0bffffff]
[ 1.377503] NET: Registered protocol family 2
[ 1.388510] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 1.390443] TCP bind hash table entries: 512 (order: 0, 4096 bytes)
[ 1.392439] TCP: Hash tables configured (established 512 bind 512)
[ 1.396476] TCP: reno registered
[ 1.397667] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 1.399039] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 1.403503] NET: Registered protocol family 1
[ 1.409509] RPC: Registered named UNIX socket transport module.
[ 1.410622] RPC: Registered udp transport module.
[ 1.412037] RPC: Registered tcp transport module.
[ 1.413591] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.415510] PCI: CLS 64 bytes, default 32
[ 1.420505] Trying to unpack rootfs image as initramfs...
[ 13.443618] Freeing initrd memory: 6108k freed
[ 13.588652] platform rtc_cmos: registered platform RTC device (no
PNP device found)
[ 13.614643] microcode: AMD CPU family 0x4 not supported
[ 13.675638] NFS: Registering the id_resolver key type
[ 13.677605] Key type id_resolver registered
[ 13.679251] Key type id_legacy registered
[ 13.680636] msgmni has been set to 116
[ 13.709631] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 253)
[ 13.710872] io scheduler noop registered
[ 13.711779] io scheduler deadline registered
[ 13.713749] io scheduler cfq registered (default)
[ 16.702180] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 16.717257] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 16.727273] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 16.774190] Linux agpgart interface v0.103
[ 17.009128] brd: module loaded
[ 17.014144] Uniform Multi-Platform E-IDE driver
[ 17.024124] ide-gd driver 1.18
[ 17.056147] i8042: PNP: No PS/2 controller found. Probing ports directly.
[ 17.065090] i8042: Can't read CTR while initializing i8042
[ 17.066192] i8042: probe of i8042 failed with error -5
[ 17.091143] mousedev: PS/2 mouse device common for all mice
[ 17.103113] cpuidle: using governor ladder
[ 17.105164] cpuidle: using governor menu
[ 17.130110] TCP: cubic registered
[ 17.132056] NET: Registered protocol family 17
[ 17.135132] Key type dns_resolver registered
[ 17.137085] Using IPI No-Shortcut mode
[ 17.170104] Freeing unused kernel memory: 404k freed
[ 17.184054] Write protecting the kernel text: 2924k
[ 17.186084] Write protecting the kernel read-only data: 964k
[ 18.007974] udevd[894]: starting version 175
[ 20.842572] natsemi dp8381x driver, version 2.1, Sept 11, 2006
[ 20.842572] originally by Donald Becker <becker at scyld.com>
[ 20.842572] 2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
[ 20.992520] natsemi eth0: NatSemi DP8381[56] at 0xa0002000
(0000:00:12.0), 00:00:24:c5:e5:f4, IRQ 5, port TP.
[ 21.110504] natsemi eth1: NatSemi DP8381[56] at 0xa0003000
(0000:00:13.0), 00:00:24:c5:e5:f5, IRQ 9, port TP.
[ 41.247492] ide_generic: please use "probe_mask=0x3f" module
parameter for probing all legacy ISA IDE ports
[ 41.250427] Probing IDE interface ide0...
[ 41.515370] hda: SanDisk SDCFB-1024, CFA DISK drive
[ 42.135294] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 42.156296] hda: max request size: 128KiB
[ 42.157955] hda: 2001888 sectors (1024 MB) w/1KiB Cache, CHS=1986/16/63
[ 42.220255] hda: hda1
[ 42.245280] Probing IDE interface ide1...
[ 42.765213] ide1 at 0x170-0x177,0x376 on irq 15
[ 58.718769] udevd[1119]: starting version 175
[ 63.736013] lib80211: common routines for IEEE802.11 drivers
[ 63.752031] lib80211_crypt: registered algorithm 'NULL'
[ 64.424889] yenta_cardbus 0000:00:09.0: CardBus bridge found [0000:0000]
[ 64.426853] yenta_cardbus 0000:00:09.0: Enabling burst memory read
transactions
[ 64.428166] yenta_cardbus 0000:00:09.0: Using CSCINT to route CSC
interrupts to PCI
[ 64.429488] yenta_cardbus 0000:00:09.0: Routing CardBus interrupts to PCI
[ 64.430560] yenta_cardbus 0000:00:09.0: TI: mfunc 0x00000002, devctl 0x60
[ 64.690861] input: PC Speaker as /devices/platform/pcspkr/input/input0
[ 64.778825] yenta_cardbus 0000:00:09.0: ISA IRQ mask 0x0000, PCI irq 10
[ 64.780322] yenta_cardbus 0000:00:09.0: Socket status: 30000006
[ 65.008815] hostap_pci: Registered netdevice wifi0
[ 65.032818] wifi0: Original COR value: 0x74
[ 66.056651] prism2_hw_init: initialized in 967 ms
[ 66.070641] wifi0: NIC: id=0x8013 v1.0.0
[ 66.083636] wifi0: PRI: id=0x15 v1.1.1
[ 66.096650] wifi0: STA: id=0x1f v1.8.0
[ 66.157644] wifi0: Intersil Prism2.5 PCI: mem=0xa0001000, irq=11
[ 66.356601] wifi0: registered netdevice wlan0
[ 66.855523] Error: Driver 'pcspkr' is already registered, aborting...
[ 77.515902] pcmcia_socket pcmcia_socket0: cs: memory probe 0x0c0000-0x0fffff:
[ 77.530907] excluding 0xc8000-0xd3fff 0xf0000-0xfffff
[ 77.570895] pcmcia_socket pcmcia_socket0: cs: memory probe
0xa0000000-0xa0ffffff:
[ 77.586895] excluding 0xa0000000-0xa00fffff
[ 77.655898] pcmcia_socket pcmcia_socket0: cs: memory probe
0x60000000-0x60ffffff:
[ 77.689878] clean.
[ 204.414523] NET: Registered protocol family 10
[ 205.558365] eth1: DSPCFG accepted after 0 usec.
[ 205.558365] eth1: link up.
[ 205.558365] eth1: Setting full-duplex based on negotiated link capability.
[ 542.884359] eth1: remaining active for wake-on-lan
[ 546.678385] eth0: DSPCFG accepted after 0 usec.
[ 546.678385] eth0: link up.
[ 546.678385] eth0: Setting full-duplex based on negotiated link capability.
[ 560.390385] eth1: DSPCFG accepted after 0 usec.
[ 560.390385] eth1: link up.
[ 560.390385] eth1: Setting full-duplex based on negotiated link capability.
[ 631.643818] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 752.296320] nf_conntrack version 0.5.0 (939 buckets, 3756 max)
[ 852.896901] eth1: increased tx threshold, txcfg 0xd0f01004.
[ 852.900907] eth1: increased tx threshold, txcfg 0xd0f01006.
[ 852.966893] eth0: increased tx threshold, txcfg 0xd0f01004.
[ 852.971895] eth0: increased tx threshold, txcfg 0xd0f01006.
[ 853.106882] eth1: increased tx threshold, txcfg 0xd0f01008.
[ 855.268655] eth0: increased tx threshold, txcfg 0xd0f01008.
[ 855.352647] eth0: increased tx threshold, txcfg 0xd0f0100a.
[ 887.912150] eth0: increased tx threshold, txcfg 0xd0f0100c.
[36702.196151] eth1: increased tx threshold, txcfg 0xd0f0100a.
[66873.779123] eth0: increased tx threshold, txcfg 0xd0f0100e.
[66873.792134] eth0: increased tx threshold, txcfg 0xd0f01010.
[66873.845151] eth0: increased tx threshold, txcfg 0xd0f01012.
[66986.195171] eth1: increased tx threshold, txcfg 0xd0f0100c.
[67034.365907] eth1: increased tx threshold, txcfg 0xd0f0100e.
[67140.123641] eth1: increased tx threshold, txcfg 0xd0f01010.
[67140.131663] eth1: increased tx threshold, txcfg 0xd0f01012.
[71140.871276] eth0: increased tx threshold, txcfg 0xd0f01014.
[71496.591863] eth1: increased tx threshold, txcfg 0xd0f01014.
[84103.513806] [sched_delayed] sched: RT throttling activated
root at voyage:~#
More information about the Voyage-linux
mailing list