Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old August 21st, 2007   #1
legoman666
5 Cups of Ubuntu
 
Join Date: Aug 2007
Beans: 16
slow gigabit transfers via samba

First off let me state that my transfer speeds on the same computer with win xp are rediculously fast (260mb/s) between 2 gigabit enabled computers.

Now with Ubuntu feisty (which i install like 2 days ago, so I know nothing about linux), I'm getting about 90kb/s, which sometimes spikes to 200kb/s for a second or two. Do the math, my speeds over the network decreased by a factor of ~370. This is unacceptble.

I still get the same speeds over http (320kb/s or so) in ubuntu.

my network card is a "RTL8111/8168B PCI Express Gigabit"

with these slow speeds, im not able to stream movies from the other computers on the network (all gigabit, and yes the switch is gigabit obviously) in win xp, im able to stream a hd-dvd or blu ray or other 20000kbps h264 content perfectly fine over the network. Now it took an hour to copy a gigabyte from a windows share.

any clues? if possible, could you be very specific with suggestions? Complete linux newbie here. So far I am liking it, but this is pathetic.
legoman666 is offline   Reply With Quote
Old August 21st, 2007   #2
dmizer
The Earth is banana shaped.
 
dmizer's Avatar
 
Join Date: Mar 2006
Location: Kitakyushu Japan
Beans: 7,512
Xubuntu 8.04 Hardy Heron
Re: slow gigabit transfers via samba

what's the output of:
ifconfig

what is your setup? are you using a 64bit kernel? have you disabled ipv6? have you tried any other file transfer protocol other than samba (ftp, nfs, scp)?
dmizer is offline   Reply With Quote
Old August 21st, 2007   #3
legoman666
5 Cups of Ubuntu
 
Join Date: Aug 2007
Beans: 16
Re: slow gigabit transfers via samba

Code:
eth0      Link encap:Ethernet  HWaddr 00:50:8D:91:0B:FA  
          inet addr:192.168.1.11  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::250:8dff:fe91:bfa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:879101 errors:0 dropped:0 overruns:0 frame:0
          TX packets:604891 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1247121387 (1.1 GiB)  TX bytes:49079569 (46.8 MiB)
          Interrupt:19 Base address:0xa000 

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:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:668 (668.0 b)  TX bytes:668 (668.0 b)
im using the 32bit kernel. No, I have not disabled ipv6 and do not know how. And no, I have not tried any other transfer method yet, nor do I know how with linux. Still working on it.
legoman666 is offline   Reply With Quote
Old September 29th, 2007   #4
kelvinchow
First Cup of Ubuntu
 
Join Date: Sep 2007
Beans: 1
Red face Re: slow gigabit transfers via samba

Quote:
Originally Posted by legoman666 View Post
Code:
eth0      Link encap:Ethernet  HWaddr 00:50:8D:91:0B:FA  
          inet addr:192.168.1.11  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::250:8dff:fe91:bfa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:879101 errors:0 dropped:0 overruns:0 frame:0
          TX packets:604891 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1247121387 (1.1 GiB)  TX bytes:49079569 (46.8 MiB)
          Interrupt:19 Base address:0xa000 

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:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:668 (668.0 b)  TX bytes:668 (668.0 b)
im using the 32bit kernel. No, I have not disabled ipv6 and do not know how. And no, I have not tried any other transfer method yet, nor do I know how with linux. Still working on it.
Your MTU of eth0 is 1500 only , adjust MTU up to 9000 , that will be fine
kelvinchow is offline   Reply With Quote
Old September 29th, 2007   #5
netztier
Has an Ubuntu Drip
 
netztier's Avatar
 
Join Date: Jun 2005
Location: Switzerland
Beans: 771
Ubuntu 8.10 Intrepid Ibex
Re: slow gigabit transfers via samba

Quote:
Originally Posted by kelvinchow View Post
Your MTU of eth0 is 1500 only , adjust MTU up to 9000 , that will be fine
This is only advisable if all NICs participating in that nework support Jumbo Frames and also the (wired) switch does. All systems on that subnet should be running the PathMTU Discovery feature, and the router giving access to the Internet from such an MTU 9000 enabled network must be able to respond with an ICMP message type 3 code 4 ("Fragmentation needed, but DF bit set") .

