Title :
Knowledge states for the caching problem in shared memory multiprocessor systems
Author :
Bein, Wolfgang W. ; Larmore, Lawrence L. ; Reischuk, Rüdiger
Author_Institution :
Sch. of Comput. Sci., Nevada Univ., Las Vegas, NV, USA
Abstract :
Multiprocessor systems with a global shared memory provide logically uniform data access. To hide latencies when accessing global memory each processor makes use of a private cache. Several copies of a data item may exist concurrently in the system. To guarantee consistency when updating an item a processor must invalidate copies of the item in other private caches. To exclude the effect of classical paging faults, one assumes that each processor knows its own data access sequence, but does not know the sequence of future invalidations requested by other processors. Performance of a processor with this restriction can be measured against the optimal behavior of a theoretical omniscient processor, using competitive analysis. A 4/3 competitive randomized online algorithm for this problem for cache size 2 is presented. This algorithm is derived with the help of a new concept we call knowledge states. We also prove a matching lower bound, thus this online algorithm is best possible. Finally, a lower bound of 3/2 on the competitiveness for larger cache sizes is shown.
Keywords :
cache storage; competitive algorithms; randomised algorithms; shared memory systems; cache size; caching problem; competitive analysis; copy invalidation; data access sequence; data item; global shared memory; knowledge states; latency hiding; lower bound; memory access; optimal behavior; private cache; processor performance; randomized online algorithm; shared memory system multiprocessor systems; theoretical omniscient processor; uniform data access; Analytical models; Computer science; Cost function; Delay; High performance computing; Multiprocessing systems; Paging strategies; Parallel architectures; Performance analysis;
Conference_Titel :
Parallel Architectures, Algorithms and Networks, 2004. Proceedings. 7th International Symposium on
Print_ISBN :
0-7695-2135-5
DOI :
10.1109/ISPAN.2004.1300497