Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Problem in installing curl-loader.

    Off-Topic & Non-Support Discussion
    3
    9
    4.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NM04
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • N
          NM04
          last edited by

          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 ?

          1 Reply Last reply Reply Quote 0
          • Cry HavokC
            Cry Havok
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • N
              NM04
              last edited by

              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          Speed

              115  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

              1 Reply Last reply Reply Quote 0
              • Cry HavokC
                Cry Havok
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • N
                  NM04
                  last edited by

                  Thanks Cry Havoc, i understood that, i was actually a bit confused b/w transfer rate and throughput.
                  Thanks a lot,

                  Regards, NM04

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    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.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • N
                      NM04
                      last edited by

                      fine jimp point taken , i will do as u said….

                      thanks & regards,
                      NM04

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.