Preview

Cooperative vs. Preemptive Multitasking

Good Essays
Open Document
Open Document
363 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Cooperative vs. Preemptive Multitasking
In my search to discover the similarities and differences between the cooperative and preemptive multitasking methods, I have been hard-pressed to find an abundance of material. From what I can discern, there are no true similarities between the two, other than the obvious: both are multitasking methods, both require use of an operating system, etc. Differences, however, abound.

Cooperative multitasking is, for the most part, obsolete. In this method, each process periodically checks with the operating system to determine whether or not another program or process is in need of the CPU. Should this be the case, the currently running program will relinquish control to the operating system, which in turn assigns priority to the next program or process. The major downside to this type of processing is that each program may have a subjective view of the aforementioned "periodically". Thus, if another program is in immediate need of the CPU and the current program has not yet checked with the operating system to determine if it should halt, system resources are monopolized by whatever program is currently active. In this manner, should an error occur in the current program before it "checks in" with the OS, it may terminate as well as failing to relinquish control of the CPU, resulting in total OS failure. This was the case with older operating systems, most notably Windows 3.x.

In the preemptive method, the OS maintains total control over prioritizing system processes. The OS maintains a static priority list of currently running programs and processes; adding programs to the list as they are loaded into resident memory, removing them as they complete or are closed, and modifying the pre-assigned priority level of any program already on the list. In this way, programs are essentially "unaware" of one another, never having to pause for the current process to "check in" with the operating system. This speeds up overall processing time in itself. Additionally, the

