[已解决]Ubuntu 10.04 网速比Windows7慢很多

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
wallbay
帖子: 4
注册时间: 2010-07-04 15:11

[已解决]Ubuntu 10.04 网速比Windows7慢很多

#1

帖子 wallbay » 2010-07-04 15:30

大家好,这几天刚在Dell R15笔记本上装了Windows 7 + Ubuntu 10.04的双系统,一切正常。但是用有线网时,我发现用在Ubuntu上下载东西,速度只有100+K/s,但是在Windows 7下却快得多,有2M/s。不知道为什么。无线网络测试,发现速度都是500K/s。不知道为什么。

我的无线网卡是 BroadCom的,有线网卡是Realtek的。请大侠指教。

Windows下认的是BroadCom DW 1501 Wireless N WLAN Half-Mini Card,有线是Realteck PCIe FE family Controller。Ubuntu下 using "sudo lshw -C network", the result is as follows:
*-network
description: Wireless interface
product: Broadcom Corporation
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:12:00.0
logical name: eth1
version: 01
serial: 70:f1:a1:9d:3e:dc
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=5.60.48.36 ip=10.17.2.122 latency=0 multicast=yes wireless=IEEE 802.11
resources: irq:17 memory:fbd00000-fbd03fff
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:13:00.0
logical name: eth0
version: 02
serial: a4:ba:db:cd:0d:96
size: 100MB/s
capacity: 100MB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=203.143.173.218 latency=0 link=yes multicast=yes port=MII speed=100MB/s
resources: irq:34 ioport:d000(size=256) memory:d0c10000-d0c10fff(prefetchable) memory:d0c00000-d0c0ffff(prefetchable) memory:fb300000-fb31ffff(prefetchable)
上次由 wallbay 在 2010-07-07 20:00,总共编辑 1 次。
头像
yangsos123
帖子: 331
注册时间: 2010-01-11 20:15
联系:

Re: Ubuntu 10.04 网速比Windows7慢很多

#2

帖子 yangsos123 » 2010-07-04 16:14

在Win7下你用的是。。。。

代码: 全选

Art is always explosion~~
[/b][/u]
http://allenalan.wordpress.com/
====Allen Alan=====
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: Ubuntu 10.04 网速比Windows7慢很多

#3

帖子 eexpress » 2010-07-04 16:16

ifconfig看就够了。
怎么会慢哦。
axel -n 1000 xxxxx 下载试试
● 鸣学
wallbay
帖子: 4
注册时间: 2010-07-04 15:11

Re: Ubuntu 10.04 网速比Windows7慢很多

#4

帖子 wallbay » 2010-07-04 17:16

是这样的 ,我在Window7和 Ubuntu下y用火狐保存MikTeX 2.8 Setup,网址是http://ctan.unsw.edu.au/systems/win32/miktex/setup/setup-2.8.3553.exe,在Windows下到是2M/s到速度,但在Ubuntu下就是100K/s。在Ubuntu下上网也感觉比Windows下慢很多。

我到ifconfig下是
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.xx Mask:255.255.255.192
inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:92287 errors:0 dropped:0 overruns:0 frame:0
TX packets:83660 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:122623593 (122.6 MB) TX bytes:6583584 (6.5 MB)
Interrupt:34 Base address:0x8000

eth1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.xx Mask:255.255.254.0
inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:405 errors:0 dropped:0 overruns:0 frame:6767
TX packets:12 errors:6 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:53138 (53.1 KB) TX bytes:3181 (3.1 KB)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)

另外,axel -n 1000 http://ctan.unsw.edu.au/systems/win32/m ... 8.3553.exe 的内容是
Connection 285 finished
,,,,,,,,,, .......... ..
Connection 286 finished
,,,,,,,,,, ,,,,,,,,,, ,,.
Connection 181 finished
Connection 190 finished
,,,,,,,,,, ,,,,,,,,,, ,,,
Connection 197 finished
,,,,,,,,,, ,,,,,,,,,, ,,,..
Connection 175 finished
,,,,,,,,,, ,,,,,,,,,, ,,,,,...
Connection 282 finished
,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,.. .
Connection 192 finished
,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,..
Connection 168 finished
,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,,

Downloaded 833.7 kilobytes in 18:06 seconds. (0.77 KB/s) 非常奇怪,为什么速度这么慢呢。
wallbay
帖子: 4
注册时间: 2010-07-04 15:11

Re: Ubuntu 10.04 网速比Windows7慢很多

#5

帖子 wallbay » 2010-07-04 17:45

这是在Windows下和Ubuntu下netstat -rn的结果:

