Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Gigabit ethernet slow performance

Posted on 2008-09-29
22
1,236 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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