You May Also Find These Documents Helpful

  • Satisfactory Essays

    I have always had this idea that me being a mono-tasker makes me seem less intelligent than your average texting-and-driving, tweeting-and-doing homework multitaskers. However, after watching the short videos, and the PBS documentary, I am reassured that multitasking is not always a good skill to have, not when you're doing something that requires cognitive skills and physical effort (math, writing, studying, driving).…

    • 318 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The article “How to Do One Thing at a Time” states that seemingly harmless multi-tasking isn’t as harmless or efficient as we’d like to believe. A study at Stanford University showed the results of multi-tasking. Two groups of students were asked to coincide chatting, writing a short essay and arranging a music play list all in 30 minutes. One group multi-tasked while the other focused on each task individually for 10 minutes each consequently, in the reading the author states a memory test proved “the single-taskers did significantly better than their multi-tasking peers”.…

    • 558 Words
    • 3 Pages
    Good Essays
  • Good Essays

    As people we love to do as many things as we can at once. We text, and tweet, and snapchat, and talk, and watch tv, and all while cramming for our midterm. Everyone of us has done this. I, myself, like many of you, believe that I am quite talented at it. But, that's not true, none of us are. Our minds aren't made to juggle ten things at once. Multitasking does more harm on our brains than good, whereas monotasking helps create quality work efficiently and is a better option for all people.…

    • 632 Words
    • 3 Pages
    Good Essays
  • Good Essays

    11. An OS’s capability to run more than one application or process at the same time is referred to which of the…

    • 2490 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    Multi Tasking can mean performing two tasks simultaneously. It can also involve switching back & forth from one task to another.…

    • 529 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    I also tend to avoid multitasking and prefer concentrating on one activity at a time. I agree with you that there are many people who are trying to do the multitasking by texting or calling and driving at the same time, and every time I see them, I feel uncomfortable. I know that multitasking would make completing daily activities more efficient because it could save your time. However, I feel it would disturb me a lot when I try to concentrate on doing something important. I used to like listening to music while studying because I felt it helps me feel less boring, but I found myself only listening to music instead of studying or doing homework at some point. I agree that exercising and listening to music together would not disturb…

    • 185 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Is Multitasking Effective

    • 2592 Words
    • 11 Pages

    What is multitasking anyway? Is multitasking good or bad for us? Multitasking is one of those subjects that the experts never seem to be able to agree on. Is it a positive attribute to boast about on resumes, or is it a risky habit that is harmful to those with attention issues? Is there areas in life—at home, in the office, in the classroom—where multitasking is OK, and others areas where it is not? Multitasking is all around us: the office worker interrupted by a phone call, the teenager texting while driving, the salesperson chatting while entering an order. When multitasking, the mind juggles all the many tasks we're doing this second, this hour, this week, and tries to perform them together,…

    • 2592 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    Multitasking is trying to do multipule projects at one time, and everyone does it. Like right now I am writing this paper while trying to listen to music, eat breakfast, and drink hot tea. The whole reason I am doing all of this is becaise I have too much work to do, and it was put off till I had to do it all at the same time. This happens to a lot of people, they put work to the side and when it comes time forit to be due they are trying to finish it all at the same time. People just have too many things to do and not enought time for one person to finish.…

    • 665 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Multitasking

    • 989 Words
    • 4 Pages

    Now that technology has emerged as part of people's lifestyle, there is an increase of multitasking that is now part of our lives. In some people's perspective, multitasking can be seen as an advantage; for example, in the business world, constantly performing several tasks at once can lead to a drop in productivity. This has affected the way our brains function, it raises stress levels, and sometimes causes headaches or migraines. It may seem like multitasking is a method to finish quickly and to get tasks done throughout the day, but it really makes things harder to finish. When doing two or more tasks, a person makes more mistakes than when they just focus hard on one task. In fact, achieving too much at once will lead to negative side effects,…

    • 989 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Multitasking Experience

    • 399 Words
    • 2 Pages

    In the past years, people have been using the term Multitasking which is doing several tasks at once. Our brain is kind like a computer, but we need to be careful because when you set your brain to do several things because this just make burn your mind or “slow you down”. Based on my experience when I get to the house from picking up the kids from school, I always have to check on them because they start running into the house and fighting each other. While I'm doing the dinner, washing dishes also on the phone I feel like my mind is going to explode because is many things to worry at once. However, I do not think I'm the only who feel this way, so everyone that has to do several tasks at work goes crazy.…

    • 399 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Prior to this chapter of the book, I found Multi-tasking to be a great thing because it offers a lot of benefits. Multi-tasking saves time, it saves money. For example, if someone is working at a fast food restaurant where they require them to work very fast then Multi-tasking would be very beneficial to them. Also, multi-tasking increases productivity, and it prevents procrastination. I think that I am a very good multi-tasker because I work at Mcdonald's back home, and I usually take orders in drive-thru, and also take money at the same time. After trying the experiment from the textbook, my results were pretty similar to each other because I am so used to multi-tasking. I believe for some people that could be the hardest thing to do, but for…

    • 572 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The videos and articles about multitasking really brought attention to the problem of multitasking that I never wanted to accept. I am constantly multitasking, and as much as I hate to admit it, I know that it is not the best thing to do. First of all, when I multitask, I do not give the task at hand the amount of focus that it needs so it is usually not done at the best of my ability. Secondly, personally and as a culture, multitasking is making it more difficult to do a single task and it makes us bored more easily. If we do not have multiple forms of stimulation we get bored. I know I am not the only one who plays on their phone while they are watching television. Since I started that habit, I can’t even sit through a whole hour or half…

    • 264 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Cons Of Multitasking

    • 588 Words
    • 3 Pages

    To briefly summarize, multitasking involves performing multiple functions at once, typically using an array of communication devices and mechanisms. A worker may…

    • 588 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Essay on Co-Operation

    • 1311 Words
    • 6 Pages

    Co-operation is one of the most fundamental and associative process of social life. No society can exist without this. It is the root of human life. The term cooperation is the product of two Latin words i.e. 'C o'meaning 'together' and 'operari' meaning 'To work' Hence co-operation means '.joint work' of working together . In other words, co-operation literary means working together for the achievement of common goal or goals.…

    • 1311 Words
    • 6 Pages
    Good Essays
  • Good Essays

    . Description: Modern operating systems, by permitting more than one data processing task to be performed concurrently, make possible more efficient use of system resources. If a program that is being executed to accomplish a task must be delayed, for example, until more data is read into the computer, performance of some other completely independent task can proceed. The central processing unit can execute another program or even execute the same program to accomplish a different task. In the competition for system resources, such as main storage space or data sets (files), however, all multitasking systems are subject to a condition referred to as deadlock. This condition prevents the affected tasks from being carried out to completion. Several conditions must exist for tasks to become deadlocked. Consider a simple example involving only two tasks that are being performed concurrently. Assume that each task has been allocated a system resource which has been used in partially completing the task. Assume also that allocated resources are released only after completion of the task. If completing each task requires an additional resource and if the additional resource has been allocated to the other task, neither task can be completed; that is, task deadlock exists. Such impasses can arise in many forms involving many tasks, and when task deadlock does occur, there is no known general technique for correcting the condition. Problem: Case histories Acquiring for each job step, in turn, the resources required to This module actually issues the ATTACH macroinstruction, As shown in Figure 3. as the jobs were executed. Requests are fraught with deadlock…

    • 265 Words
    • 2 Pages
    Good Essays