LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-14-2007, 09:38 PM   #1
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
FTP SERVER Performance


Hey guys i setup our VSFTPD server i ask my neighbor to upload some files on it to test it, he first tried to upload a 12mb file that took 7 minutes then he tried to upload a 500mb file which will be uploaded in 12 hrs, its transfer rate is 12kbsp and yet my neighbor has a 2mb DSL just like ours. the setup in our network is we have 2mb DSL line connected to a broadband router (edimax), on the router port 20-21 is forwarded to my old PC P4 2.80 ghz 256mb DDR memory where VSFTPD Server is installed. do you know any another reason why it takes to long to download and upload. My neighbor also has the same problem when he setup his vsftpd server, also his neighbor who did has the same problem...
 
Old 11-15-2007, 12:04 AM   #2
arindam.lahiri
LQ Newbie
 
Registered: Aug 2004
Location: Allahabad, Uttar Pradesh, India.
Distribution: Fedora Core and Red Hat Linux
Posts: 15

Rep: Reputation: 0
The problem may lie here :-

1. Your DSL connection may have a very high download speed but the upload speed may be very less. Check out your internet connection speed using :-
http://us.mcafee.com/root/speedometer/default.asp
http://www.abeltronica.com/velocimetro/pt/?idioma=uk

Or

2. Your system is very slow. You should upgrade to 512MB atleast for better response of a linux box.
 
Old 11-15-2007, 01:53 AM   #3
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
Yeah my thoughts is exactly..... tnx
 
Old 11-15-2007, 03:25 AM   #4
darkplayer
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by arindam.lahiri View Post
The problem may lie here :-

1. Your DSL connection may have a very high download speed but the upload speed may be very less. Check out your internet connection speed using :-
http://us.mcafee.com/root/speedometer/default.asp
http://www.abeltronica.com/velocimetro/pt/?idioma=uk
Did you get the chance testing your DSL line? Try running the test during off peak hours.

Quote:
Originally Posted by arindam.lahiri View Post
Or

2. Your system is very slow. You should upgrade to 512MB atleast for better response of a linux box.
Hmmm, I wouldn't think system memory could cause that much of an impact on internet speed. Run either htop or gnome system monitor and see if your memory drops significantly during ftp transfer. Adding more memory wouldn't hurt but still wouldn't cause ftp DL/UL to lagg.

Last edited by darkplayer; 11-15-2007 at 03:32 AM.
 
Old 11-15-2007, 06:43 AM   #5
rmallins
LQ Newbie
 
Registered: Nov 2005
Location: Hatfield, Herts
Distribution: Ubuntu 10.10
Posts: 13

Rep: Reputation: 1
Measure ftp server performance

By way of clarification, domestic DSL connections are ADSL, where the "A" stands for asymmetric. The asymmetry is that download is much faster than upload, as the other posters have been pointing out.
http://en.wikipedia.org/wiki/ADSL

Your ADSL connections are a bottleneck - even if 2mbps upload were available to your neighbour (and yours was allowing full 2mbps download) that's still a crawl compared to typical networking speeds, and your ftp server should be able to easily surpass 2mbps. I've just seen over 8 Mbyte / second sending data to proftpd running to a 700Mhz pentium 3 box running Ubuntu 7.10:

From my XP box:
...
ftp: 50980864 bytes sent in 5.76Seconds 8843.17Kbytes/sec.
...

On the ubuntu box:
> cat /proc/cpuinfo
...
model name : Pentium III (Coppermine)
stepping : 6
cpu MHz : 732.344
...

(they're connected by 100Mbps ethernet via the same switch, and the ubuntu box did have 512M RAM)

If you want to truly measure your ftp *server* performance then do it from the same network. You have ubuntu on your old PC which implies you have a new PC also on the network (with windows installed?). Windows (up to XP - don't know about vista) has an ftp client available from the command line (type "ftp"). If you use this to upload a file to your ubuntu box, and they're both plugged into the same router, you'll then get a good idea of the true upload speed.
hope that helps,
Robin

Last edited by rmallins; 11-15-2007 at 06:45 AM. Reason: sense of sentence wasn't clear without highlighting
 
Old 11-15-2007, 09:29 AM   #6
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Quote:
Originally Posted by SBN View Post
Hey guys i setup our VSFTPD server i ask my neighbor to upload some files on it to test it, he first tried to upload a 12mb file that took 7 minutes then he tried to upload a 500mb file which will be uploaded in 12 hrs, its transfer rate is 12kbsp and yet my neighbor has a 2mb DSL just like ours. the setup in our network is we have 2mb DSL line connected to a broadband router (edimax), on the router port 20-21 is forwarded to my old PC P4 2.80 ghz 256mb DDR memory where VSFTPD Server is installed. do you know any another reason why it takes to long to download and upload. My neighbor also has the same problem when he setup his vsftpd server, also his neighbor who did has the same problem...
Pretty typical. A 2Mbps (downstream) ADSL line will usually have 128-256Kbps upstream. Look for SDSL (or get a DS1) for better upload speeds.
 
Old 11-15-2007, 11:08 PM   #7
N800-Neophyte
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
ADSL packaging

Just a thought or two regarding the FTP server... we recently installed an FTP server and noted that our local ADSL ISP would not allow port 20 or 21 to be used on the lowest package... we had to upgrade to a plan that gave us access to those ports as well as supply a fixed address in their DHCP pool.
Wondering if your supplier throttles down your port 20-21 connections... I think it would be easier for them to block it rather than reduce your speed.
From previous experiences that I have had, our FTP speed has never allowed more than 90 Kbytes/s upload... and that's on our own network.
I'm interested in these lines of conversation as well.
 
Old 11-16-2007, 08:55 AM   #8
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Quote:
Originally Posted by N800-Neophyte View Post
Just a thought or two regarding the FTP server... we recently installed an FTP server and noted that our local ADSL ISP would not allow port 20 or 21 to be used on the lowest package... we had to upgrade to a plan that gave us access to those ports as well as supply a fixed address in their DHCP pool.
Wondering if your supplier throttles down your port 20-21 connections... I think it would be easier for them to block it rather than reduce your speed.
From previous experiences that I have had, our FTP speed has never allowed more than 90 Kbytes/s upload... and that's on our own network.
I'm interested in these lines of conversation as well.
Port blocking is easy, and is common on entry-level Internet access packages. Port throttling can be very expensive in CPU cycles on the upstream routers, unless special hardware is in use. Not very common (but I *have* implemented it before in order to allow a previous employer to offer cheaper services for those that don't need a lot of bandwidth).
 
  


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
Slow performance with Samba, but not FTP, SCP stealth210 Slackware 19 01-15-2008 03:53 AM
wireless performance with ftp downloads is bad? SCerovec Linux - Wireless Networking 2 12-30-2006 04:34 AM
FTP performance gSalsero Linux - Networking 3 09-10-2005 05:56 PM
FTP performance prital Linux - Networking 2 09-07-2005 09:05 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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