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

    SOLVED! SQUID speed issue

    Scheduled Pinned Locked Moved pfSense Packages
    9 Posts 6 Posters 16.3k 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.
    • K
      kongar
      last edited by

      Hi ALL!

      When I enable SQUID (v. 2.6.21_08) on fpSense 1.2.2 and try to check bandwidth with www.speedtest.net I notice, that speed lowers from about 2000 Kbs to about 1200 Kbs.

      When I test again without proxy, speed again about 2000 Kbs.

      pfSense hardware is powerful enough, I think. It's ASUS server with P4 2.4GHz/1Gb RAM/160Gb IDE HDD (no RAID)

      No traffic managemeint in SQUID enabled.

      I've tried SQUID 3 beta. Same result.

      What the problem? Misconfig? Normal behavior for SQUID? Something else?

      1 Reply Last reply Reply Quote 0
      • K
        kongar
        last edited by

        Just tried to download new build of pfSenese while SQUID proxy enabled.
        Download speed up to 230 KBs. But speedtest still shows not more than 130KBs. Even less.
        Some other speedtest sites show similar low results with proxy enabled.
        ???

        1 Reply Last reply Reply Quote 0
        • M
          mhab12
          last edited by

          Search this forum.  There must be a hundred posts on this topic.  HINT: Many of them are by mhab12…

          1 Reply Last reply Reply Quote 0
          • K
            kongar
            last edited by

            SOLVED!

            http://forum.pfsense.org/index.php/topic,14673.0.html

            1 Reply Last reply Reply Quote 0
            • K
              kongar
              last edited by

              This is easy step-by-step how to solve speed issue of squid:

              You have to edit /boot/loader.conf (diagnostic/edit file from pfSense GUI) and comment (put # in the beginning of line) kern.ipc.nmbclusters="0".
              After this you need to restart squid service (status/services from pfSense GUI) or restart pfSense itself (diagnostic/reboot system from pfSense GUI).

              And now just hope it will help you as it helped me ;)

              1 Reply Last reply Reply Quote 0
              • M
                mikesamo
                last edited by

                worked for me only after pfsense restarted not just squid service

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

                  loader.conf will only be read at boot time since it's for kernel configuration.

                  1 Reply Last reply Reply Quote 0
                  • C
                    chudy
                    last edited by

                    to change immediately you may run```
                    sysctl kern.ipc.nmbclusters=8192

                    1 Reply Last reply Reply Quote 0
                    • W
                      wlee618
                      last edited by

                      i have applied the recommanded config and it seeems faster but when i use the speakeasy speed test, it is still at 1M.. hmmmm..

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