I set up a transparent web cache on ROS 2.9.7 and all is working well except I cannot set the RAM-cache larger than the default 2048kb
The machine has 256mb RAM so I would like to have 150mb of RAM reserved for cache. If I set it for “unlimited” or anything else then it still reports 2048, anyone any suggestions. I have been trying this using winbox as I cannot figure out the terminal command, this is what I’ve been trying:
[admin@MikroTik] ip web-proxy set reserved-for-ram-cache=153600
[harvey@MikroTik] ip web-proxy<SAFE> set max-cache-size=6000000
RAM is needed for disk cache as well. First of all it tries to use max amount
of disk cache. And only then, if more RAM is available, memory cache size is
increased.
The way you explain it is different to the way I imagined it worked, so would I be better off only haveing 2mb of RAM cache as the disk cache will be using RAM anyway? I was trying to optomise the performance of the web cache.