What is the difference between symmetric multiprocessing (SMP) and multiprocessing (MP)?

I know MP is all about managing multiple processes across multiple processors, but is there any difference between this and SMP? Is it possible that in SMP you can execute multiple threads from one process at the same time, while MP you can only have one process occupied by one processor?

an example of what I consider to be the differences:

SMP

P1 has 3 streams: P1T1, P1T2 and P1T3 P2 has 2 streams: P2T1 and P2T2.

on a computer with 3 processors, you can assign P1T1 to processor 1, P1T2 to processor 2, and P1T3 to processor 3 at the same time, if all is available, or P2T1 to processor 1 and P2T2 to processor 2 and P1T1 to processor 3.

MP

P1 has 3 streams: P1T1, P1T2 and P1T3 P2 has 2 streams: P2T1 and P2T2.

on a computer with 3 processors you can assign P1T1 to processor 1 and - P1 has 3 threads: P1T1, P1T2 and P1T3 P2 has 2 threads: P2T1 and P2T2.

on a computer with 3 processors, you can assign P1T1 to processor 1, but P1T2 and P1T3 have to wait until P1T1 is done, and P2T1 can go to processor 2, and again P2T2 will have to wait until P2T1 is done before than to execute it.

Does it do it? If so, am I on the right track? thanks, today i got my OS exam and i am studying. Thanks for any help you guys can provide.

Also, how do streams scroll? I know this is a very broad question, but is there a specific way? or is it based on a plugin that the system has implemented? I know there is a pivot, higher priority, slicing times, timing, shortest amount of time ... If this question doesn't make sense, don't worry, I appreciate any help you guys can give.

+3


source to share


2 answers


Actually, SMP is a split MP. So the question of difference doesn't make a lot of sense. Any MP can be one of two: either symmetric MP or parallel (asymmetric) MP.

In your case, the examples cannot be taken into account to distinguish the two due to the above reason.

Also, in SMP, two processors or processors are on different computers, or are separate processors, or have different cores that work with the same shared memory to get the job done!



As mentioned on Wikipedia about Symmetric Multiprocessing

: -

Symmetric Multiprocessing (SMP) involves a symmetric multiprocessor system hardware and software architecture, where two or more identical processors are connected to the same shared memory, have full access to all I / O devices, and is controlled by a single operating system that treats all processors the same without leaving special purposes. Most multiprocessor systems today use the SMP architecture. In the case of multi-core SMP processors, the architecture is applied to the cores, treating them as separate processors.

+2


source


In the old days of multiprocessor systems (like VAX 11/782), one of the processors was the master and the others were slaves. The main processor assigned tasks to other processors when it was idle and otherwise.



In the SMP system, God made the processors equal. They use a locking mechanism to select tasks.

0


source







All Articles