Computer System Architecture

Neso Academy
20 Feb 201813:54

Summary

TLDRThis lecture delves into computer system architecture, focusing on categorizing systems by the number of general-purpose processors. It introduces single processor systems with a main CPU and optional special purpose processors for device-specific tasks. Multiprocessor systems, offering increased throughput and reliability, are explained, highlighting symmetric and asymmetric multiprocessing. Lastly, clustered systems, composed of multiple interconnected systems for high availability, are discussed, contrasting symmetric and asymmetric clustering approaches.

Takeaways

  • πŸ“š The lecture focuses on computer system architecture, specifically categorizing computer systems based on the number of general-purpose processors.
  • πŸ’» Single processor systems have one main CPU capable of executing a general-purpose instruction set, including user process instructions, and may also include special-purpose processors for device-specific tasks.
  • πŸ”— Multiprocessor systems contain two or more processors that are closely communicating and sharing resources like the computer bus, memory, and peripheral devices.
  • πŸš€ Multiprocessor systems offer advantages such as increased throughput, allowing for more data to be processed in parallel, and thus improving system performance.
  • πŸ’° The economy of scale is a benefit of multiprocessor systems, as multiple processors can share resources, making them more cost-effective than multiple single-processor systems with separate resources.
  • πŸ›‘οΈ Multiprocessor systems are more reliable than single-processor systems because if one processor fails, the others can continue to operate, preventing a total system failure.
  • πŸ”„ There are two types of multiprocessor systems: symmetric multiprocessing, where all processors are the same and share tasks, and asymmetric multiprocessing, which has a master-slave approach with a designated master processor.
  • 🌐 Clustered systems are composed of two or more individual systems coupled together, providing high availability by allowing other systems to take over tasks if one fails.
  • πŸ”„ Like multiprocessor systems, clustered systems can be structured either symmetrically or asymmetrically, with symmetric structures allowing for more efficient resource sharing.
  • πŸ›‘ In asymmetric clustered systems, one machine operates in hot-standby mode, ready to take over if another system fails, while in symmetric systems, all systems monitor each other and share tasks.
  • πŸ”‘ The choice between symmetric and asymmetric structures often leans towards symmetric for better resource utilization and efficiency.

Q & A

  • What are the main types of computer systems based on the number of general purpose processors?

    -The main types of computer systems based on the number of general purpose processors are single processor systems, multiprocessor systems, and clustered systems.

  • What is a single processor system?

    -A single processor system is a computer system that contains one main CPU capable of executing a general purpose instruction set, including instructions from user processes, along with special purpose processors for device-specific tasks.

  • What is the difference between a general purpose processor and a special purpose processor?

    -A general purpose processor is capable of executing a wide range of instructions and handling various tasks, while a special purpose processor is designed to perform specific tasks related to a particular device or function.

  • What are the advantages of a multiprocessor system over a single processor system?

    -The advantages of a multiprocessor system include increased throughput, economy of scale, and increased reliability due to the presence of multiple processors that can share workload and provide backup in case of failure.

  • What is the meaning of 'throughput' in the context of computer systems?

    -In the context of computer systems, 'throughput' refers to the measure of the performance of the system, often defined as the amount of data that can be transferred from one location to another.

  • What is the concept of 'economy of scale' in relation to multiprocessor systems?

    -'Economy of scale' in relation to multiprocessor systems refers to the cost efficiency gained from sharing resources among multiple processors, as opposed to having separate single processor systems with individual resources.

  • How does a multiprocessor system provide increased reliability?

    -A multiprocessor system provides increased reliability because if one processor fails, the remaining processors can continue to operate and share the workload, preventing a total system failure.

  • What are the two types of multiprocessing systems?

    -The two types of multiprocessing systems are symmetric multiprocessing (SMP) and asymmetric multiprocessing (AMP).

  • What is the key difference between symmetric and asymmetric multiprocessing?

    -In symmetric multiprocessing, all processors are similar and participate equally in task execution, whereas in asymmetric multiprocessing, there is a master-slave approach where one processor acts as a master and the others as slaves with specific tasks assigned by the master.

  • What is a clustered system, and how does it differ from a multiprocessor system?

    -A clustered system is a computer system that couples two or more individual systems together to accomplish computational work. Unlike a multiprocessor system, which consists of multiple processors, a cluster system involves complete systems working in unison, providing high availability and redundancy.

  • How does a clustered system provide high availability?

    -A clustered system provides high availability because multiple systems are working together; if one system fails, the others can take over the tasks, minimizing the chance of a complete system failure.

  • What are the symmetric and asymmetric structures in a clustered system?

    -In a symmetric clustered system, all hosts run applications and monitor each other, sharing resources efficiently. In an asymmetric clustered system, one machine operates in hot-standby mode while the others run applications, with the standby machine ready to take over if another fails.

