slow transfer speed and ftp issues
Status: Alpha
Brought to you by:
coroberti
From: ERIC F. <eri...@ho...> - 2010-07-20 03:27:32
|
The PROBLEM REPORTING FORM makes our support more effective. Please, subscribe to our mailing list here: https://lists.sourceforge.net/lists/listinfo/curl-loader-devel and mail the form to the mailing list: cur...@li... CURL-LOADER VERSION: 0.52, June 13, 2010 HW DETAILS: CPU/S and memory are must: Curl-loader Client - CPU - Pentium 4 3 GHz dual core MemTotal: 2056632 kB MemFree: 1923788 kB Server - CPU - Pentium 4 3 GHz dual core MemTotal: 4059056 kB MemFree: 3063160 kB LINUX DISTRIBUTION and KERNEL (uname -r): 2.6.32-21-server GCC VERSION (gcc -v): 4.4.3 (Ubuntu 4.4.3-4ubuntu5 COMPILATION AND MAKING OPTIONS (if defaults changed): opimization on/debug off COMMAND-LINE: curl-loader -f ./conf-examples/NAVL-ftp.conf CONFIGURATION-FILE (The most common source of problems): Place the file inline here: ########### GENERAL SECTION ################################ BATCH_NAME= ftp CLIENTS_NUM_MAX=100 INTERFACE = eth1 NETMASK=255.255.0.0 #IP_SHARED_NUM = 1 IP_ADDR_MIN= 10.0.0.1 IP_ADDR_MAX= 10.0.100.253 #Actually - this is for self-control CYCLES_NUM= -1 URLS_NUM = 1 ########### URL SECTION #################################### #URL=ftp://tester:tester@10.0.10.52/100k-random.html URL=ftp://tester:tester@10.0.0.101/100k-random.html #URL=ftp://tester:tester@10.0.10.52/curl-loader-0.52.tar.gz FRESH_CONNECT=1 # At least my proftpd has problems with connection re-use TIMER_URL_COMPLETION = 0 # In msec. When positive, Now it is enforced by cancelling url fetch on timeout TIMER_AFTER_URL_SLEEP =3000 FTP_ACTIVE=1 DOES THE PROBLEM AFFECT: COMPILATION? No LINKING? No EXECUTION? YES OTHER (please specify)? Have you run $make cleanall prior to $make ? DESCRIPTION: 1. I can do regular ftp and wget using that ftp command, it just won't work using this config file. This config file was working when i used a 24 bit netmask and 10.0.10.52 as the server. Now I want to test more hosts and would like to use 16 bit netmask. My ifconfig on client and apache is the following: Client - eth1 Link encap:Ethernet HWaddr xxx inet addr:10.10.10.75 Bcast:10.10.255.255 Mask:255.255.0.0 Server - eth1 Link encap:Ethernet HWaddr xxx inet addr:10.10.10.52 Bcast:10.10.255.255 Mask:255.255.0.0 2. When i use the linux ftp client to transfer the 100k file once i get 484.8 Mib/sec. When i use curl-loader to ftp the same file with 1 FTP client i get 0.02971 Mib/sec. What is the cause? Does curl-loader not calculate the Ti the same way the native ftp client does? The slow down is also seen in getting html files from my apache server. I should be able to get close to line rate grabbing one 100K file with 10 Concurrent clients, but curl-loader can only get up to 276.8 Mib/sec. QUESTION/ SUGGESTION/ PATCH: Can you please enlighten me as to why my ftp config file is not working? Why can i not get close to line rate with either ftp or http? I tried with -r and -t with no luck. |