Re: Slow FTP upload - a few packets per second
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2011-07-06 20:18:56
|
Hi Aron, On Wed, Jul 6, 2011 at 10:58 PM, Bellorado, Aron <abe...@ve...> wrote: > Using the simple curl-loader configuration below, the FTP upload of a 6 MB > file is extremely slow with curl-loader transmitting only a few packets per > second during the file upload. As the attached packet capture shows, after > receiving the TCP ACK’s for the FTP data uploaded to the server > 10.1.111.170, curl-loader waits 1 second before transmitting the next 2 > packets of FTP data. After receiving the TCP ACK’s for this uploaded data, > curl-loader again waits 1 second before transmitting the next 2 packets of > data and so on. I am not sure why curl-loader is waiting 1 second in > between sending the FTP data packets. This makes for an extremely slow > upload. I am running version 0.52. Thoughts? > > ########### GENERAL SECTION ################## > BATCH_NAME=clCfg-ftpUpload.cfg > CLIENTS_NUM_MAX=1 > CLIENTS_NUM_START=0 > CLIENTS_RAMPUP_INC=50 > INTERFACE=eth4 > NETMASK=255.255.0.0 > IP_ADDR_MIN=10.1.111.100 > IP_ADDR_MAX=10.1.111.100 > CYCLES_NUM=1 > URLS_NUM=1 > > ########### URL SECTION ################## > > URL=ftp://public%3Apublic:public@10.1.111.170:2021/bucket/file-ftpUpload.1 > URL_SHORT_NAME=shortName-file-ftpUpload.1 > UPLOAD_FILE="6MBytes_asciiRandom.txt" > TIMER_URL_COMPLETION=0 > TIMER_AFTER_URL_SLEEP=0 > > > Aron > http://p.sf.net/sfu/splunk-d2d-c2 curl-loader is using libcurl for FTP stack. I mem there was some patching in curl related to uploading that was done rather recently. Try to get the latest version of curl sources, place it to packages subdir of curl-loader, correct the version in our Makefile, and make cleanall make debug=0 optimize=1 Take care, -- Regards, Robert Iakobashvili, Ph.D. Home: http://www.ghotit.com Blog: http://dyslexia-blog.ghotit.com Twitter: http://twitter.com/ghotit Facebook: http://facebook.com/ghotit ...................................................................... Ghotit Dyslexia Assistive technology that understands you ...................................................................... |