Combining MTU 9000 with a LAN that has a MTU 1500 wireless segment bridged to it (as it commonly happens with broadband wireless routers) will lead to connectivity problems.

Be wary with fiddling with the MTU...

best regards

Marc
__________________
The story so far: In the beginning the Universe was created.This has made a lot of people very angry and has been widely regarded as a bad move. Douglas Adams, The Restaurant at the End of the Universe

Last edited by netztier; October 30th, 2007 at 06:48 AM..
netztier is offline   Reply With Quote
Old September 1st, 2007   #6
=JoNaZ=
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 4
Re: slow gigabit transfers via samba

i have the exact same problem... bought a new motherboard.. gigabyte p32-ds3 i think its the same lan controller... solution anyone?
=JoNaZ= is offline   Reply With Quote
Old September 1st, 2007   #7
chrisp21
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 1
Re: slow gigabit transfers via samba

I haven't gotten into the world of gigabit yet, but when building a linux machine I always buy a pci ethernet adapter that I know works well with Linux and turn off the integrated motherboard adapter. Some drivers just don't get the most of the hardware because the developer doesn't know much about the actual hardware - because there are no specs. A majority of the integrated adapters tend to be more obscure hardware and don't work as well. It sounds to me like this is the situation you're running into.

You may be able to find a better driver, but my guess is that you'll need to get a gigabit card that is designed for linux (there are quite a few). If you're liking Linux (other than this issue) than it's probably worth it.
chrisp21 is offline   Reply With Quote
Old September 22nd, 2007   #8
un_dave
Just Give Me the Beans!
 
un_dave's Avatar
 
Join Date: Sep 2007
Location: Perth, WA
Beans: 70
Ubuntu 8.10 Intrepid Ibex
Re: slow gigabit transfers via samba

I have a similar motherboard, p35-ds3p, and i'm experiencing exactly the same problem.

I setup samba shares, so other networked windows/linux/xbox boxes could access the media on this machine, but interestingly i get performance issues with all but one.

Connecting to my debian xbox, and transferring via ssh2, i get speeds of:
1.3MB/s which is reasonable, yet if i connect via samba, i get only a few kb/s.

None of my other systems have any issues with there samba shares.

Although the chipset supports gigabit ethernet, my switches only support 100mbit.

ifconfig gives:

eth0 Link encap:Ethernet HWaddr 00:1A:4D:4B:E1:6F
inet addr:10.1.1.103 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::21a:4dff:fe4b:e16f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3685 errors:0 dropped:0 overruns:0 frame:0
TX packets:3461 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3114339 (2.9 MiB) TX bytes:892359 (871.4 KiB)
Interrupt:17 Base address:0xe000


Anyone have any ideas?
un_dave is offline   Reply With Quote
Old September 22nd, 2007   #9
reckless2k2
Dark Roasted Ubuntu
 
reckless2k2's Avatar
 
Join Date: Jun 2005
Location: Yardley, PA. USA
Beans: 1,055
Ubuntu 7.10 Gutsy Gibbon
Send a message via AIM to reckless2k2 Send a message via MSN to reckless2k2 Send a message via Yahoo to reckless2k2
Re: slow gigabit transfers via samba

what are the results when you run the following command

Code:
sudo ethtool eth0 | grep -i speed
it should say

Code:
Speed: 1000Mb/s

????
__________________
I AM AN EVIL CONSERVATIVE
And I've got a lot of computers running Linux

http://www.tomcarter.us/
reckless2k2 is offline   Reply With Quote
Old September 22nd, 2007   #10
un_dave
Just Give Me the Beans!
 
un_dave's Avatar
 
Join Date: Sep 2007
Location: Perth, WA
Beans: 70
Ubuntu 8.10 Intrepid Ibex
Re: slow gigabit transfers via samba

Code:
dave@hades:~$ sudo ethtool eth0 | grep -i speed
Speed: 100Mb/s
That makes sense though, because i'm connected to a 100Mb/s switch, so it won't be running at 1000Mb/s.

Another interesting point, I just tried pulling data from a windows xp machine's share, and got a good transfer speed, and writing into a share on the same computer also gives a good speed.

Does that help things? Or just confuse them?
un_dave is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:48 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry