Transcript for:
Overview of Computer System Architecture

in the previous lectures we have been studying about the basics of operating system and we have seen things like computer system operations and we have also seen structures like storage structures and input/output structures now in this lecture we'll be studying about computer system architecture and mainly about types of computer systems based on number of general-purpose processors that means we are going to study how we can categorize computer systems based on the number of general-purpose processors that they use all right so let's see how we can categorize our computer systems based on the number of general-purpose processors that they have so first of all we have single processor systems which from the name itself you may already have understood that it has only a single processor and then we have the multiprocessor systems in which there are two or more processors and then we have the clustered systems in which two or more systems are coupled or clustered together in order to perform certain tasks now let us explain each one of these systems and see what are their differences and what are the advantages of them and what are the types of this processor systems that we have so first of all we have the single processor system so in the single processor system one main CPU capable of executing a general-purpose instruction set including instructions from user processes is present that means in this single processor system we only have one main CPU which is capable of executing the general-purpose instruction sets as well as the instructions from the user processes now other special-purpose processors are also present which perform device specific tasks now in the single processor system apart from the main CPU there are also other processors which are present which does not do the general-purpose task but it performs some device specific tasks now what do we mean by this this means that we have certain devices in our computers like our keyboard our disk and so on so for all this there may be some microprocessor which is specified to do a specific task relate to that device like for example let's say that we have our keyboard now when you press a key on your keyboard the keystroke has to be converted to some kind of code let's say a binary code so that the computer actually understands what you have pressed or what you are typing so in order to convert that keystroke to a code there is a little microprocessor present on your keyboard which is going to perform only that task of converting your keystrokes to some kind of codes now those are the special-purpose processes that we are talking about so this kind of special purpose processors are also present but they are not for general purpose but for specific purposes now you may question me saying that I said it is a single processor system but here I have already showed you more than one processors I said that there is a general-purpose processor and also special-purpose processor yes that is right but the answer to this is that we give the name to this processor systems based on the number of general-purpose processors that we have so even though there are special purpose processors which performs some little task specific to the devices but since we have only one general-purpose processor we call it a single processor system so that is why we call it single processor system all right now let's go to the next one so the next one is multiprocessor system so from the name itself we can understand that in this there will be more than one processors or we can say there are two or more processors and also it is known as parallel systems or tightly coupled systems so this multiprocessor systems are also known as parallel systems or tightly coupled systems and these two terms will be discussing later as we move ahead in this subject so this multiprocessor systems they have two or more processors in close communication sharing the computer bus and sometimes a clock memory and peripheral devices so unlike the single processor system which had only a single processor in this multiprocessor system we have two or more processors which are closely communicating with each other because they need to work together to perform certain tasks and what are those tasks they may be a single task or different tasks depending on the kind of system that we have so in order to work together they need to have a close communication and synchronization with each other so that is why we said that they are in close communication and they also share the computer resources that we have now let us see what are the advantages of having this multiprocessor systems over single processor systems so coming to the advantages the first advantages increased throughput so throughput is something that we can use to measure the performance of our system so sometimes it is also known as the amount of data that can be transferred from one location to another so throughput is like the measure of the performance of the system so we can say that in multiprocessor systems we will have increased throughput or increased performance and why is that the answer is simple that is because we have more than one processors which will parallely do our work and it will make it faster and more efficient so that is what we mean by increased throughput and then the second advantage is economy of scale now why do we call it economic I say that multiprocessor systems are more economic as compared to the single processor system and that is because in multiprocessor systems we have this different processors sharing the resources of our computer or our system but in case of single processor system if you want to have the same amount of power you may need to have multiple single processor systems with their own individual resources but here we see that we have multiple processors sharing the resources so in that way we can have economy of scale that means it is more economic as compared to single processor system so if you have a multiprocessor system with three processors and if you want to have the same kind of setup in your single processor system you may need to have three single processor systems three individual single processor systems with their own individual resources so we see that this is more economic and then the other advantages increase reliability now this is more reliable as compared to single processor system and why is that the reason is again the same because we have more than one processors and why is it reliable that is because in this multiprocessor system even if a single processor fails we still have other processors which will back us up and which will still keep us running so let's say that you have 10 processors in your multiprocessor system and let's say that one of them fails so even if one of them fails the remaining 9 can share the work that was being done by the one that is failed and without giving you a complete failure your system will still work even though the performance may reduce a bit but in case of single processor system if your single processor fails that means it is a total failure your whole system breaks down but in multiprocessor system even if one fails the remaining can help to get the work done without causing a total failure of the system so that is why we say that it is more reliable and it has increased reliability as compared to the single processor system alright so those were the advantages of multiprocessor systems now let us see what are the types of multiprocessor systems that we can have so basically there are two types of multiprocessor systems first one is called symmetric multiprocessing and the second one is a symmetric multiprocessing now let us see what are the difference between these two type of multi processing systems so in symmetric multiprocessing we have our different processors here CPU 1 2 & 3 denotes the different processors that we have and processes P 1 P 2 and P 3 these denotes the processes that has to be executed now in symmetric multiprocessing all these CPUs or all these processors they are actually the same that means they are similar to each other and they all participate in performing these tasks or processes P 1 P 2 and P 3 so all the CPUs are involved in all these tasks so that is known as symmetric multiprocessing now in a symmetric multiprocessing unlike this one where the CPUs 1 2 & 3 where similar to each other here we have a master slave approach so here this boxes denotes the CPUs so one of the CPU or one of the processor will act as a master and the remaining processors will be slave so the master what it does is it monitors this other processors and it assigns the tasks for these processors so the master is like a monitor which is guiding or supervising these other slaves and then the slaves they take care of particular processes so let's say here's slave one is taking care of process number one slave two for p2 and slave three for p3 and we see that slave one is only taking care of process P 1 and process P 1 is not taken care of by slave 2 or slave 3 so P 1 is only for slave 1 and so is p2 and p3 for slave - and slave 3 respectively and here also if something fails the master will take care of how to distribute the load after one fails and things like that so the master is the monitor and the rest are the slaves but in symmetric multiprocessing we see that there is no master slave approach but all the processors are peers or they are similar to each other and they are all involved in all the tasks that is present so that is a difference between symmetric multiprocessing in a symmetric multiprocessing now let us come to the next type of computer system that we have based on the number of processors which is the clustered systems so in this cluster systems like multiprocessor systems cluster systems gather together multiple CPUs to accomplish computational work so this is also somewhat similar to our multiprocessor systems so here the cluster system they gather together multiple CPUs to accomplish computational work now you may be thinking if that is the case then what is the difference between multiprocessor system and clustered systems so the difference is that they are composed of two or more individual systems coupled together so in multiprocessor system what we had was two or more processors so only the processors were the multiple things that we had but in clustered system we have the complete system that is coupled together that means two or more individual systems that means complete systems not only the processor but the complete systems are coupled together and they form a cluster so that we mean by this clustered systems so this system it provides high availability now you may have already guessed why it provides high availability that is because we have more than one systems coupled together so even if one fails the rest of the systems together can take care of the task that was being accomplished by the one that failed so you are not having a complete system failure even if one or two fails because there are others that can take care of the system so a chance of complete failure is very less that is why we say that it provides high availability and even in this cluster system this can be structured either a symmetrically or symmetrically so just like our multiprocessor systems even this clustered system it can be structured either as symmetrically or symmetrically so in a symmetric what happens so in SME trick one machine is in a hot standby mode and in the others run the applications so we know that in a symmetric mode or we are having is a master/slave approach so even in this one one machine it is in a hot standby mode so that is like the master and then the other systems they run the applications so this machine in hot standby mode what it does is it monitors the other servers or the other systems which are running and if it finds that some of them fails or if let's say one of them fails this machine in the hot standby mode will take its place so one is monitoring and the rest of them are running and then in symmetric mode what happens is two or more horse run applications and they monitor each other so unlike this where one is monitoring here all the systems are all the hosts that are there they are running the application so they are involved in certain tasks and instead of one system monitoring every one here all the systems they monitor each other so if you think which is better asymmetric or symmetric obviously it is a symmetric one that is because here all the resources can be shared and used efficiently as compared to the asymmetry structuring so there was about the clustered systems so those were the types of computer systems based on the number of general-purpose processors we discuss about single processor system processor system and clustered systems and we also saw the advantages of one over the others and also we have seen the types of these systems that we have so I hope you understood these types of computer systems based on the number of general-purpose processors and I hope this was clear to you thank you for watching and see you in the next one [Applause] [Music]