I don't understand the question in "how calculate the size of cache memory"; that's why I haven't answered it. It makes no sense to me at all. Could you expand (in that thread, not this one) in more detail what problem you're trying to solve? Do you have a PDF version of the book that I could look at? (because I'm not about to buy a copy of it, and it seems the questions relate to the book content)