Hi,<br><br>I am aspiring to use my disk for varnish caching. Since the OS does page caching in memory also,<br>this would serve as a two layer of cache (one in memory and one in disk). Now my concern is to use<br>almost whole of RAM for page caching (assuming that there is no swap space in the OS). How to configure<br>

so that I use my memory for caching specifically for varnish. Can I control the space used by varnish in RAM.<br><br><br>Secondly, I am curious what will happen if I refresh the content of the cache in the disk and hence the  content <br>

of the disk cache changes . If I use this, the content of the cache will be modified in the disk, would<br>it reflect in the RAM as well (I want cache consistency across Page cache also, Does OS do it automatically, and if it does, will it<br>

write the content in the disk and delete the entry in the RAM)? <br>And whether varnish will update the content in Swap also (In case I plan to use the swap space)? <br><br>Thanks,<br><br>Arun<br>