Pranjal Agrawal
Pranjal Agrawal

Reputation: 1

What will happen if shared memory application works on distributed memory architecture?

I've just started reading these memory model and is new to these shared memory model and distributed memory model.

I went through many documents for getting an idea about these. But, I still have some doubts:

  1. What will happen if shared memory application works on distributed memory architecture?
  2. What will happen if distributed memory application works on shared memory architecture?

Upvotes: 0

Views: 69

Answers (1)

Basit Anwer
Basit Anwer

Reputation: 6890

What will happen if shared memory application works on distributed memory architecture?

Ans: For this to first happen you need caching. Out-process caching have locks and versions enabled in them therefore they are sort of safe and block calls from these simple applications.

What will happen if distributed memory application works on shared memory architecture?

Ans: Havoc! Two application sharing one memory pool whereas they are expecting to be separate will bring to data inconsistency. Thats why you have locking. Just think of threads as an example (considering data is shared)

Upvotes: 1

Related Questions