LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 11.10 SLOW DSLreports speeds (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-11-10-slow-dslreports-speeds-914809/)

akuthia 11-21-2011 07:30 PM

Ubuntu 11.10 SLOW DSLreports speeds
 
I'm on a wired connection, and on a (supposed) 30x5 connection from Time Warner Cable, however in ubuntu the flash speed test on DSLReports.com gives me a download speed of ~1 meg, upload seems to be on at about 204 megs. My first thought was that it was an issue with the linux flash player, but since the upload speed seems accurate, that doesnt seem like the case.

Now, i'm used to the "plug and play" style of networking in Window$, but im wondering if theres something i missed? I did a goggle search for dslreports and linux, but all i found was a discussion about the speeds between one person and a server in IL, and a particular provider (not TWC at that), so i'm wondering if theres something i might have messed in setting up my networking.

tollingalong 11-22-2011 03:54 PM

There are several things to consider when measuring bandwidth. Some are:

1 - Your clock. If I understand, you're saying you get 30Mbps down and 5Mbps up. If you're getting 204MB/sec, that rivals optical fibre. I highly doubt that number is accurate at all.
2 - Your share of the load. Cable or FIOS will share with the rest of the people on your distribution center.
3 - Distance/load of the testing site. DSL reports might not be the best test. How far is it? How loaded is the site? http://speedtest.net/ tries to find the closes geographic area around you. Try that.
4 - Browser/drivers. What browser are you using? There is a chance your drivers could be not the best on that version of Ubuntu and give bad results but that'd be rare.

akuthia 11-22-2011 06:09 PM

1) you're right, it's supposed to be a 30 meg down, 5 meg up speed. sorry on the 204 i quoted, it's a typo (i'll correct in a moment) but i meant to say it was 2-4 not 204.

2) yep, i'm aware of that, and sorry i didnt say it, but i was also booting into windows to see what i was getting on it, and they were significantly improved, by about 10X (so if i saw 1 meg up inlinux, i'd see about 10 megs from windows)

3) distance: i was trying pretty much all of the servers, but i'm in nc, and I was trying DC, ny, nj, il... basically ally of them at different times.

4) in all cases I use Firefox.

edit to add: going to run some back to back windows then linux tests, and see where exactly i stand, windows version is first line, linux will be second:

to nj: http://www.dslreports.com/im/99688518/1566.png
http://www.dslreports.com/im/99688607/9898.png

to Il:
http://www.dslreports.com/im/99688533/2422.png
http://www.dslreports.com/im/99688625/4156.png

to DC:
http://www.dslreports.com/im/99688540/6160.png
http://www.dslreports.com/im/99688594/4988.png

akuthia 11-26-2011 05:08 PM

bump for any ideas

tollingalong 11-28-2011 01:25 AM

Verify your NIC is running at 100Mbps or higher. Also check to see if your wireless is turned off.
What NIC chipset are you using? Can you update to your latest drivers?

What happens when you test at http://speedtest.net/ ?

akuthia 12-07-2011 11:47 AM

Sorry tolling, apparently this thread had slipped past my radar as i was watching new posts.

According to connection info, i am connecting @ 100 MB/s, speedtest.net is showing similar results as above from dslreports.com.

It's a gigabyte 970a-d3 motherboard with built in RealTek LAN, although oddly i'm struggling to find the exact chipset

edit: found it, it's a RealTek RTL8111E

edit 2: downloaded linux driver, followed these instructions (with some modifications cuz im still a windows convert :P ) Modification was to simply to select "run script as program" through gui, instead of pathing to it in terminal.

Quote:

<Quick install with proper kernel settings>
Unpack the tarball :
# tar vjxf r8168-8.aaa.bb.tar.bz2

Change to the directory:
# cd r8168-8.aaa.bb

If you are running the target kernel, then you should be able to do :

# ./autorun.sh (as root or with sudo)

You can check whether the driver is loaded by using following commands.

# lsmod | grep r8168
# ifconfig -a

If there is a device name, ethX, shown on the monitor, the linux
driver is loaded. Then, you can use the following command to activate
the ethX.

# ifconfig ethX up

,where X=0,1,2,...
Result of
Code:

lsmod | grep r8168
is nothing, just takes me back to a terminal prompt, no blank line or error code.

Code:

ifconfig -a
provides

Code:

eth0      Link encap:Ethernet  HWaddr 50:e5:49:53:60:d9 
          inet addr:192.168.0.13  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::52e5:49ff:fe53:60d9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:65156 errors:0 dropped:65156 overruns:0 frame:65156
          TX packets:48954 errors:0 dropped:160 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:85403294 (85.4 MB)  TX bytes:9119202 (9.1 MB)
          Interrupt:41 Base address:0x6000

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:425 errors:0 dropped:0 overruns:0 frame:0
          TX packets:425 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:55077 (55.0 KB)  TX bytes:55077 (55.0 KB)

but that (to me) isn't much of a surprise, because it's not that the NIC wasn't working at all, but rather my connection is not as good as it could/should be. I did disconnect and reconnect after installing the driver. going to go ahead and d a re-boot (although it shouldnt be needed.)

tollingalong 12-08-2011 07:25 PM

What happens when you test at http://speedtest.net ?

akuthia 12-08-2011 07:26 PM

As i said, similar speeds as DSL reports

tollingalong 12-08-2011 07:36 PM

Looks like this was reported as a bug on the Ubuntu bug forums. Can you try upgrading to r8169?

Hard way:
http://wookie.co.nz/wordpress/rebuil...le-for-ubuntu/

Easy way:
Look to see if the package exists in Ubuntu's package manager.

akuthia 12-08-2011 08:03 PM

Well, as far as i know I have ubuntu up to date via update manager, should it not be installed by that method if its there?

tollingalong 12-09-2011 05:15 PM

Updating just means you have your distro's latest packages not necessary the latest packages from the developers.

Hm.. if you see nothing from "sudo lsmod | grep r8168" do you see anything from " sudo lsmod | grep r8169"?

If you're not seeing output from r8168/9 then means it's either not installed, not loaded or not you don't have permission to see it. r8169 has a bug with dropped network packets so you really have to try both to see which one works best for you.

When you did a "lsmod | grep r8168" did you do it with a sudo?
If you have slocate/mlocate installed try "locate r8168" and "locate r8169". If you don't just do a "sudo find / -name r8168 -print" and "sudo find / -name r8169 -print". If we can find what you have installed, at least we can load and unload modules without the need of a reboot to test things out. If needed we might need to blacklist something as well.






Please forgive me speeeling and garmmar mistakes. Over work and under booze makes me go something something.

akuthia 12-09-2011 05:34 PM

Code:

david@david-linux:~$ sudo lsmod |grep r8169
r8169                  52788  0

Trying to find r8168 now through google

akuthia 12-09-2011 05:50 PM

8168 was the one i had downloaded yesterday, running the script from GUI didnt seem to do it correctly, although it appeared to. I followed the instructions through the terminal, and it seems to have fixed the issue!


All times are GMT -5. The time now is 02:57 AM.