Outlines

00:00

πŸ’» Introduction to Computer System Architecture

This paragraph introduces the topic of computer system architecture, focusing on the categorization of computer systems based on the number of general-purpose processors. It explains the three main types: single processor systems, which contain one main CPU for executing general-purpose instructions and may include special-purpose processors for device-specific tasks; multiprocessor systems, featuring two or more processors that work closely together and share resources; and clustered systems, where multiple systems are grouped to perform tasks more efficiently. The paragraph sets the stage for a deeper exploration of these systems and their advantages.

05:01

πŸ” Advantages of Multiprocessor Systems

The second paragraph delves into the advantages of multiprocessor systems over single processor systems. It highlights increased throughput, which is the system's ability to handle a larger amount of data transfer, resulting in faster and more efficient performance due to parallel processing. The economy of scale is also discussed, emphasizing the cost-effectiveness of multiprocessor systems as resources are shared among multiple processors, unlike single processor systems that require individual resources. Additionally, multiprocessor systems offer increased reliability, as the failure of one processor does not lead to a total system failure, with other processors able to take over the workload and maintain system operation, albeit with reduced performance.

10:01

πŸ”„ Types of Multiprocessor Systems

This paragraph explores the two types of multiprocessor systems: symmetric multiprocessing (SMP) and asymmetric multiprocessing (AMP). In SMP, all processors are identical and participate equally in task execution, while in AMP, there is a master-slave relationship where one processor acts as a master, overseeing and assigning tasks to the slave processors. The paragraph explains the functioning of each type and the roles of the processors within them, illustrating the differences in their structures and operation.

🌐 Understanding Clustered Systems

The final paragraph discusses clustered systems, which are composed of multiple individual systems working together to perform computational tasks. Unlike multiprocessor systems, which consist of multiple processors, clustered systems involve complete systems that are interconnected. The paragraph explains the concept of high availability in clustered systems, as the failure of one system does not result in total system failure due to the redundancy provided by other systems in the cluster. It also touches on the symmetric and asymmetric structures of clustered systems, with symmetric offering more efficient resource sharing and utilization compared to the master-slave approach of asymmetric clustering.

Mindmap

Keywords

πŸ’‘Operating System

An operating system (OS) is the software that manages computer hardware, software resources, and provides essential services for computer programs. In the video, the operating system is foundational to understanding the computer system's basic functionalities and serves as the context for discussing different types of computer systems.

πŸ’‘General Purpose Processor

A general purpose processor is a type of CPU designed to execute a wide range of instructions, making it versatile for various computing tasks. The video categorizes computer systems based on the number of these processors, emphasizing their role in defining system capabilities.

πŸ’‘Single Processor System

A single processor system refers to a computer that contains only one central processing unit (CPU) capable of executing general purpose instructions. The script explains that even though special purpose processors may be present for device-specific tasks, the system is named for its general purpose processor count.

πŸ’‘Multiprocessor System

A multiprocessor system is a computer with two or more processors that work in close communication, often sharing resources like memory and peripherals. The video highlights the advantages of such systems, including increased throughput and economy of scale, and discusses their types, such as symmetric and asymmetric multiprocessing.

πŸ’‘Clustered System

A clustered system is composed of two or more individual computer systems that are coupled together to perform computational work. The script differentiates it from a multiprocessor system by emphasizing the coupling of complete systems rather than just processors, which contributes to high availability.

