Hello,
I have few questions regarding Cache memories used in Multicore CPUs or Multipprocessors systems. (Although not directly related to programming, it has many repurcussions while one writes software for multicore processors/multiprocessors systems, hence asking here!)
1.) In a multiprocessor system or a multicore processor(Intel Quad Core, Core two Duo etc..) does wach cpu core/processor have its own cache memory (data and program cache)?
2.) Can one processor/core access each others cache memory, because if they are allowed to access each others' cache, then i believe there might be lesser cache misses, in the scenario that if that particular processors cache does not have some data but some other second processors' cache might have it thus avoiding a read from memory into cache of first processor? Is this assumtion valid and true?
3.) Will there be any problems in allowing any processor to access any processors' cache memory?
Thank you for bearing multiple questions in one post.
-AD