Problem in installing curl-loader.
-
hello everyone,
i want to install curl-loader in my pfsense for testing the throughput. i tried to execute pkg_add -r [package name] ,it should download and install that package to my system,instead it gives an error :unable to fetch; i also tried by giving the path to the pkg_add command ,but i didn't work. And when i tried to execute make,make install and clean command it gives an error :command not found. my pfsense version is 1.2.3-RELEASE. curl versions i attempted– curl-7.19.7_1.tbz and curl-loader-0.52.tar.gz.gz .Regards,
NM04 -
Try passing the full URL to pkg_add as suggested on this page in our FAQ:
http://doc.pfsense.org/index.php/Installing_FreeBSD_Packages
-
thanx jimp it worked and now i can use it.
But can u tell me how to measure the http and ftp throughput using curl ?
-
Just run it - it'll display a progress bar by default, which includes the transfer rate. See the manual for more.
Just remember to pick large files (the bigger the better) to gain a realistic view.
-
cry,
it is showing the transfer rate but not the throughput. it shows this when i executed curl -O http://url.com/file name% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed115 345 115 345 0 0 282 0 0:00:01 0:00:01 –:--:-- 1068
there is no throughput here, not even unit is mentioned.
Is there any way i can increase the number of connections(http and ftp) using curl..?Thanks and Regards,
NM04 -
Can you explain then what you think the difference between transfer rate and throughput are? Note that curl displays both the average for the session and the average across the last 5 seconds. A lack of units means it will be displaying bytes per second (divide by 128 for Kb per second).
As for number of connections - no. Neither it nor wget are designed for the fastest possible download, or performance testing connections. If you want to test the bandwidth of your link with curl then the best way to do that is to perform multiple (large) downloads in parallel - all from different remote servers.
-
Thanks Cry Havoc, i understood that, i was actually a bit confused b/w transfer rate and throughput.
Thanks a lot,Regards, NM04
-
Also note that doing a bandwidth test to the router is rather meaningless. The OS is optimized for passing traffic through the router, not getting traffic to the router itself.
You should always do a performance test from a machine behind the router, not to the router.
-
fine jimp point taken , i will do as u said….
thanks & regards,
NM04