I was reading a book on Cache Optimizations and in the Third Optimization ie Higher Associativity to Reduce Miss Rate The author says
2:1 cache rule (for cache upto size 128KB) A direct-mapped cache of size N has the same miss rate of 2-way associative cache of size N /2.
But the author provides no explanation or proof to this and I am unable to understand this. Could anyone explain how he came up with this rule?