LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-03-2010, 01:29 PM   #1
Sjonnie48
Member
 
Registered: Jun 2005
Location: Earth
Distribution: Ubuntu10.04
Posts: 308

Rep: Reputation: 43
lan speed to low for Gbit connection


Recently I established a share connection between an ubuntu 10.04 server and a windows 7 workstation.
The shared folder is on the win computer, and most traffic goes from server to workstation.
Both computers have Gbit nics and both have a lan connection to a Gbit router.
The speed of file transfers is disappointing, just 110Mbit. My internet connection has 120Mbit bandwidth and very often I reach 150Mbit.
I have tested my share connection with Iperf:
Code:
root@server:~# iperf -c 192.168.1.9 -w 2m
------------------------------------------------------------
Client connecting to 192.168.1.9, TCP port 5001
TCP window size:   256 KByte (WARNING: requested 2.00 MByte)
------------------------------------------------------------
[  3] local 192.168.1.3 port 33442 connected with 192.168.1.9 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1013 MBytes    850 Mbits/sec


root@server:~# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.1.3 port 5001 connected with 192.168.1.9 port 55775
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  1.09 GBytes    933 Mbits/sec
In my humble opinion these test results look great, but question is what can be limiting my bandwidth.
The share connection uses samba cifs.
I am awfully inexperienced with network connections.
 
Old 11-14-2010, 02:08 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

samba/cifs by itself is somewhat slow, also using a raw transfer tool will be faster than a filesystem based share software, because raw data transfer has not to do filesystem operations like setting up fs-information and metadata. Also small file operations are slower than transfering large files.

900Mbit/s is not a real value, because Gigabit network is not real 1000MBit, it is from my experience around 300MBit, so i think both values are somewhat wrong.

Last edited by mesiol; 11-14-2010 at 02:10 AM.
 
  


Reply

Tags
bandwidth, cifs, iperf, samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian: Low LAN speed and slightly confused server jo4 Debian 4 04-17-2008 12:00 PM
ANSUS M3A Gbit LAN - Internet not working zdzislaw Linux - Newbie 7 04-02-2008 11:31 AM
Low connection speed with tre bradband in Sweden JAnton Linux - Networking 11 03-12-2008 05:17 AM
Marvell Gbit LAN PHY 88E1111 Compatibility mhbell Linux - Networking 2 03-01-2006 09:51 AM
speed up lan connection? petarsabev Linux - Networking 0 01-28-2004 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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