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

Problem in installing curl-loader.

Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
9 Posts 3 Posters 4.7k Views
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 Nov 11, 2010, 5:20 AM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Nov 12, 2010, 2:58 PM

      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 Nov 15, 2010, 8:41 AM

        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
        • C
          Cry Havok
          last edited by Nov 15, 2010, 12:04 PM

          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 Nov 16, 2010, 7:07 AM

            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
            • C
              Cry Havok
              last edited by Nov 16, 2010, 8:51 AM

              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 Nov 16, 2010, 9:04 AM

                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
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by Nov 16, 2010, 12:44 PM

                  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 Nov 17, 2010, 5:03 AM

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

                    thanks & regards,
                    NM04

                    1 Reply Last reply Reply Quote 0
                    7 out of 9
                    • First post
                      7/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received