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

    Recommended for cache management settings for 100,000 users

    General pfSense Questions
    4
    6
    2.4k
    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.
    • J
      jhayvee
      last edited by

      Hi our company is a ISP provider and I'm using lusca cache what is your recommended for cache management settings for 100,000 users

      Here our specs for the server

      Intel(R) Xeon(R) CPU X3430 @ 2.40GHz

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        i dont think you will have enough resources to proxy 100k users with what you have

        in my experience however you should avoid caching to harddisks … this slows down the browsing experience for the clients.
        in other words, only cache in ram.

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

          Not sure if the CPU will be the bottleneck if there ist just caching and not filtering (squidguard/dansguardian).

          More important will be how much RAM do you have and if you have much disk space then you need much RAM to index all cache entries on the HDD and you need very fast HDDs to serve the data fast enough to the clients.

          And it depends on the bandwidth your WAN side has.

          Probably the better way would be to split the users to different squid proxy servers to do a loadbalancing.

          1 Reply Last reply Reply Quote 0
          • S
            Supermule Banned
            last edited by

            Cache it on SSD and you will be fine. Its IOPS thats important here and CPU.

            1 Reply Last reply Reply Quote 0
            • J
              jhayvee
              last edited by

              @heper:

              i dont think you will have enough resources to proxy 100k users with what you have

              in my experience however you should avoid caching to harddisks … this slows down the browsing experience for the clients.
              in other words, only cache in ram.

              in just case i need higher ram then how i can set only cache on the ram?

              jhayvee

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

                Set HDD cache size to 0. I think this is described below the option if I remember correct.
                Further you can set the minimum and maximum file size for files to be cached on HDD. So in theory you could increase the minimum file size to lets say 4MB so it will only cache some bigger files on HDD and not the many little 10kb webpage pictures.

                But I am not an expert on such a big squid cache environment.

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