LinuxQuestions.org
Visit Jeremy's Blog.
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 09-07-2005, 06:54 AM   #1
prital
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Rep: Reputation: 15
FTP performance


Hello,
On my board, I need to copy file from the ramdisk to the JFFS2 (on flash). In my application I use the read() and write() functions. The file of size 4Mb is copies in 10 min. The usage of the "dd" tool also gives such performance. It's too much time.

For experiment, I've mounted NFS to my host, put this file on this host, and use the ftp to load the file to JFFS2. The transfer takes 2 min.!

What are the resources that the FTP uses for such performance? How I can reach such performance in my application?
Thank you.
 
Old 09-07-2005, 08:41 AM   #2
F0ul_Olli
Member
 
Registered: Aug 2005
Location: Flintshire, WALES, UK
Distribution: Slackware
Posts: 57

Rep: Reputation: 15
I'm sorry if I've misunderstood your post but this is what I understand from it.

You have data you are transfering to a LOCAL flash drive (is it connected by USB?)

You are also transfering from an FTP site over a network to the same flash drive.

I would think the problem is more to do with your local set up than the speed of the FTP transfer.

Could you confirm if I have understood this properly - and could you let me know what internet connection you are using?

F0ul Oli
 
Old 09-07-2005, 09:05 AM   #3
prital
LQ Newbie
 
Registered: Dec 2004
Posts: 24

Original Poster
Rep: Reputation: 15
I have a flash device on my board. Also, this board has an ethernet connection to a host (linuxPC). Also, this board has RAM-disk. I need to write one file to a flash. If I use my application, the file transfer time is very long. If I use ftp connection, the transfer is very quick. The question is, how the ftp connection is established - may be, its priority very high, etc. How I can in my application (that uses write/read functions) to get quick performance?
Thank you.
 
  


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
FTP performance gSalsero Linux - Networking 3 09-10-2005 05:56 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 05:11 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
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 02:07 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM

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

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