LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2011, 08:30 PM   #1
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Rep: Reputation: 29
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.
 
Old 11-22-2011, 04:54 PM   #2
tollingalong
Member
 
Registered: Nov 2011
Posts: 42

Rep: Reputation: Disabled
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.
 
Old 11-22-2011, 07:09 PM   #3
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
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

Last edited by akuthia; 11-23-2011 at 12:11 AM. Reason: adding info
 
Old 11-26-2011, 06:08 PM   #4
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
bump for any ideas
 
Old 11-28-2011, 02:25 AM   #5
tollingalong
Member
 
Registered: Nov 2011
Posts: 42

Rep: Reputation: Disabled
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/ ?
 
Old 12-07-2011, 12:47 PM   #6
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
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.)

Last edited by akuthia; 12-07-2011 at 01:02 PM. Reason: add info
 
Old 12-08-2011, 08:25 PM   #7
tollingalong
Member
 
Registered: Nov 2011
Posts: 42

Rep: Reputation: Disabled
What happens when you test at http://speedtest.net ?
 
0 members found this post helpful.
Old 12-08-2011, 08:26 PM   #8
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
As i said, similar speeds as DSL reports
 
Old 12-08-2011, 08:36 PM   #9
tollingalong
Member
 
Registered: Nov 2011
Posts: 42

Rep: Reputation: Disabled
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.
 
Old 12-08-2011, 09:03 PM   #10
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
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?
 
Old 12-09-2011, 06:15 PM   #11
tollingalong
Member
 
Registered: Nov 2011
Posts: 42

Rep: Reputation: Disabled
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.
 
Old 12-09-2011, 06:34 PM   #12
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
Code:
david@david-linux:~$ sudo lsmod |grep r8169
r8169                  52788  0
Trying to find r8168 now through google
 
Old 12-09-2011, 06:50 PM   #13
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Original Poster
Rep: Reputation: 29
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Very slow USB transfer speeds - Ubuntu only Porktacular Linux - Hardware 13 01-05-2011 03:38 AM
Dell Inspiron 1525 Ubuntu 8.10 slow wireless speeds gstarraw Linux - Laptop and Netbook 0 01-19-2009 01:13 PM
Slow upload speeds to ubuntu Shwick Linux - Networking 2 11-04-2008 10:17 PM
Wireless slow on 802.11b, normal speeds on 802.11g and Windows (Ubuntu Edgy, Intel) Xucel Linux - Laptop and Netbook 3 01-27-2007 12:47 PM


All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration