Cache tuning?



  • I have Squid3 configured as a transparent web proxy (want to cache Windows and antivirus updates) and would like to optimize my settings.  Specs:

    Intel Atom C2758 8-core
    32GB RAM
    100GB Intel enterprise SSD

    I currently have 16GB of RAM and 30GB of SSD allocated to Squid.  However, my server's RAM usage is only 11% so I think the cache object sizes need to be tweaked.  Suggestions?



  • Play with the Disk/RAM cache settings as well as refresh_patterns to do what you want.  There is no one-size-fits-all.  I have had a lot of trouble in the past trying to cache Windows Updates.  Some say they have it working but I've never managed to successfully.  Full squid docs can be found at the source:

    http://www.squid-cache.org/



  • @keelingj:

    I have Squid3 configured as a transparent web proxy (want to cache Windows and antivirus updates) and would like to optimize my settings.  Specs:

    Intel Atom C2758 8-core
    32GB RAM
    100GB Intel enterprise SSD

    I currently have 16GB of RAM and 30GB of SSD allocated to Squid.  However, my server's RAM usage is only 11% so I think the cache object sizes need to be tweaked.  Suggestions?

    If wsus is not an option then there exists windows offline updates installer or Downloader. Download them and run its instalation on machines.


Log in to reply