πŸ’‘Throughput

Throughput in the context of computer systems refers to the amount of work done or the amount of data processed over a specific time period. The video script mentions increased throughput as an advantage of multiprocessor systems, indicating that more processors can handle tasks in parallel, enhancing performance.

πŸ’‘Economy of Scale

Economy of scale is a concept where the cost per unit of a product decreases as the scale of production increases. In the script, it is used to describe the cost-effectiveness of multiprocessor systems, where multiple processors share resources, reducing the need for individual resources in separate systems.

πŸ’‘Reliability

Reliability in computing refers to the ability of a system to perform its required functions under stated conditions for a specified period of time. The video script points out that multiprocessor systems offer increased reliability because if one processor fails, others can continue to operate, preventing total system failure.

πŸ’‘Symmetric Multiprocessing

Symmetric multiprocessing (SMP) is a type of multiprocessor system where multiple processors are identical and share work in a peer-to-peer manner. The script explains that in SMP, all processors are equal and participate in executing tasks, contrasting with asymmetric multiprocessing.

πŸ’‘Asymmetric Multiprocessing

Asymmetric multiprocessing (AMP) is a system where processors have different roles, typically with one master processor that controls the system and one or more slave processors that perform tasks. The script describes AMP as having a master-slave approach, with the master processor assigning tasks to the slaves.

πŸ’‘High Availability

High availability in computing means that a system is designed to be available for use as much as possible, with minimal downtime. The script mentions that clustered systems provide high availability because multiple systems are working together, so if one fails, others can continue to perform the necessary tasks.

Highlights

Introduction to computer system architecture based on the number of general purpose processors.

Definition and explanation of single processor systems with one main CPU for general purpose tasks.

Identification of special purpose processors for device-specific tasks in single processor systems.

Clarification that the term 'single processor system' refers to the number of general purpose processors, not the total number of processors.

Introduction to multiprocessor systems with two or more processors for parallel processing.

Description of multiprocessor systems as parallel or tightly coupled systems sharing resources.

Advantage of increased throughput in multiprocessor systems due to parallel processing.

Economic benefits of multiprocessor systems through shared resources compared to single processor systems.

Increased reliability in multiprocessor systems as a result of having multiple processors to compensate for failures.

Differentiation between symmetric and asymmetric multiprocessing systems.

Symmetric multiprocessing characterized by similar processors sharing tasks equally.

Asymmetric multiprocessing featuring a master-slave approach with distinct roles for each processor.

Introduction to clustered systems as a collection of individual systems working together.

High availability in clustered systems due to multiple systems compensating for failures.

Structuring of clustered systems as either asymmetric with a hot-standby mode or symmetric with mutual monitoring.

Comparison of efficiency in symmetric vs. asymmetric clustered systems, favoring the former for better resource sharing.

Summary of the types of computer systems based on the number of general purpose processors and their advantages.

Transcripts

play00:00

In the previous lectures,

play00:01

we have studied the basic of the Operating system.

play00:04

And we have seen things like computer system operation,

play00:08

and we have also seen structures like storage structures

play00:11

and input/output structures.

play00:13

Now, in this lecture, we will study the computer system architecture

play00:17

and mainly about the types of computer systems

play00:20

based on number of general purpose processors.

play00:23

That means we are going to study how we can categorize the computer system

play00:28

based on the number of general purpose processor.

play00:33

Alright!

play00:33

So, let's see how we categorize the computer system

play00:36

based on the general purpose processor.

play00:40

So, first of all, we have a single processor system.

play00:43

Which from the name itself you may have understood

play00:46

that it has only a single processor.

play00:48

And then we have the multiprocessor system

play00:50

in which there are two or more processors.

play00:53

And then we have the clustered system.

play00:56

In which two or more systems are coupled

play00:58

or clustered together in order to perform certain task.

play01:01

Now, let us explain each one of these systems

play01:04

and see what are the differences and what are the advantages of them,

play01:08

and what are the types of these processing systems that we have.

play01:11

So, first of all, we have the single processor system.

