Panabit Support Board!

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6836|回复: 2

有关panabit延迟问题。

[复制链接]
发表于 2011-9-29 08:55:08 | 显示全部楼层 |阅读模式
我使用的网络环境如下:
用pfsense做软路由,然后连接三层交换机,接panabit后的拓扑图如下:
pfsense-panabit-三层交换机-二层交换机-PC
在软路由上接了一根光纤,3根ADSL,接上panabit后,测试如下:
内网走移动线路的电脑,延迟正常(10-13),网速正常。
内网走ADSL线路的电脑,延迟明显偏高(200-300),网速变慢。
我配置的网卡是Intel(R) PRO/1000
<Intel(R) PRO/1000 Network Connection 6.9.14>
系统的相关信息如下:
Copyright (c) 1992-2009 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.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009
    root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU        E3200  @ 2.40GHz (2410.64-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x1067a  Stepping = 10
  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=0x400e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,XSAVE>
  AMD Features=0x20000000<LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 2147483648 (2048 MB)
avail memory = 2081558528 (1985 MB)
ACPI APIC Table: <041709 APIC1948>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <041709 RSDT1948> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 7f600000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xcc00-0xcc07 mem 0xfe980000-0xfe9fffff,0xe0000000-0xefffffff,0xfe800000-0xfe8fffff irq 16 at device 2.0 on pci0
agp0: <Intel G33 SVGA controller> on vgapci0
agp0: detected 7164k stolen memory
agp0: aperture size is 256M
pci0: <multimedia, HDA> at device 27.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
pci1: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8168DP/8111B/8111C/8111CP/8111DP PCIe Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfdeff000-0xfdefffff,0xfdef8000-0xfdefbfff irq 17 at device 0.0 on pci1
re0: Using 1 MSI messages
re0: Chip rev. 0x28000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:25:22:02:6f:50
re0: [FILTER]
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xc400-0xc41f irq 23 at device 29.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x0f30
usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0
uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xc480-0xc49f irq 19 at device 29.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x0f30
usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1
uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xc800-0xc81f irq 18 at device 29.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x0f30
usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2
uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xc880-0xc89f irq 16 at device 29.3 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x0f30
usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xfe977c00-0xfe977fff irq 23 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
em0: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xec00-0xec3f mem 0xfebe0000-0xfebfffff,0xfebc0000-0xfebdffff irq 21 at device 0.0 on pci3
em0: [FILTER]
em0: Ethernet address: 00:1b:21:a0:bc:d5
em1: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xe880-0xe8bf mem 0xfeb80000-0xfeb9ffff,0xfeb60000-0xfeb7ffff irq 23 at device 2.0 on pci3
em1: [FILTER]
em1: Ethernet address: 00:1b:21:a0:c5:c2
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
atapci1: <Intel ICH7 SATA300 controller> port 0xc080-0xc087,0xc000-0xc003,0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb80f irq 19 at device 31.2 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart1: [FILTER]
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160c2506000c25
device_attach: est0 attach returned 6
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 6160c2506000c25
device_attach: est1 attach returned 6
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xcb800-0xcc7ff,0xcc800-0xcd7ff,0xcd800-0xcefff pnpid ORM0000 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]
Timecounters tick every 1.000 msec
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
ad4: 476940MB <WDC WD5000AAKS-00V1A0 05.01D05> at ata2-master SATA150
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
SMP: AP CPU #1 Launched!
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
module_register: module pci/em already exists!
Module pci/em failed to register: 17
JOS initialized!
em0: promiscuous mode enabled
em0: link state changed to DOWN
em1: promiscuous mode enabled
em1: link state changed to DOWN
re0: link state changed to UP
em0: link state changed to UP
em1: link state changed to UP

我想问下,是什么原因导致ADSL延迟那么大,而移动的光纤确正常,谢谢。
 楼主| 发表于 2011-9-29 09:00:01 | 显示全部楼层
这是光纤下的ping值:
C:\>ping mail.126.com -n 10

Pinging 06811.xdwscache.glb0.lxdns.com [221.179.35.85] with 32 bytes of data:

Reply from 221.179.35.85: bytes=32 time=7ms TTL=57
Reply from 221.179.35.85: bytes=32 time=5ms TTL=57
Reply from 221.179.35.85: bytes=32 time=7ms TTL=57
Reply from 221.179.35.85: bytes=32 time=5ms TTL=57
Reply from 221.179.35.85: bytes=32 time=7ms TTL=57
Reply from 221.179.35.85: bytes=32 time=5ms TTL=57
Reply from 221.179.35.85: bytes=32 time=18ms TTL=57
Reply from 221.179.35.85: bytes=32 time=6ms TTL=57
Reply from 221.179.35.85: bytes=32 time=5ms TTL=57
Reply from 221.179.35.85: bytes=32 time=15ms TTL=57

Ping statistics for 221.179.35.85:
    Packets: Sent = 10, Received = 10, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 5ms, Maximum = 18ms, Average = 8ms


再贴个ADSL下面的ping值
C:\>ping mail.126.com -n 30

Pinging 06811.xdwscache.glb0.lxdns.com [121.14.228.43] with 32 bytes of data:

Reply from 121.14.228.43: bytes=32 time=200ms TTL=55
Reply from 121.14.228.43: bytes=32 time=225ms TTL=55
Reply from 121.14.228.43: bytes=32 time=200ms TTL=55
Reply from 121.14.228.43: bytes=32 time=170ms TTL=55
Reply from 121.14.228.43: bytes=32 time=158ms TTL=55
Reply from 121.14.228.43: bytes=32 time=172ms TTL=55
Reply from 121.14.228.43: bytes=32 time=200ms TTL=55
Reply from 121.14.228.43: bytes=32 time=167ms TTL=55
Reply from 121.14.228.43: bytes=32 time=165ms TTL=55
Reply from 121.14.228.43: bytes=32 time=52ms TTL=55
Reply from 121.14.228.43: bytes=32 time=19ms TTL=55
Reply from 121.14.228.43: bytes=32 time=21ms TTL=55
Reply from 121.14.228.43: bytes=32 time=234ms TTL=55

望高手解答下
发表于 2011-10-1 15:02:55 | 显示全部楼层
不知道这个是你在单机的情况下测试得到的数据还是在网络正常运行下得到的数据。如果是在网络正常运行下得到的数据,尤其是内网的电脑比较多的时候,基本上就是正常的。我们知道ADSL的上行只有512kbps,而且还只是理论上的,实际也就在490kbps左右,如果内部的电脑比较多,会造成上行堵塞,延迟就会急剧增加。而光纤上下行是一样的,相对来说,上行的余量就会充足一些,那么延迟就会低。而且即便是在单机的测试的时候,ADSL的延迟也会比光纤高,当然只有10ms左右,没有这么夸张。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|北京派网软件有限公司 ( ICP备案序号:京ICP备14008283号 )

GMT+8, 2024-11-24 15:39 , Processed in 0.069777 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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