Sections


Main-Menu

header image

Software Concepts: Distributed Shared Memory Systems


Software Concepts: Distributed Shared Memory Systems

Since a Multiprocessor system seems to be more difficult to program for, thus distributed shared memory came. Shared Memory in distributed shared memory system divides shared memory into pages and pages are distributed among machines.
Below is a diagram,

dsms.gif

a) Pages of address space distributed among four machines.
b) Situation after CPU 1 references page 10.
c) Situation if page 10 is read only and replication is used.

False sharing occur when processors write to a shared cache line but not at the same location: there is no real coherency problem since processors write to different location and since the cache allocate a line when a write misses the protocol makes each processor invalidate the other forcing reload of a cache line at each write.

dsms2.gif
False sharing of a page between two independent processes.


Related Articles :



Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Shaadi.com Matrimony - Register for FREE