play01:14

So, in the single processor system one main CPU

play01:17

capable of executing a general purpose instruction set

play01:21

including instructions from user processes.

play01:24

That means in the single processing system we only have one main CPU,

play01:30

which is capable of executing the general purpose instruction set

play01:34

as well as the instructions from the user processes.

play01:37

Now, other special purpose processors are also present

play01:42

which perform device specific tasks.

play01:44

Now, in the single processing system, apart from the main CPU

play01:48

there are also other processors which are present

play01:51

which don't do the general purpose task but perform some device specific task.

play01:58

Now, what do we mean by this?

play01:59

This means that we have certain devices in our computer,

play02:03

like keyboard, hard disk, and so on.

play02:06

So for all this, there may be some microprocessor

play02:09

that is specified to do a specific task related to that device.

play02:14

Like for example, let's say that we have our keyboard.

play02:17

Now when you pressed a key on your keyboard,

play02:20

the key stroke has to be converted to some kind of code.

play02:23

let's say a binary code.

play02:25

so that the computer actually understands

play02:26

what you have pressed or what you are typing.

play02:29

So, in order to convert a keystroke to a code

play02:32

there is a little microprocessor present on your keyboard.

play02:35

which is going to perform only that task of

play02:38

converting your keystroke to some kind of code.

play02:41

Now, those are the special purpose processors that we are talking about.

play02:45

So, these kind of special purpose processors are also present

play02:49

but they are not for general purposes but specific purposes.

play02:53

Now, You may question me saying that

play02:56

I said it is a single processor system

play02:58

but here I have already shown you more than one processor.

play03:02

I said that there are general purpose processors

play03:05

and also special purpose processors.

play03:07

yes, that is right!

play03:08

But the answer to this is that

play03:10

we give the name to this processor system

play03:13

based on the number of general purpose processors that it has.

play03:16

So even though there are special purpose processors

play03:19

which perform some little task specific to the devices.

play03:23

But as we have only one general purpose processor

play03:27

we called it a single processor system.

play03:29

So, that is why we called it the single processor system.

play03:32

Alright! now let's go to the next one.

play03:34

So, the next one is the multiprocessor system.

play03:37

So, from the name itself, we can understand that

play03:40

in this there will be more than one processor.

play03:42

Or we can say that there are two or more processors.

play03:45

And also it is known as a parallel system or a tightly coupled system.

play03:50

So this multiprocessor system is also known as

play03:53

a parallel system or a tightly coupled system.

play03:56

and these two terms will be discussing later as we move ahead in the subject.

play04:00

So, in these multiprocessor systems

play04:02

they have two or more processors in close communication

play04:06

sharing the computer bus

play04:08

and sometimes the clock, memory, and peripheral devices.

play04:11

So, unlike the single processor system which has only a single processor

play04:16

In this multiprocessor system, we have two or more processors,

play04:20

which are closely communicating with each other

play04:24

because they need to work together to perform certain tasks.

play04:27

And what are those tasks?

play04:28

There may be a single task or different tasks

play04:31

depending on the kind of system that we have.

play04:33

So in order to work together,

play04:35

they need to have close communication and synchronization with each other.

play04:39

So, that is why we say that they are in a close communication

play04:42

and they also share the computer resources that we have.

play04:46

Now, let us see what are the advantages of having this multiprocessor system

play04:50

or single processor system.

play04:52

So, coming to the advantages.

play04:54

The first advantage is to increased throughput.

play04:57

So, throughput is something that we can use

play04:58

to measure the performance of our system.

play05:01

So, sometimes it is also known as the amount of data

play05:03

that can be transferred from one location to another.

play05:08

So, throughput is like the measure of the performance of the system.

play05:11

So, we can say that in the multiprocessor system,

play05:14

we have more throughput or more performance.

play05:18

And why is that?

play05:19

The answer is simple, that is because we have more than one processor

play05:22

which will parallelly do our work

play05:25

and it will make it faster and more efficient.

play05:27

And that is what we mean by increased throughput.

play05:30

And then the second advantage is economy of scale.

play05:33

