LinuxQuestions.org
Review your favorite Linux distribution.
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 06-25-2014, 10:17 AM   #1
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
10G nics not operating at 10G, why?


I have two computers, identical, with 10GB nics in them. I have them -directly- connected and addressed. Driver is installed. Ethtool says it is in 10000Mb/s mode full duplex.

But doing any transfers, I only get 129MB per second.

How would you do further troubleshooting on this?

Ethtool:
Code:
Settings for eth2:
        Supported ports: [ TP ]
        Supported link modes:   100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  100baseT/Full
                                1000baseT/Full
                                10000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 10000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000007 (7)
        Link detected: yes
rsync:
Code:
sending incremental file list
testing.file
      5536.35M  75%   128.77MB/s    0:02:36
dd write test:
Code:
dd if=/dev/zero of=/home/caldera/testing.file bs=50k count=50000
50000+0 records in
50000+0 records out
2560000000 bytes (2.6 GB) copied, 20.5084 s, 125 MB/s
hdparm:
Code:
 hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   13676 MB in  2.00 seconds = 6842.34 MB/sec
 Timing buffered disk reads: 520 MB in  3.00 seconds = 173.33 MB/sec
 
Old 06-25-2014, 10:31 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
If they're directly connected, are you using a crossover cable? What's the distance between them? Is the cable rated for 10G? I'd like to be in optic fibre at that speed.
 
1 members found this post helpful.
Old 06-25-2014, 10:32 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Seems to be pretty obvious that you are limited by your disk.
 
1 members found this post helpful.
Old 06-25-2014, 10:35 AM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Original Poster
Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Crossover and regular.

5 Feet.

Cat 6e and Cat 5 tested.

The cards are Ethernet, fibre isnt an option unfortunately.

Quote:
ixgbe 0000:01:00.0: eth2: NIC Link is Up 10 Gbps, Flow Control: RX/TX
kernel/drivers/net/ixgbe/ixgbe.ko
Thats the driver being used.
 
Old 06-25-2014, 03:20 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
It shouldn't make any difference patch or crossover. All modern nic's correct for cable. If ethtool reports it is in 10G then it is. It is possible that a bad cable or nic or connector could cause a bad quality of service issue.
Cat 5 won't do usually.

It would have to be a friggin monster of a system with a raid ssd to offer 10G speeds I'd think. You'd have to have an equal system on other end also.


One thing that may help is top. If you find cpu usage is way high then see if checksum offload is enabled on both nic's.

We also may have a bit and byte issue here.


I'd create a contiguous binary file and transfer that for a test.

You could possibly make a loop back cable and test it on a single system but again you'd have to have a double huge system.


See what top says on this transfer on both sides.

Last edited by jefro; 06-25-2014 at 03:21 PM.
 
1 members found this post helpful.
Old 06-25-2014, 03:35 PM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Original Poster
Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Thanks guys. The bottleneck is the drive.

I can't get the drive to write faster than 140MB/s, and others have suggested that 10G is best used between a computer and a SAN or other array capable of writing as fast as the card.
 
Old 06-25-2014, 09:42 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
I don't get much more than about half or less of a 1G nic in general systems.

In some weak systems using fast nic's also eat up cpu time. There is always a lot of chatter on nics and the cpu may need to work more on the now fast nic.
 
  


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
installing oracle 10g in Suse Linux Enterprise Edition 10.1 operating system naveenmatt Linux - Newbie 1 08-06-2008 10:14 AM
Oracle 10g sgadkari Linux - Newbie 2 01-03-2008 03:44 PM
oracle8 and 10g ade336 General 2 08-01-2006 04:11 AM
Help with Oracle 10g brazilian_user Linux - Networking 2 02-09-2006 02:47 PM
Oracle 10G vs 9i sashie Linux - Software 0 06-07-2004 02:37 PM

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

All times are GMT -5. The time now is 05:57 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