Introduction This is a commonly asked question in operating systems design. In this post, I am going to provide few examples to clarify the difference between policy and mechanism in OS. Let us first explain what policy and mechanism stand for. Definition Given a particular task, policy refers to what needs to be done (i.e.
Introduction The purpose of this short post is to explain operating system’s page table vs inverted page table, mention their advantages and disadvantages in an easy to follow manner. Many students and beginners do not get the point behind these two concepts so my intention here is to clear any possible confusion rather than dive
Introduction I highly recommend that you check out the following article to get a quick idea about different terms used in operating systems with regard to concurrency, multitasking and threading. Back to our topic, In this short post, I am going to demonstrate the use of mutex in python. Let us get started. What on
Introduction Finding differences between two terms may imply that we are aware of what each individual term stands for yet the purpose of comparison is just seeking a better way of understanding. I think that is true to some extent however I also noticed that there are people who ask the “difference between x and
This is a commonly asked question that sadly confuses many computer science students. Confusion comes from the fact that the literal meaning of the two terms is very close. Also, the historical context of the two terms does not help much as different people use the terms differently. In this post I am going to
Introduction Before we start, I recommend that you read this post first. It talks about concurrency in operating systems and clarifies the main difference between multitasking, multithreading, multiprogramming and multiprocessing. If you are done, let us proceed and define some relevant terms so that things are put into perspective. In this article, I am targeting
System Call In order to better understand the difference between different call types, let us set some context for discussion. We are referring here to modern operating system (OS) design concepts. So, what are the main goals of having an OS in the first place ? Well, the OS achieves two primary goals for users.
Introduction Computer operating systems have been around for more than half a century so there is not much to add to the definition. Whether you are in the software industry or the academia, I assume you know what an operating system means but in few words an OS is the piece of software that sits
If it happens that you are confused by comparisons like the ones listed below then you came to the right place so please proceed and read the entire article for a better overview: Multiprogramming vs multiprocessing Multitasking vs multiprocessing Multitasking vs multithreading Introduction In the context of computing and operating systems, one might encounter many
Introduction The concept of virtual memory in operating systems refers to extending the physical memory (RAM) to the hard drive so that running processes behave as if there is unlimited address space. Paging means dividing the running process into equally sized logical pieces called pages so that only requested pages at the current execution time