Now, why do we call it economic?

play05:35

I say that multiprocessor systems are more economical

play05:38

as compared to the single processor system.

play05:40

That is because in the multiprocessor system

play05:43

we have these different processors

play05:45

sharing the resources of our computers or our systems.

play05:49

But in the case of a single processor system,

play05:52

if you want to have the same amount of power

play05:54

you may need multiple single processor system

play05:59

with their own individual resources.

play06:01

But here we see that we have multiple processors sharing the resources

play06:05

So, in that way, we can have economy of scale.

play06:09

That means it is more economic as compared to single processor system.

play06:12

So, if you have multiprocessor system with three processors

play06:16

and if you want to have same kind of set up in your single processor system

play06:20

You may need to have three single processor systems.

play06:24

three individual single processor system,

play06:27

with their own individual resources.

play06:29

We see that this is more economic.

play06:31

then the other advantage is increased reliability.

play06:34

this is more reliable as compared to the single processor system.

play06:38

Why is that?

play06:39

The reason is again the same that is because we have more than one processors.

play06:44

And why it is reliable?

play06:46

that is because in these multiprocessor system, even if a single processor fails,

play06:51

we still have other processors which will back us up,

play06:54

and which will still keep us running.

play06:56

So, let's say that you have ten processors in your ten multiprocessor system

play07:00

and let's say that one of them fails.

play07:02

So, even if one of them fails,

play07:04

the remaining nine can share the work that was being done by the one that is failed

play07:09

and without giving you complete failure,

play07:12

your system will still work even though the performance may reduces a bit.

play07:16

But in case of single processor system,

play07:18

If your single processor fails,

play07:20

that means it is a total failure, your whole system breaks down.

play07:24

But in multiprocessor system, even if one fails

play07:27

the remaining can help to get the work done

play07:29

without causing a total failure of the system.

play07:32

So, that is why we say that it is more reliable.

play07:35

It has increased reliability

play07:37

as compared to the single processor system.

play07:39

Alright!

play07:40

So, those were the advantages of the multiprocessor system.

play07:43

Now, let's see what are the types of the multiprocessor systems that we have.

play07:47

So, basically there are two types of multiprocessor systems.

play07:51

first one is called symmetric multiprocessing.

play07:54

and the second one is asymmetric multiprocessing.

play07:56

Now, let us see what are the difference between these two

play07:59

types of multiprocessing systems.

play08:01

So, in symmetric multiprocessing,

play08:03

We have our different processors.

play08:05

here CPU one, two, three denote the different processes that we have.

play08:09

And processes P1, P2, P3 denote the processes that have to be executed.

play08:14

Now, in symmetric multiprocessing

play08:16

all these CPUs and processors are actually the same.

play08:21

that means they are similar to each other.

play08:23

and they all participate in performing these task or processes P1, P2, and P3.

play08:29

So, all the CPUs are involved in these tasks.

play08:33

So, that is known as symmetric multiprocessing.

play08:35

Now, in asymmetric multiprocessing,

play08:37

unlike these one where CPU one, two, and three are similar to each other.

play08:42

Here we have a master slave approach.

play08:44

So here these boxes denote the CPUs.

play08:47

So, one of the CPU and one of the processor will act as a master,

play08:52

and the remaining processors will be slaves.

play08:55

So, the master monitors the other processors.

play08:59

and it assigns the task for these processors.

play09:02

So, the master is like the monitor which is

play09:04

guiding and supervising the other slaves.

play09:07

and then the slaves take care of particular processes.

play09:11

so, let's say, here slave1 is taking care of process1,

play09:15

slave2 for P2,

play09:17

and slave3 for P3.

play09:19

and we see that slave1 only taking care of the process P1.

play09:23

and process P1 is not taking care by slave2 or slave3.

play09:27

So, P1 is only for slave1.

play09:30

and so is P2 and P3 for slave2 and slave3 respectively.

play09:34

and here also if something fails,

play09:36

the master will take care of how to distribute the loads

play09:40

after one fails and things like that.

play09:42

So, the master is the monitor,

play09:44

and the rest are the slaves.

