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 06-13-2009, 05:32 AM   #1
Neo1
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Poor network file transfer speed


Hi,

I've been experiencing network speeds which I believe should be performing better. I have two linux machines connected via a 1Gb network. Performing file transfers will generally never exceed 25MB/s.

Using iperf, I get on average 89.2 MBytes/sec transfer results.

The disk's on both servers are fast enough to max this out. Average block write speed is 113MB/s (Tested with Bonniee++). To be 100% certain it wasn't the disk causing the issue, I created a RAM drive on each server, and copied files across the network from one RAM drive to the other. Network speeds again didn't exceed 25MB/s.

Generally using rsync over ssh to do file transfers, but also have samba shares setup which experience similar performance.

I've copied a file from the linux RAM drive over samba to a Windows machine and back at roughly 55MB/s. Copying that same file over samba from linux to linux happened at about 22MB/s. This would seem to indicate there's some sort of Linux to Linux bottleneck.

Both machines are running Fedora Core 10, using 2.6.27.24-170.2.68 kernel. One is x86_64 the other is i386.

Hardware Info
Machine #1
Intel Q6600
4Gb DDR2 RAM
4x1000GB in RAID5 using mdadm.
1GB Nic

Machine #2
AMD Athlon 4600+
2GB RAM
2x1500GB in RAID0 using mdadm.
1GB Nic

Any help appreciated.

Last edited by Neo1; 06-13-2009 at 06:44 AM. Reason: Included more information
 
Old 06-14-2009, 06:21 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
That does sound a bit slow. Have you tried regular, un-encrypted FTP? I've read someplace that the encryption of doing rsync over ssh can actually add some overhead, slowing the transfer down (not sure if SAMBA adds encryption too, as I never use it). You might want to try plain jane FTP or NFS (or even rcp) to see if there is a difference. If it doesn't help, you might want to try tuning your TCP settings (particularly receive buffers and time outs). There are several guides on the Internet for this (and IBM has a performance tuning red book), but it's not something I've looked at recently, so I can't offer any more specific advice.
 
  


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
Speed of file transfer by NFS arubin Linux - Networking 4 06-22-2008 05:21 PM
Slow File Transfer Speed moman Linux - Networking 3 11-22-2006 10:50 PM
Poor network transfer speeds bleunuit Linux - Networking 0 07-11-2005 08:52 AM
Samba File Transfer Speed ghight Linux - Networking 9 10-30-2004 08:39 AM
Poor file transfer speed with sftp six6 Fedora 3 07-29-2004 12:22 AM

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

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