Ubuntu 14.04 中的網路時快時慢

Ubuntu 14.04 中的網路時快時慢

我之前曾多次問過這個問題,但不幸的是我找不到答案。

我曾多次嘗試使用 Ubuntu 14.04 修復我的互聯網,但我認為我需要針對我的系統進行修復。

有一段時間它會走得很快,然後它會變得非常慢,並且有一段時間不會再回來。

我有一台惠普筆記型電腦:

這是我執行 lshw 時顯示的內容:程式碼:

description: Computer
width: 64 bits
capabilities: vsyscall32
  *-core
   description: Motherboard
   physical id: 0
 *-memory
      description: System memory
      physical id: 0
      size: 3842MiB
 *-cpu
      product: Intel(R) Pentium(R) CPU  N3520  @ 2.16GHz
      vendor: Intel Corp.
      physical id: 1
      bus info: cpu@0
      size: 2159MHz
      capacity: 2159MHz
      width: 64 bits
      capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms cpufreq
 *-pci
      description: Host bridge
      product: ValleyView SSA-CUnit
      vendor: Intel Corporation
      physical id: 100
      bus info: pci@0000:00:00.0
      version: 0c
      width: 32 bits
      clock: 33MHz
    *-display
         description: VGA compatible controller
         product: ValleyView Gen7
         vendor: Intel Corporation
         physical id: 2
         bus info: pci@0000:00:02.0
         version: 0c
         width: 32 bits
         clock: 33MHz
         capabilities: vga_controller bus_master cap_list rom
         configuration: driver=i915 latency=0
         resources: irq:106 memory:90000000-903fffff memory:80000000-8fffffff ioport:3050(size=8)
    *-storage
         description: SATA controller
         product: ValleyView 6-Port SATA AHCI Controller
         vendor: Intel Corporation
         physical id: 13
         bus info: pci@0000:00:13.0
         version: 0c
         width: 32 bits
         clock: 66MHz
         capabilities: storage ahci_1.0 bus_master cap_list
         configuration: driver=ahci latency=0
         resources: irq:104 ioport:3048(size=8) ioport:305c(size=4) ioport:3040(size=8) ioport:3058(size=4) ioport:3020(size=32) memory:90914000-909147ff
    *-usb
         description: USB controller
         product: ValleyView USB xHCI Host Controller
         vendor: Intel Corporation
         physical id: 14
         bus info: pci@0000:00:14.0
         version: 0c
         width: 64 bits
         clock: 33MHz
         capabilities: xhci bus_master cap_list
         configuration: driver=xhci_hcd latency=0
         resources: irq:103 memory:90900000-9090ffff
    *-generic UNCLAIMED
         description: Encryption controller
         product: ValleyView SEC
         vendor: Intel Corporation
         physical id: 1a
         bus info: pci@0000:00:1a.0
         version: 0c
         width: 32 bits
         clock: 33MHz
         capabilities: bus_master cap_list
         configuration: latency=0
         resources: memory:90800000-908fffff memory:90700000-907fffff
    *-multimedia
         description: Audio device
         product: ValleyView High Definition Audio Controller
         vendor: Intel Corporation
         physical id: 1b
         bus info: pci@0000:00:1b.0
         version: 0c
         width: 64 bits
         clock: 33MHz
         capabilities: bus_master cap_list
         configuration: driver=snd_hda_intel latency=0
         resources: irq:107 memory:90910000-90913fff
    *-pci:0
         description: PCI bridge
         product: ValleyView PCI Express Root Port
         vendor: Intel Corporation
         physical id: 1c
         bus info: pci@0000:00:1c.0
         version: 0c
         width: 32 bits
         clock: 33MHz
         capabilities: pci normal_decode cap_list
         configuration: driver=pcieport
         resources: irq:16 ioport:4000(size=4096)
    *-pci:1
         description: PCI bridge
         product: ValleyView PCI Express Root Port
         vendor: Intel Corporation
         physical id: 1c.2
         bus info: pci@0000:00:1c.2
         version: 0c
         width: 32 bits
         clock: 33MHz
         capabilities: pci normal_decode bus_master cap_list
         configuration: driver=pcieport
         resources: irq:18 ioport:2000(size=4096) memory:90600000-906fffff ioport:90400000(size=1048576)
       *-network
            description: Ethernet interface
            product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
            vendor: Realtek Semiconductor Co., Ltd.
            physical id: 0
            bus info: pci@0000:02:00.0
            logical name: eth0
            version: 07
            serial: c4:34:6b:44:91:14
            size: 10Mbit/s
            capacity: 100Mbit/s
            width: 64 bits
            clock: 33MHz
            capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
            configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
            resources: irq:105 ioport:2000(size=256) memory:90600000-90600fff memory:90400000-90403fff
    *-pci:2
         description: PCI bridge
         product: ValleyView PCI Express Root Port
         vendor: Intel Corporation
         physical id: 1c.3
         bus info: pci@0000:00:1c.3
         version: 0c
         width: 32 bits
         clock: 33MHz
         capabilities: pci normal_decode bus_master cap_list
         configuration: driver=pcieport
         resources: irq:19 ioport:1000(size=4096) memory:90500000-905fffff
       *-network
            description: Wireless interface
            product: RTL8188EE Wireless Network Adapter
            vendor: Realtek Semiconductor Co., Ltd.
            physical id: 0
            bus info: pci@0000:03:00.0
            logical name: wlan0
            version: 01
            serial: 9c:d2:1e:6d:67:2c
            width: 64 bits
            clock: 33MHz
            capabilities: bus_master cap_list ethernet physical wireless
            configuration: broadcast=yes driver=rtl8188ee driverversion=3.13.0-43-generic firmware=N/A ip=10.0.0.8 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
            resources: irq:19 ioport:1000(size=256) memory:90500000-90503fff
    *-isa
         description: ISA bridge
         product: ValleyView Power Control Unit
         vendor: Intel Corporation
         physical id: 1f
         bus info: pci@0000:00:1f.0
         version: 0c
         width: 32 bits
         clock: 33MHz
         capabilities: isa bus_master cap_list
         configuration: latency=0
    *-serial UNCLAIMED
         description: SMBus
         product: ValleyView SMBus Controller
         vendor: Intel Corporation
         physical id: 1f.3
         bus info: pci@0000:00:1f.3
         version: 0c
         width: 32 bits
         clock: 33MHz
         capabilities: cap_list
         configuration: latency=0
         resources: memory:90915000-9091501f ioport:3000(size=32)

這是 iwconfig:

代碼:

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"HOME-2322"  
      Mode:Managed  Frequency:2.412 GHz  Access Point: 58:23:8C:68:23:22   
      Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
      Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
      Power Management:off
      Link Quality=70/70  Signal level=-16 dBm  
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:55   Missed beacon:0

請幫忙!

答案1

嘗試不間斷(每秒或更快)對路由器執行 ping 操作,看看是否有任何延遲(延遲)。

您的路由器應該始終快速回覆您,可能在 2 或 3 毫秒內。如果它與所有網路流量同時變慢,我認為這表明存在無線問題(接收)或路由器問題(可能會因 p2p 流量過多而陷入困境)。

如果您的路由器 ping 從未減慢(始終為 2-3 毫秒),那麼延遲就超出了您的路由器。

其他想法:

  • 嘗試使用不同的 wifi 適配器
  • 嘗試不同的路由器?
  • 購買並安裝網路/光纖電纜?
  • 購買更快的網路存取?

也可能是個錯誤,就像這個http://www.ubuntu.com/usn/usn-2447-2/“USN-2447-1 修復了 Linux 核心中的漏洞。由於不相關的回歸,升級後多個驅動程式的 TCP 吞吐量降至零。”

相關內容