LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-14-2008, 04:41 AM   #1
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Rep: Reputation: 36
Troubleshooting FTP Local Network Speed


Hi.

I've been transferring some large files across my 100 megabit lan using FTP. But I can't get any quicker than 9megabits, which does vary quite a bit during the transfer. With no other network traffic, it can hit, say, 7Mb and then it can get way down into the kilobit range and then move back up to 5 or 8megabits. When I try a transfer of the same file via http - I get around 4megabits.

This is a mixed Linux and Windows environment.

I'm using a LinksysWRT54G. I never upgraded the firmware, (v4.20.6), - I chickened out because a firmware flash update years ago screwed the router. Besides, I've never had any problems with it so I let well enough alone. I'm using Cat5e and I think I've got a Cat6 snuck in there somewhere. Of course this doesn't affect my Internet connection which I can get up to 5megabits or so. I'm quite familiar with networking concepts, but I don't have hardcore knowledge of packet monitoring, etc.

These speeds are pretty consistent going back and forth. What could I be missing? What should I look at? Shouldn't I be getting somwhere above 50megabits at least?
 
Old 06-14-2008, 09:35 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
I am going to take a guess and assume you are confusing MB/sec and megabits(megabits / 8 = MB/sec) . 100 Ethernet typically will carry around 9MB/sec, theoretically it should carry 12.5MB/sec(?). Depending on your hardware you may be limited by your HD speed.

Quote:
hdparm -tT /dev/sda
Where you will need to change sda to your proper drive designation. Modern drives should be at about 70MB/sec, but if something is miss configured it can be drastically lower. You need to check the machines on both ends. The dropping off thing sounds like the cache is getting full and then emptying.

I doubt the router is the problem.
 
Old 06-18-2008, 02:27 PM   #3
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Original Poster
Rep: Reputation: 36
asfdasdf

Well, I've been going by what the ftp server and client are telling me. And I've been careful not to confuse megabits w/ megabytes - that's why I wrote them out. It uses kb/sec which I convert to megabits.

If the server says it's transferring at 10,000kilobits/sec, that's 9.77megabits, right?
 
Old 06-18-2008, 02:38 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Usually speeds are quoted in KB/s. I suspect that is what is actually being reported (despite the label). 10,000KB/s=9.77MB/s
 
Old 06-18-2008, 03:01 PM   #5
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Original Poster
Rep: Reputation: 36
asdf

That makes sense.
 
Old 06-18-2008, 04:43 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You can move a file of known size (say 10 GB) by whatever method you like. Just precede whatever commands you normally use with "time" (see man time). That way you will know for sure. (10GB/ Xsec).
 
Old 06-18-2008, 04:45 PM   #7
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Original Poster
Rep: Reputation: 36
Ah, I'll try that out.
 
  


Reply


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
FreeBSD Installation Local Network (nfs/http/ftp) xxx_anuj_xxx Linux - Server 0 04-30-2007 07:54 AM
Network Speed Troubleshooting jantman Linux - Networking 2 02-01-2007 09:03 AM
Accessing FTP outside of local network with Suse 9.1 Pro HeX Productions Linux - Security 1 11-08-2004 05:53 PM
Unable to ping or Traceroute or FTP from local network. retheesh Linux - Networking 3 10-15-2003 06:20 AM
setting up ftp to run on a local network dewyw74 Linux - Newbie 2 01-02-2003 02:33 AM

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

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