LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-09-2009, 11:12 AM   #1
paddy_dev
LQ Newbie
 
Registered: Aug 2009
Distribution: Fedora
Posts: 1

Rep: Reputation: 0
gigabit throughput too low


A few days ago I purchased a gigabit switch and wireless router so as to upgrade my network. Now I have everything I need for a gigabit network, but it seems that this is not the case, or either there is a fault somewhere.

Network setup:
inet -> modem -> router -> NAS / switch -> network clients (Host 1, Host 2)

Equipment:
router: Linksys WRT320N v1.0
switch: Linksys EG005W v3.0
NAS: Synology DS107+
Host 1: MSI K9N Neo mobo with on-board Ethernet (nVidia MCP55)
Host 2: MSI RD480 Neo2 mobo with on-board Ethernet
cable: UTP CAT5e (no more than 5m each, only modem-router one is ~25m)

The slow network speed became apparent when I performed a few ftp file transfers between network clients and the NAS, each time the maximum speed was around 280Mbps (Megabit).

In order to be able to test the network speed without too much variables I connected both the network clients (Host 1 and Host 2) too each other with a Cat5e crossover UTP cable.
Code:
# scp test.bin user@host1:/dev/null
test.bin                                                  100% 1024MB  28.4MB/s   00:36
This test was repeated when I reconnected both hosts to the switch and showed more or less the same result.

I ran some diagnostics on both hosts to be sure but it was confirmed that they indeed have full gigabit capability.

Host 1 - Fedora:
Code:
# ethtool etho0
Settings for eth0:
	Supported ports: [ MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised auto-negotiation: Yes
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 1
	Transceiver: external
	Auto-negotiation: on
	Supports Wake-on: g
	Wake-on: d
	Link detected: yes

#lshw
*-bridge
          description: Ethernet interface
          product: MCP55 Ethernet
          vendor: nVidia Corporation
          physical id: 100
          bus info: pci@0000:00:08.0
          logical name: eth0
          version: a2
          serial: 00:16:17:45:04:54
          size: 100000000
          capacity: 1000000000
          width: 32 bits
          clock: 66MHz
          capabilities: bridge pm msix msi ht bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
          configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.61 duplex=full ip=192.168.1.23 latency=0 link=yes maxlatency=20 mingnt=1 multicast=yes port=MII speed=100MB/s
          resources: irq:23 memory:f9ff3000-f9ff3fff ioport:c080(size=8) memory:f9ffa800-f9ffa8ff memory:f9ffa400-f9ffa40f
Host 2 - Knoppix:
Code:
#ethtool eth0
Settings for eth0:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised auto-negotiation: Yes
	Speed: 1000Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	Link detected: yes

#lspci
02:16.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
	Subsystem: Micro-Star International Co., Ltd. Device 194c
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 23
	I/O ports at e400 [size=256]
	Memory at ddfff400 (32-bit, non-prefetchable) [size=256]
	Expansion ROM at ddfc0000 [disabled] [size=128K]
	Capabilities: [dc] Power Management version 2
	Kernel driver in use: r8169
	Kernel modules: r8169
To my knowledge I meet all requirements for a gigabit network, yet the transfer speeds do not reflect this. To be able to compare results I removed the switch and replaced the router with a WRT54GL model, then connected all other network clients to the router. With this setup I performed:

Code:
# scp test.bin user@host1:/dev/null
test.bin                                                  100% 1024MB 11.1MB/s   01:32
This result was more satisfactory since the theoretical limit of my network was now 12.5MBps (100Mb).

All test thus far indicate that my gigabit network somehow cannot reach it's 1000Mbps limit, even barely 1/4 of it. Whatever could be the cause of this slow network speed? I am really at a loss at this.

Last edited by paddy_dev; 12-26-2010 at 05:34 PM. Reason: typo corrections
 
Old 09-11-2009, 05:40 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
How do you know the bottleneck is the LAN rather that within the computer, perhaps the maximum transfer speed the HDD can sustain?

Netsearching this issue a while ago showed that GB networking is faster than most HDD configurations so you may need to test using memory to memory transfers.
 
  


Reply



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
Erratic throughput on NetLink BCM5784M Gigabit Ethernet PCIe with tg3 driver brendan_p Linux - Networking 4 12-07-2009 07:59 AM
make a command in bash with low priority ( low server load) m_abdelfattah Linux - Newbie 1 07-25-2009 09:29 AM
Low actual disk throughput over network squisher Linux - Hardware 2 02-11-2007 01:40 PM
LXer: NCS Introduces Ultra-Compact, Low-Cost, Low-Power and Super-Quiet Set-top Server Appliance Platforms LXer Syndicated Linux News 0 01-29-2006 08:01 PM
Low eth0 throughput kel_en Debian 2 12-23-2005 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:43 AM.

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
Open Source Consulting | Domain Registration