Windows 7:
===========================================================================
Interface List
16...c4 46 19 ed 55 45 ......Bluetooth Device (Personal Area Network)
14...02 50 f2 00 00 01 ......Broadcom Virtual Wireless Adapter
13...70 f1 a1 9d 3e dc ......DW1501 Wireless-N WLAN Half-Mini Card
11...a4 ba db cd 0d 96 ......Realtek PCIe FE Family Controller
1...........................Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
18...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
21...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 203.143.173.193 203.143.173.213 20
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
203.143.173.192 255.255.255.192 On-link 203.143.173.213 276
203.143.173.213 255.255.255.255 On-link 203.143.173.213 276
203.143.173.255 255.255.255.255 On-link 203.143.173.213 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 203.143.173.213 276
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 203.143.173.213 276
===========================================================================
Persistent Routes:
None

IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
12 1125 ::/0 2002:c058:6301::c058:6301
1 306 ::1/128 On-link
18 58 2001::/32 On-link
18 306 2001:0:4137:9e76:2cd4:114b:3470:522a/128
On-link
12 1025 2002::/16 On-link
12 281 2002:cb8f:add5::cb8f:add5/128
On-link
11 276 fe80::/64 On-link
18 306 fe80::/64 On-link
11 276 fe80::211e:d3cd:a6b:9179/128
On-link
18 306 fe80::2cd4:114b:3470:522a/128
On-link
1 306 ff00::/8 On-link
18 306 ff00::/8 On-link
11 276 ff00::/8 On-link
===========================================================================
Persistent Routes:
None

Ubuntu 10.04:

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
203.143.173.192 0.0.0.0 255.255.255.192 U 0 0 0 eth0
10.17.2.0 0.0.0.0 255.255.254.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 203.143.173.193 0.0.0.0 UG 0 0 0 eth0
头像
qiang_liu8183
论坛版主
帖子: 10699
注册时间: 2006-09-10 22:36
系统: Arch Debian
来自: 北京

Re: Ubuntu 10.04 网速比Windows7慢很多

#6

帖子 qiang_liu8183 » 2010-07-04 18:34

正相反
看破、放下、自在、随缘、念佛
真诚、清净、平等、正觉、慈悲
wallbay
帖子: 4
注册时间: 2010-07-04 15:11

Re: Ubuntu 10.04 网速比Windows7慢很多

#7

帖子 wallbay » 2010-07-07 19:59

折腾了几天,终于把问题解决了。我的网卡型号是Realtek RTL8103T-GR,属于10/100M PCIe接口的显卡。这个在Ubuntu下认的是8101E/8102E,装了r8169的驱动,显卡虽然可以工作,但是速度很慢。

解决的办法是到Realtek的官方网站上去下载这个型号的驱动http://www.realtek.com/downloads/downlo ... wn=false#2,然后安装。安装方法简单,就是sudo ./autorun.sh。安装程序会自动卸载以前的驱动,安装新的驱动。安装完成后,用lshw -C network查看,会发现新装了r8101的驱动。测试一下网速,马上快很多。

奇怪的事情,重启之后,用lshw -C network看,驱动依然是r8169,好像驱动没有更新一样,但是网速却还是特别快。不管了,反正work就行:)
up4ever
帖子: 17
注册时间: 2009-10-05 17:47

Re: [已解决]Ubuntu 10.04 网速比Windows7慢很多

#8

帖子 up4ever » 2011-02-23 21:02

wallbay 写了:大家好,这几天刚在Dell R15笔记本上装了Windows 7 + Ubuntu 10.04的双系统,一切正常。但是用有线网时,我发现用在Ubuntu上下载东西,速度只有100+K/s,但是在Windows 7下却快得多,有2M/s。不知道为什么。无线网络测试,发现速度都是500K/s。不知道为什么。

我的无线网卡是 BroadCom的,有线网卡是Realtek的。请大侠指教。

Windows下认的是BroadCom DW 1501 Wireless N WLAN Half-Mini Card,有线是Realteck PCIe FE family Controller。Ubuntu下 using "sudo lshw -C network", the result is as follows:
*-network
description: Wireless interface
product: Broadcom Corporation
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:12:00.0
logical name: eth1
version: 01
serial: 70:f1:a1:9d:3e:dc
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=5.60.48.36 ip=10.17.2.122 latency=0 multicast=yes wireless=IEEE 802.11
resources: irq:17 memory:fbd00000-fbd03fff
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:13:00.0
logical name: eth0
version: 02
serial: a4:ba:db:cd:0d:96
size: 100MB/s
capacity: 100MB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=203.143.173.218 latency=0 link=yes multicast=yes port=MII speed=100MB/s
resources: irq:34 ioport:d000(size=256) memory:d0c10000-d0c10fff(prefetchable) memory:d0c00000-d0c0ffff(prefetchable) memory:fb300000-fb31ffff(prefetchable)
求助啊 我是dell 14R 无线网卡 和你一样 不知道怎么连网 我用的无线路由 TP-LINK 94ECDE
:em06
up4ever
帖子: 17
注册时间: 2009-10-05 17:47

Re: [已解决]Ubuntu 10.04 网速比Windows7慢很多

#9

帖子 up4ever » 2011-02-24 11:47

wallbay, 请问无线网卡是怎么链接的 :em06
回复