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

    Separate squid cache drive/partition?

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 1.4k 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.
    • A
      aaronouthier
      last edited by

      Hello,
      On one of my pfSense boxes, I have a PCI to CARDBUS adapter with an ages old PocketZip/Click drive and its 40 MB disk installed. I would like to try to use it for the Cache for Squid3, so as to minimize the number of writes to my 4 GB CF Card.

      Is 40 MB even going to be sufficient for that purpose. There are no other drives on the pfSense box. Just the CF card and the PocketZip.

      For the curious:

      For my pfSense boxes, I am using 3 HP t5730 Thin Clients. One box has the CF card, an expansion bracket, with the PCI to CARDBUS, and PocketZip drive and disk. One has the stock 2 GB Disk on Module, and an expansion bracket with an Atheros-based Wireless 802.11abgn card. One box has no expansion bracket whatsoever. I am planning to add a fourth box with the expansion bracket and an Intel Pro 1000 S Ethernet card to act as my Internet NAT router.

      I got 8 Thin Client boxes, and 5 Expansion brackets, and one power cord on ebay for $140 + s/h. I managed to scrounge-up 2 more power adapters. Violla!

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        The default cache size is something like 100MB so 40MB may be on the small side, depending on your needs.

        1 Reply Last reply Reply Quote 0
        • A
          aaronouthier
          last edited by

          Hmmm, 100 MB. Good to know. I don't suppose then, that the PocketZip drive would be useful anywhere else. (In the pfSense box, and it's filesystem, that is. Wanted to clarify that point, before some wise-cracker says "Yeah, you can use to hold up the leg of your wobbly coffee table". - That would, of course, be absurd. I don't have a coffee table - nobody here likes coffee… ;)

          1 Reply Last reply Reply Quote 0
          • A
            aaronouthier
            last edited by

            Ok. So, I realized that 40 MB is just a teensey bit small for this kind of thing. I purchased 2 CF-style microdrives with PCMCIA adapters. I'll find a use for the other on someday, but for now, I am using one of the Microdrives (each drive is 2 GB) for the cache.

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