Solved

Gigabit ethernet slow performance

Posted on 2008-09-29
22
1,230 Views
Last Modified: 2013-11-15
Hello,

I'm trying to setup a NAS box and i'm experiecing slow performance. Here is my setup

Dell 2950 running debian etch attached to a 24port Gigabit HP Procurve Switch
PC Quad Core phenom with Ubuntu 8.04 attach to the same switch with on board pcie lan adapter (Realtek 8111/8168B)
I was using cat5e patch cords but change them to cat6 just in case.

Using iperf i get a throughput of 936-940Mbits/sec. This being very close or confirming the theoretical 1000Mbits/sec.

I've also tried Ixia testesting software giving me simular results.

When i do a file transfer, 700MB iso file, i get about 28-30 MB/sec. I say that this is a least half of what i was expecting. What is max MB/sec that someone could get? What should i check or change so i can have decent file transfers.

I measured the file transfer using ftp (2 programs) and rcp.

Thank you
Teo



0
Comment
Question by:temmelv
22 Comments
 

Author Comment

by:temmelv
ID: 22594875
Also i forgot to mention the hard disk performance.

hdparam -Tt shows
Timing buffered disk reads
88MB/sec on the Dell and
70MB/sec on the pc


Thank you.
Teo
0
 
LVL 27

Accepted Solution

by:
pseudocyber earned 250 total points
ID: 22594999
Take a look at your HP switch ports - any errors?  If so, check duplex.
0
 

Author Comment

by:temmelv
ID: 22595007
I will, but if i had errors would i be getting 940Mbtis/sec throughput?

0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 27

Assisted Solution

by:pseudocyber
pseudocyber earned 250 total points
ID: 22595016
Possibly.  Duplex mismatch REALLY shows up when doing large file transfers.  Much less when doing "small" testing - such as ping, etc.  As Windows sizes increase there's a much greater impact with frame corruption and TCP retransmission.
0
 

Author Comment

by:temmelv
ID: 22595072
Both ports are defined 1000FDx

I ran the test a couple of times. No errors.

I got 29MB/sec the first time and 43MB/sec the second time. I guess it is cached.

I did a copy then on new file (400mb rar file) and it gave me 32MB/sec. No errors.

0
 
LVL 27

Expert Comment

by:pseudocyber
ID: 22595077
Hmm. the no errors means you don't have an ethernet problem.  For the heck of it, try setting both the NIC, Switch, and NAS to Autonegotiate.
0
 

Author Comment

by:temmelv
ID: 22595101
How do i set Autonegotiate. The switch port configuration options are 2

1. Mode (10, 100FDx, Auto, Auto-10,Auto-100,Auto-1000)  and
2. flow control (Disable, Enable). Disable is set.



0
 
LVL 27

Expert Comment

by:pseudocyber
ID: 22595118
Auto-1000
0
 

Author Comment

by:temmelv
ID: 22595134
Can you tell me what transfer rates are you experiencing or what a very good transfer rate is?

0
 
LVL 27

Expert Comment

by:pseudocyber
ID: 22595268
No not really.  I'm a network guy, not a storage (NAS) guy.  However, if you get 80% of the maximum theoretical throughput with Ethernet, you're doing pretty well.  But it depends on a lot of factors - the interfaces, the cabling, environmental, machine - cpu, memory, disk I/O, etc.

Also different protocols will give you different throuput - because the protocol itself occupies a portion of your throughput.

However, I calculated yours out, based on your numbers, and you're getting around 250Mbps.  I would expect higher.
0
 

Author Comment

by:temmelv
ID: 22595311
Well i tried Auto-1000. Rebooted both machines.

I got 27,9MB/sec. I then set Auto to both ports rebooted. I got 26,8MB/sec. This is a small difference, i consider this the same.

If i execute again the copy in both situations i get 49,8/sec.
0
 
LVL 27

Expert Comment

by:pseudocyber
ID: 22595323
Yeah, I agree.  However, it helps you in that it sort of "clears" the network - so now you can pursue other avenues. :)
0
 

Author Comment

by:temmelv
ID: 22595796
It seems it's not the network.

I rebooted both machines i did the copy the opposite way. From the Dell 2950 to the pc with a single SATA II driver.

I got 46,5MB/sec. I did this test twice rebooting both machines.

So it has to do with the write performance of the drives. Even though 46,5MB/sec is really crappy performance for a SATA II drive.

I also executed again the copy command giving me the exact same rate as i had in the first place with the pc copying to the dell, that is 49,8MB/sec. So this is cached, but why is it limiting to 49,8MB/sec?
0
 
LVL 19

Expert Comment

by:jools
ID: 22603174
You may need to check what network modules are being used, sometimes linux *may* pick the wrong one. There may also be some configurable options for them as well. Use modinfo to help here.

Also, mii-tool or ethtool will let you know speed/duplex settings and allow you to change them on the host
0
 
LVL 27

Expert Comment

by:pseudocyber
ID: 23269255
I think points should be split - but I don't understand you're giving points to the author?

I did a fair amount of troubleshooting showing that it's NOT "gigabit ethernet slow performance".  I think it should count for something.

Thanks,

PC
0
 
LVL 27

Expert Comment

by:pseudocyber
ID: 23269256
Edit - points to the questioner.
0
 

Author Comment

by:temmelv
ID: 23302353
Post ID's
22594999
22595016

Author:pseudocyber

Thank you
0
 
LVL 27

Expert Comment

by:pseudocyber
ID: 23303604
Thanks.
0
 
LVL 44

Expert Comment

by:Darr247
ID: 23303654
Have you tried disabling flow control on either end?
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hi there, This article summarizes what you need if you are going to set up your home or small business Network Attached Storage (NAS) to be accessible from the internet. Of course there are configuration differences based on your NAS or router ma…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now