Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Net::FTP speed

by nimdokk (Vicar)
on Mar 30, 2007 at 12:08 UTC ( #607455=note: print w/ replies, xml ) Need Help??


in reply to Net::FTP speed

As others have pointed out, FTP speed will depend on a lot of other factors. "Not as fast as they could be" is somewhat subjective. Have you timed the transfers, timed the transfers using other methods (i.e. commandline FTP, GUI FTP Client, etc). Keeping everything the same (transfer the same file several times using a particular client app) and average the times and rates. Things outside your control could also be impacting these speeds (time of day, traffic on the networks between you and the client. There may also be some throttling going on between the client and server that you aren't even aware of (I've seen it happen). If at the end of the day, it's something outside of your control, there's nothing you can do about it apart from burning some offerings to appease the network gods :-)

Hope that helps a bit.


Comment on Re: Net::FTP speed
Re^2: Net::FTP speed
by Anonymous Monk on Nov 12, 2007 at 22:11 UTC
    I've just had a similar problem with FTP between two gigabit connected boxes which wouldn't transfer at more than 100KB/sec. It took a while but eventually I found that the default BlockSize in Net::FTP is 10240 bytes (compared to a 4096 bytes in the command line FTP.exe) By tweaking the BlockSize, transfer rate changed from 100KB/sec to 2000+KB/sec. The next exercise is to optimise the blocksize for each server we use depending on network, firewalls, throttling etc...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://607455]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-09-23 22:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (241 votes), past polls