Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Web Caching: Possible to use RAM instead of Data Disk?

The web caching option for static content is very useful but slow. I can see storage space getting smaller on the Data Disk partition, so I am guessing it's storing the cache to disk. Is there a way to use RAM instead of the slow disk? I am using UTM 9.2 on ESXi with plenty of free RAM available for the UTM.


This thread was automatically locked due to age.
  • Hi,

    The OS (Linux) will use extra RAM for buffering/caching, so it is doing some already.

    Using faster disks/RAID or an enterprise-grade SSD should help also.

    Barry
  • How much disk space do you have allocated?  The minimum recommended for UTM is 40GB.
  • 12GB RAM and 60GB HDD Space. The whole UTM is installed with 64bit extensions on a VM on an ESXi 5.5 server which runs on SSD's already.
    Strange thing is I can't see the used RAM go up, only the Data Disk is filling up while caching is active.
    Surfing is quite a bit slower with web caching on instead off on my 200/20MBit line.
  • How many users and what features are turned on?  

    I wouldn't use web caching anyways..besides the fact that most web content is dynamic in generation and presentation...most ssd's don't do well with large amounts of small writes(which is what web caching mainly uses) also the logs are a ton of small writes as well. 

    Which ssd's are you using?
  • 5 users and around 30 machines (IP's) on a home license. I use almost every feature, except smtp and WAF are disabled. NAT'ting and DHCP are done by my router, UTM is positioned as a transparent proxy.

    I did deactivate web caching now as it is a lot faster for us. I just was curious how web caching would perform when static content is stored in RAM. But as I wrote RAM usage doesn't go up, it's just filling up the data disk partition. So I was guessing web caching doesn't store content in RAM anyways.
    SSD's are a couple of Samsung 840 Pro's.

    Thank you anyways for your responses.
  • The caching isn't controllable.  The web proxy does some ram caching but mainly of the content lookups though.  The Samsungs are good ssd's.  Stick with non-web caching.  I bet your cache hit rate was less than 10-25% anyway..[:)]  What else is on those ssd's in terms of what else is the host running besides the UTM?
  • On another SSD is just a small file server. W2k12 with AD is another vm, but installed on a hdd. Some other small vm's (2-4) running on separate hdd's as well. No problems in terms of cpu or RAM usage on the esxi host, running fine with plenty of free ressources.
    I will stick with non-web caching :-)

    Thank you.