Using this approach, we are able to explore and improve the temporal locality at each partition. For the purpose of this study, we have set these parameters as follows. We specified three cache partitions dedicated to small, medium and large documents. The size of each partition was determined experimentally. The last configuration provided the best performance among those three.
Small class consists of documents whose sizes are less than the median.
The size of documents that make up the medium class is in between the median and the average sizes for the workloads. The best values for the partition size can be solved using optimizing techniques. In our experiment we have the first 10 percent of the cache size dedicated to documents whose sizes are less or equal to 2 kbytes. Then the next two tenth of the cache is dedicated to requests which sizes are between 2 and 6 kbytes, and the largest partition holds documents with more than 6 kbytes. Another caching decision concerns the replacement policy.