Internet speeds are SLOW
-
swapping the WAN and LAN was one of the very first things I did to no effect so I don't have much hope in the result being much different.
Yes but this test only uses the WAN interface so if, for example, your Realtek NIC was causing a problem and you swapped that to the LAN that problem should be removed.
Something I notice from your dmesg is that you have a Hyperthreading P4. Hyperthreading in these older CPUs has been shown to little advantage and in some cases even reduce performance. This couldn't possibly bring down the throughput to <5Mbps but it's worth noting.
Steve
-
Okay, I disabled HT and Audio, Parallel Port & Serial Port. Then ran again…
$ dmesg
Copyright1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-RELEASE-p13 #0: Fri Apr 12 10:54:59 EDT 2013
root@snapshots-8_1-amd64.builders.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8 amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.02-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0xf41 Family = f Model = 4 Stepping = 1
Features=0xbfebfbff <fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe>Features2=0x641d <sse3,dtes64,mon,ds_cpl,cnxt-id,cx16,xtpr>AMD Features=0x20100800 <syscall,nx,lm>TSC: P-state invariant
real memory = 536870912 (512 MB)
avail memory = 484544512 (462 MB)
ACPI APIC Table: <dell 4700 ="">WARNING: Non-uniform processors.
WARNING: Using suboptimal topology.
ioapic0: Changing APIC ID to 8
ioapic0 <version 2.0="">irqs 0-23 on motherboard
lapic0: Forcing LINT1 to edge trigger
wlan: mac acl policy registered
ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffffffff804732e0, 0) error 1
wpi: You need to read the LICENSE file in /usr/share/doc/legal/intel_wpi/.
wpi: If you agree with the license, set legal.intel_wpi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (wpi_fw, 0xffffffff80656da0, 0) error 1
ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_bss_fw, 0xffffffff804731a0, 0) error 1
ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffffffff80473240, 0) error 1
kbd1 at kbdmux0
cryptosoft0: <software crypto="">on motherboard
padlock0: No ACE support.
acpi0: <dell 4700 ="">on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, f00000 (3) failed
acpi0: reservation of 1000000, 1e688c00 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <acpi cpu="">on acpi0
acpi_hpet0: <high precision="" event="" timer="">iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
acpi_button0: <power button="">on acpi0
acpi_button0: enable wake failed
pcib0: <acpi host-pci="" bridge="">port 0xcf8-0xcff on acpi0
pci0: <acpi pci="" bus="">on pcib0
pcib1: <acpi pci-pci="" bridge="">irq 16 at device 1.0 on pci0
pci1: <acpi pci="" bus="">on pcib1
vgapci0: <vga-compatible display="">port 0xecd8-0xecdf mem 0xdff00000-0xdff7ffff,0xc0000000-0xcfffffff,0xdfec0000-0xdfefffff irq 16 at device 2.0 on pci0
agp0: <intel 82915g="" (915g="" gmch)="" svga="" controller="">on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
vgapci1: <vga-compatible display="">mem 0xdff80000-0xdfffffff at device 2.1 on pci0
pcib2: <acpi pci-pci="" bridge="">irq 16 at device 28.0 on pci0
pci2: <acpi pci="" bus="">on pcib2
uhci0: <intel 82801fb="" fr="" fw="" frw="" (ich6)="" usb="" controller="" usb-a="">port 0xff80-0xff9f irq 21 at device 29.0 on pci0
uhci0: [ITHREAD]
usbus0: <intel 82801fb="" fr="" fw="" frw="" (ich6)="" usb="" controller="" usb-a="">on uhci0
uhci1: <intel 82801fb="" fr="" fw="" frw="" (ich6)="" usb="" controller="" usb-b="">port 0xff60-0xff7f irq 22 at device 29.1 on pci0
uhci1: [ITHREAD]
usbus1: <intel 82801fb="" fr="" fw="" frw="" (ich6)="" usb="" controller="" usb-b="">on uhci1
uhci2: <intel 82801fb="" fr="" fw="" frw="" (ich6)="" usb="" controller="" usb-c="">port 0xff40-0xff5f irq 18 at device 29.2 on pci0
uhci2: [ITHREAD]
usbus2: <intel 82801fb="" fr="" fw="" frw="" (ich6)="" usb="" controller="" usb-c="">on uhci2
uhci3: <intel 82801fb="" fr="" fw="" frw="" (ich6)="" usb="" controller="" usb-d="">port 0xff20-0xff3f irq 23 at device 29.3 on pci0
uhci3: [ITHREAD]
usbus3: <intel 82801fb="" fr="" fw="" frw="" (ich6)="" usb="" controller="" usb-d="">on uhci3
ehci0: <intel 82801fb="" (ich6)="" usb="" 2.0="" controller="">mem 0xffa80800-0xffa80bff irq 21 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <intel 82801fb="" (ich6)="" usb="" 2.0="" controller="">on ehci0
pcib3: <acpi pci-pci="" bridge="">at device 30.0 on pci0
pci3: <acpi pci="" bus="">on pcib3
rl0: <realtek 10="" 8129="" 100basetx="">port 0xdc80-0xdcff mem 0xdfbfef80-0xdfbfefff irq 17 at device 1.0 on pci3
miibus0: <mii bus="">on rl0
rlphy0: <realtek internal="" media="" interface="">PHY 1 on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: [ITHREAD]
fxp0: <intel 82562ez="" (ich6)="">port 0xdc40-0xdc7f mem 0xdfbff000-0xdfbfffff irq 20 at device 8.0 on pci3
miibus1: <mii bus="">on fxp0
inphy0: <i82562et 10="" 100="" media="" interface="">PHY 1 on miibus1
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: [ITHREAD]
isab0: <pci-isa bridge="">at device 31.0 on pci0
isa0: <isa bus="">on isab0
atapci0: <intel ich6="" udma100="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf irq 16 at device 31.1 on pci0
ata0: <ata 0="" channel="">on atapci0
ata0: [ITHREAD]
ata1: <ata 1="" channel="">on atapci0
ata1: [ITHREAD]
atapci1: <intel ich6="" sata150="" controller="">port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 20 at device 31.2 on pci0
atapci1: [ITHREAD]
ata2: <ata 0="" channel="">on atapci1
ata2: [ITHREAD]
ata3: <ata 1="" channel="">on atapci1
ata3: [ITHREAD]
pci0: <serial bus,="" smbus="">at device 31.3 (no driver attached)
atrtc0: <at realtime="" clock="">port 0x70-0x7f irq 8 on acpi0
orm0: <isa option="" roms="">at iomem 0xc0000-0xca7ff,0xca800-0xcbfff on isa0
sc0: <system console="">at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <generic isa="" vga="">at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <keyboard controller="" (i8042)="">at port 0x60,0x64 on isa0
atkbd0: <at keyboard="">irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: cannot reserve I/O port range
p4tcc0: <cpu frequency="" thermal="" control="">on cpu0
Timecounter "TSC" frequency 2793017094 Hz quality 800
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
acd0: CDROM <lite-on cd-rom="" ltn-489s="" 8ds2="">at ata0-master UDMA33
ad4: 38146MB <hitachi hds728040pla320="" pf1oa63a="">at ata2-master UDMA100 SATA
ugen0.1: <intel>at usbus0
uhub0: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus0
ugen1.1: <intel>at usbus1
uhub1: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus1
ugen2.1: <intel>at usbus2
uhub2: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus2
ugen3.1: <intel>at usbus3
uhub3: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus3
ugen4.1: <intel>at usbus4
uhub4: <intel 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">on usbus4
Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
Trying to mount root from ufs:/dev/ad4s1a
ugen0.2: <vendor 0x0557="">at usbus0
uhub5: <vendor 2="" 9="" 0x0557="" product="" 0x7000,="" class="" 0,="" rev="" 1.10="" 1.00,="" addr="">on usbus0
uhub5: 4 ports with 4 removable, self powered
ugen0.3: <dell>at usbus0
ukbd0: <dell 0="" 3="" dell="" usb="" keyboard,="" class="" 0,="" rev="" 1.10="" 3.01,="" addr="">on usbus0
kbd2 at ukbd0
ugen0.4: <logitech>at usbus0
ums0: <logitech 0="" 2="" 4="" usb-ps="" trackball,="" class="" 0,="" rev="" 1.00="" 2.00,="" addr="">on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
pflog0: promiscuous mode enabled
ugen0.4: <logitech>at usbus0 (disconnected)
ums0: at uhub5, port 4, addr 4 (disconnected)
fxp0: link state changed to DOWN
fxp0: link state changed to UP
fxp0: link state changed to DOWN
fxp0: link state changed to UP</logitech></logitech></logitech></dell></dell></vendor></vendor></intel></intel></intel></intel></intel></intel></intel></intel></intel></intel></hitachi></lite-on></cpu></at></keyboard></generic></system></isa></at></serial></ata></ata></intel></ata></ata></intel></isa></pci-isa></i82562et></mii></intel></realtek></mii></realtek></acpi></acpi></intel></intel></intel></intel></intel></intel></intel></intel></intel></intel></acpi></acpi></vga-compatible></intel></vga-compatible></acpi></acpi></acpi></acpi></power></high></acpi></dell></software></version></dell ></syscall,nx,lm></sse3,dtes64,mon,ds_cpl,cnxt-id,cx16,xtpr></fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe> -
Unfortunately your SATA controller and on board Intel NIC are both still on IRQ 20. Hard to know how to get around that. You may have options to move one or other in the BIOS. You could possibly boot from CD, which is PATA connected, and disable SATA. That would prove the IRQ theory at least but seems like a lot of trouble to go to.
I'd have to first suspect that, realatively ancient, Realtek NIC.
Try my test if you can. You can setup pfSense as a client behind your soho router to avoid disruption. Just set only one NIC and use fxp0 for it. With only one NIC pfSense will allow you to connect via that interface (which will still be called WAN).
Steve