As you see in the following picture its a shared-memory architecture which has been modeled in a form of complete graph. Why we can consider the following architecture (which is a complete graph) both as shared-memory and distributed-memory architecture?

enter image description here

I know it seems to be an distributed-memory architecture but can we say that if we consider local memory of one of the processor as shared-memory for other ones(I mean the shared-memory is located in one of the processor) then we can consider it as shared-memory architecture not distributed?


A couple of points, but in general the diagram doesn't provide enough information to make any real conclusions.

First, this isn't the typical layout for shared memory architecture. Typically shared memory architecture has a single, shared bank of memory that all processors access. This diagram does not show that type of architecture.

See here:

Shared Memory Architecture

Second (with regard to not having enough information), the memory isn't shown in this diagram. We don't know whether the processors are accessing memory directly, or just communicating with other processors who in effect access their own private memory. In this case this would be distributed memory architecture. In another case, where a single address space is shared for access to all memory, then this would be distributed shared memory architecture.

| cite | improve this answer | |
  • $\begingroup$ Thanks theoneandonly2. I'm familiar with both architecture but I thinks complete graphs of processors are exception. I have updated the question to mention my problem exactly that would be great to help. $\endgroup$ – Abbas Foroughi May 26 '16 at 4:50
  • $\begingroup$ If each processor is accessing the memory of the others directly then this would likely be a distributed shared memory architecture. $\endgroup$ – theoneandonly2 May 26 '16 at 6:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.