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

  • Good Essays

    One of the key functions of an operating system is the process management. Linux OS system is very dynamic with constantly changing computing needs. These needs tend to be centered on the process. Processes can be either long or short lived, so managing these processes is very important. Linux incorporates a very flexible design which contains a separate unit to take on the process management task. In a Linux operating system processes are created and represented by an allocated task_struct.…

    • 749 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 3 Os

    • 1341 Words
    • 6 Pages

    +• Synchronization: With multiple active processes having potential access to shared address spaces or shared I/O resources, care must be taken to provide effective synchronization. Synchronization is a facility that enforces mutual exclusion and event…

    • 1341 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Answer: Its main priority is to detect the vulnurabilities on the tested systems such as follows:…

    • 692 Words
    • 3 Pages
    Satisfactory 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
  • Better Essays

    IT 600 Module One Lecture

    • 1256 Words
    • 5 Pages

    Since a CPU can run only one process at a time, process management must handle the…

    • 1256 Words
    • 5 Pages
    Better 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
  • Satisfactory Essays

    People want to save time, so they can have more free time. They are using technology to achieve their goals because, with the technology, they can manage their work and do it faster. “People who are continually distracted by email, alerts, and other messages understand less than who are able to concentrate” para 2, Dose the internet make you dumber? (Carr, 2010). This is mean people who use many things at the same time as technology, they understand less than people who use one thing and focus in it. But Pinker says, ““Genuine multitasking, too, has been exposed as a myth, not just by laboratory studies”. (2010). This is mean multitasking is considered as a story but not true, not just something people study and do in a lab. This is important…

    • 301 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The Myth of Multitasking

    • 279 Words
    • 2 Pages

    The Myth of Multitasking, an article by Christine Rosen expresses peoples’ attempt to work like computers; executing multiple tasks concurrently in a shorter time span. Multitasking is the ability to swing attentions in between tasks by evaluating the importance of the tasks on hand and prioritising them.…

    • 279 Words
    • 2 Pages
    Good 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

    multitasking

    • 308 Words
    • 2 Pages

    When we multitask, we harm ourselves and don't do things as well as we would if we were focused on a single task. According to the author, "a recent article published in the science journal Neuro Image revealed that when we attempt demanding task simultaneously,we ended up doing neither as well as we should because our brains have cognitive limits". In other words,the author is trying to say that is better to do one thing at a time than multitasking because the brain will work better, and if we are multitasking,we will have a worse memory. For example, sometimes at my job, I have to multitask. This made my memory worse because I try to do three or more jobs at once, like holding wires, connecting them, connecting outlets talking on the phone, and making sure other people are doing their job right, and at the end of the day, i forget to do an important job. Just like tge article says, it is better to have our brain concentrated on once thing at the time to do a good job and avoid any harm to ourselves or others.…

    • 308 Words
    • 2 Pages
    Satisfactory 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
  • Satisfactory Essays

    multitasking

    • 656 Words
    • 3 Pages

    NYTimes.com. The New York Times - Breaking News, World News & Multimedia. Retrieved October 18, 2013, from http://www.nytimes.com/2008/10/25/business/yourmoney/25shortcuts.html?pagewanted=all…

    • 656 Words
    • 3 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
  • 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
  • Satisfactory Essays

    In my daily life I perform many multitasking in basic work. I know multitasking together is bad for me, but I was addicted to this. However, when I was doing something important work where I have to concentrate properly then I avoid to do multitask. Because, we all understand that multitasking doesn’t work at same time. Our brains are unskillful during focused on more than one activity at a same time. We would assume we tend to do multitasking as we examine our email whereas on a phone call, however we’re not. We are truly switch-tasking just for shifting attention from one issue to a different and so back again. So, we may assume that we are making and perform two or a lot of activities at a same time causes us to a lot of productive, however,…

    • 403 Words
    • 2 Pages
    Satisfactory Essays