LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-27-2004, 11:41 PM   #1
Dyyryath
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
Gigabit Adapters Only Transfering at 100mb/s


I've got several machines that have gigabit ethernet adapters in them. Unfortunately, none of them will transfer at more than (what appears to be) 100mb/s when running Linux. If I switch to Windows (some are dual-boot), the exact same hardware appears to work at full speed.

Here's my test setup:

System A: Workstation which dual boots between Windows XP & Gentoo (2.6.9-nitro2 kernel). Uses onboard Via Velocity Gigabit adapter.

System B: Server which runs Ubuntu/Debian Linux (2.6.8 kernel). Uses a PCI Neatgear card with a Realtek 8169 gigabit chipset on it.

System C: Server which runs Windows XP. Uses a PCI Netgear card with a Realtek 8169 gigabit chipset on it (identical to system 'B').

I've created a 100mb file to use when testing transfer speeds like so:

dd if=/dev/urandom of=/file-100mb bs=1M count=100

When transfering from System A (LINUX) to System B (LINUX), it takes 19 seconds.

When transfering from System A (Windows) to System B (LINUX), it takes 19 seconds.

When transfering from System A (LINUX) to System C (Windows), it takes 19 seconds.

When transfering from System A (Windows) to System C (Windows), it takes 3 seconds.

When transfering from System B (LINUX) to System C (Windows), it takes 19 seconds.

Obviously, anytime a Linux machine is involved, 19 seconds is the fastest transfer I'm going to get. For the Linux to Linux transfers, I've used FTP, SMB, and NFS. Each is pretty close speedwise, I just wanted to make sure I wasn't seeing a protocol problem with Linux rather than a hardware/driver problem.

I've run ethtool against each of the Linux servers, but it only works with the Via Velocity chipset. On that machine, though, it recognizes that the card is capable of 1000mb/s, but that it is only running at 100mb/s.

Here's another wierd thing: the switch shows a 1000mb/s connection for both Linux & Windows, even though Linux says it's only running at 100mb/s. (It has different color LEDs for 1000mb and 100mb connections)

I considered that I might have a driver problem, but I'm seeing the same thing with two completely different network cards.

I thought maybe it was something hinky with the distro setup, but two different distros are behaving exactly the same way.

I then thought maybe it was a problem with the cables, but they work just fine when I transfer from Windows to Windows.

I also tried replacing the switch with a different switch from another manufacturer just to be sure: same results.

I've attempted to force the speed with mii-tool and ethtool, but neither can set these cards.

What am I missing here? I know the hardware 'works', because a simple reboot to Windows gives me a huge boost in speed with the exact same hardware setup.

Has anybody else seen this problem? Am I missing something obvious?
 
Old 12-28-2004, 01:19 AM   #2
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
Maybe your disk drives can't keep up with the enourmous data transfer rates of your ethernet. But then that wouldn't account for doze appearing to go at "full speed".

*shrugs*

Last edited by student04; 12-28-2004 at 01:20 AM.
 
  


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
Own LFS LiveCD <100MB? rocknarl Linux From Scratch 1 10-13-2005 08:15 AM
HP J2585B at 100Mb? ldieter Linux - Networking 2 11-21-2004 11:32 AM
Performance of (3com) gigabit adapters worth it?? lsgko Linux - Networking 1 06-09-2004 08:51 AM
Multiple 100mb pipes on 100mb switches DLinkOZ Linux - Networking 2 10-22-2003 11:35 AM
10Mb/s and 100Mb/s on same network plisken General 2 05-07-2003 10:28 AM

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

All times are GMT -5. The time now is 02:58 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
Open Source Consulting | Domain Registration