Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-25-2008, 09:33 AM   #1
iMiKED
Junior Member
 
iMiKED's Avatar
 
Join Date: Dec 2006
Location: Novosibirsk
Posts: 7
Smile Slow upload speed on localhost FTP (ioFTPD 6.3.2r)

Hi all!

I have strange issues with ioFTPD 6.3.2r.

There is ftp server, based on ioftpd on my personal PC. When I'm trying to upload something on this ftp from my PC. (I.e. from one HDD to another via ftp) - the max. speed is not greater than 13Mbps.

I checked out all bw-limitations in ioGUI2 - the up is still <13Mbps. I tried diff. clients - the effect is the same.


When I copy this folder from one HDD to another via totalcom - speed is about 40Mbps.

So - whats wrong with ioFTPD. Why it caps my speed?
iMiKED is offline   Reply With Quote
Old 07-25-2008, 11:50 AM   #2
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

upgrade for a start
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 07-25-2008, 11:58 AM   #3
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

Well, there are lots of reasons copy a file and transferring a file through the FTP will operate at different speeds! The FTP has a lot more work to do!

Copying a file through explorer is done by reading in a huge 1M blocks of raw data from the file, then writing that 1M block of data back to disk. That's it.

Copying a file through an FTP requires reading in the data in smaller blocks (128k for the server, probably smaller for an FTP client), sending it back into the kernel over the TCP connection where it may be fragmented further (loopback can be optimized though), then re-assembling it and reading it all back in via TCP on the other side of the FTP, only to be finally written out. Oh, and if the FTP server is the recipient of the file then it must compute the CRC and run script processing on the file as well... And don't forget the overhead if you did this over SSL!

There is just no way any FTP client/server can ever match the performance of a file copy operation because of the extra kernel context switches and TCP overhead.
Yil is offline   Reply With Quote
Old 07-25-2008, 12:56 PM   #4
iMiKED
Junior Member
 
iMiKED's Avatar
 
Join Date: Dec 2006
Location: Novosibirsk
Posts: 7
Default

So, is it normal situation that all users (I mean, whole the world) can't achieve speeds greater than 13 Mbps (or around) on ftp daemons?
iMiKED is offline   Reply With Quote
Old 07-26-2008, 10:38 AM   #5
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

Oh, you can definitely get faster and provided you have enough processing power and slow enough disks you can get the same speed even under certain situations. But on a balanced system a file copy will always be faster than a client/server file copy.
Yil is offline   Reply With Quote
Old 07-27-2008, 05:31 AM   #6
iMiKED
Junior Member
 
iMiKED's Avatar
 
Join Date: Dec 2006
Location: Novosibirsk
Posts: 7
Default

And how to get faster, as you say) It is the problem for me now)

P.S. btw, I have a bugreport, where to send it?
__________________
...and may Power stay with Ya!
iMiKED is offline   Reply With Quote
Old 07-27-2008, 02:27 PM   #7
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

The latest ioFTPD release thread v6.6.x - a sticky thread usually at the top of this forum.

Well, first off I'm curious why you would need to transfer so much data via localhost. Seems like that shouldn't be necessary. Second, make sure encryption is off. Up the packetsize in your FTP client to the max of 64k chunks just in case that isn't optimized automatically for the loopback interface. That's about all you can do really, but transferring so much data on the same machine via FTP just doesn't strike me as necessary.
Yil is offline   Reply With Quote
Reply

Tags
cap, great, helpd, ioftpd, speed

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:45 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)