play09:45

But in symmetric multiprocessing,

play09:46

we see that there is no master slave approach,

play09:48

but all the processors are peers or they are similar to each other.

play09:52

and they are all involved in all the task that is present.

play09:56

so, that is the difference between

play09:57

symmetric multiprocessing and asymmetric multiprocessing.

play10:01

Now, let us come to the next type of computer system

play10:03

that we have based on the number of processor

play10:06

which is the clustered system.

play10:08

So, in this clustered system,

play10:10

like multiprocessor systems, clustered system gathered together

play10:14

multiple CPUs to accomplish computational work.

play10:17

So, this is also somewhere similar to our multiprocessor system.

play10:21

So, here the cluster system, they gather together

play10:25

multiple CPUs to accomplish computational work.

play10:28

Now you may be thinking if that is the case,

play10:31

then what is the difference between

play10:33

multiprocessor system and clustered system?

play10:35

So, the difference is that

play10:37

they are composed of two or more individual systems coupled together.

play10:42

So, in multiprocessor system what we had was two or more processors.

play10:47

So, only the processors were the multiple things that we had.

play10:51

But in cluster system,

play10:53

we have the complete system that is coupled together.

play10:57

that means two or more individual systems,

play11:00

that means complete system,

play11:02

not only the processors but the complete system

play11:05

are coupled together and they form a cluster.

play11:08

So, the is what we mean by this cluster system.

play11:11

So, this system provides high availability.

play11:14

Now you may have already guessed why it provides high availability.

play11:17

that is because we have more than one system coupled together.

play11:21

So even if one fails,

play11:23

the rest of the system together can take care of the task

play11:26

that was being accomplished the one that failed.

play11:29

So you are not having complete system failure even if one or two fail.

play11:33

Because there are others that can take care of the system.

play11:37

So, a chance of complete failure is very less.

play11:40

that is why we say that, it provides high availability.

play11:43

and even in this clustered system,

play11:45

this can be structured either asymmetrically or symmetrically.

play11:49

So, just like our multiprocessor system,

play11:51

even this clustered system can be structured either

play11:54

asymmetrically or symmetrically.

play11:56

so, in asymmetric, what happens?

play11:59

So in asymmetric, one machine is in hot-stand by mode,

play12:03

and the others run the applications.

play12:06

So we know that in asymmetric mode,

play12:08

what we have is 'master-slave' approach.

play12:11

So even in this one, one machine

play12:13

it is in a hot-standby mode, so that is like the master.

play12:16

then the other systems run the applications.

play12:20

So, this machine in hot standby mode monitors the other server

play12:25

So the other systems which are running

play12:27

And if it finds that some of them fail

play12:29

if let's say one of them fails

play12:31

this machine in the hot-stand by mode will take its place.

play12:34

So, one is monitoring and the rest of them are running.

play12:38

and then in symmetric mode, two or more hosts run applications

play12:43

and they monitor each other.

play12:44

So, unlike this were one is monitoring, here all the systems or the host

play12:50

are running the application or involved in certain task.

play12:53

And instead of one system is monitoring everyone,

play12:56

here all the systems are monitoring each other.

play12:59

If you think which is better? asymmetric or symmetric?

play13:02

Obviously it is the symmetric one.

play13:04

that is because here, all the resources can be shared and used efficiently

play13:09

as compared to the asymmetric structuring.

play13:11

So, that was about the clustered system.

play13:14

So, those were the type of computer systems

play13:16

based on the number of general purpose processors.

play13:19

We discussed about the single processor system,

play13:22

multiprocessor system, and clustered system.

play13:25

And we also saw the advantages of one over the others.

play13:29

And we have also seen the types of these systems.

play13:33

So, I hope you understood these types of computer systems

play13:36

based on the number of general purpose processors.

play13:38

I hope this was clear to you.

play13:40

Thank you for watching and see you in the next one.

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Operating SystemsComputer ArchitectureSingle ProcessorMultiprocessorClustered SystemSystem PerformanceThroughputEconomy of ScaleReliabilitySymmetric vs AsymmetricHigh Availability