Is there a rule at hand that says you need so many MB of RAM per GB of cache size? right now i have a 5GB cache with 150MB RAM dedicated to cache. just wondering.
thanks
Is there a rule at hand that says you need so many MB of RAM per GB of cache size? right now i have a 5GB cache with 150MB RAM dedicated to cache. just wondering.
thanks
Unless you have a huge amount of clients and run with absurd amounts of requests per second - no it’s doesn’t really matter. A proxy server is normally throttled by IO in any case - not RAM. Another reason why proxy on flash is a big no no.
Normally, when it does start to matter, you will notice. But then it’s normally better to get a dedicated proxy server in any case so that you can fine tune your configuration.
Therefore, I’d feel safe to say that in your case, no, it definately does NOT matter…
–
C
i have 91 clients on the proxy says it, which at least imo is not that much. so i should be safe for a good while. when do you think it is best to switch to a dedicated machine?
By default the proxy cache can use as much disk space as there is allocated for it. When the system allocates the space for the proxy cache, 1/7th of the total partition (disk) size is reserved for the system, but not less than 50MB. The rest is left for the proxy cache. The system RAM size is considered as well when allocating the cache size. The cache size is limited so, that there are at least 15MB of RAM per 1GB of cache plus 55MB of RAM is reserved for the system. max-cache-size is also taken in account, so the cache will not occupy more than it is specified in this property. The effective limit is calculated as a minimum of all three limits. Note also that RouterOS supports up to 950MB of memory.
Considering the previous note, you should be aware that you will not be able to enable web proxy, if you have less than 60MB of RAM on your router
Expire time of cache entries can be different for each HTML page (specified in headers). But, if there is no such header, the entry will be considered fresh for not more than 72 hours
this is what is found in the manualso i think this will help
zaher hamiyah