Multitasking,Multi programming & Multiprocessing




Multitasking (Time sharing)


Multitasking has the same meaning of multiprogramming but in a more general sense, as it refers to having multiple (programs, processes, tasks, threads) running at the same time. 

This term is used in modern operating systems when multiple tasks share a common processing resource (e.g., CPU and Memory).

Multitasking:As the name itself suggests, multi tasking refers to execution of multiple tasks (say processes, programs, threads etc.) at a time. 

Ex: In the modern operating systems, we are able to play MP3 music, edit documents in Microsoft Word, surf the Google Chrome all simultaneously, this is accomplished by means of multi tasking.

Multitasking is a logical extension of multi programming.

Multi programming 

In a modern computing system, there are usually several concurrent application processes which want to execute. 

Now it is the responsibility of the Operating System to manage all the processes effectively and efficiently.

One of the most important aspects of an Operating System is to multi program.

In a computer system, there are multiple processes waiting to be executed, 

i.e. they are waiting when the CPU will be allocated to them and they begin their execution. These processes are also known as jobs. 



Now the main memory is too small to accommodate all of these processes or jobs into it. 

Thus, these processes are initially kept in an area called job pool. This job pool consists of all those processes awaiting allocation of main memory and CPU.

CPU selects one job out of all these waiting jobs, brings it from the job pool to main memory and starts executing it.

The processor executes one job until it is interrupted by some external factor or it goes for an I/O task.

Multiprocessing 

In a uni-processor system, only one process executes at a time.

Multiprocessing is the use of two or more CPUs (processors) within a single Computer system. 

The term also refers to the ability of a system to support more than one processor within a single computer system. 

Now since there are multiple processors available, multiple processes can be executed at a time. 

These multi processors share the computer bus, sometimes the clock, memory and peripheral devices also



Within the past several years, multiprocessor systems (also known as parallel systems or multicore systems)

The multiple-processor systems in use today are of two types. Some systems use asymmetric multiprocessing, in which each processor is assigned a specific task.
A boss processor controls the system; the other processors either look to the boss for instruction or have predefined tasks. This scheme defines a boss–worker relationship.

The most common systems use symmetric multiprocessing (SMP), in which each processor performs all tasks within the operating system.
A recent trend in CPU design is to include multiple computing cores on a single chip. Such multiprocessor systems are termed multicore.

Comments

  1. நல்ல முயற்சி வெற்றியடைய வாழ்த்துக்கள்

    ReplyDelete
  2. Keep blogging sir. We want more from you.

    ReplyDelete
  3. It's good sir, keep going sir.
    We expecting more from you sir.

    ReplyDelete
  4. It's good sir, we are expecting more from you

    ReplyDelete
  5. understandable and clarified my doubts.......

    ReplyDelete
  6. Multi Tasking,Multi Processing and Multi Programming Are Confused. Whats Are The Different Between These Three.

    ReplyDelete
    Replies
    1. Multiprogramming is based on CPU and i/o intensive... but multi tasking is based on time slice....

      Delete
  7. Multi Tasking,Multi Processing and Multi Programming are easy to understand sir..........

    ReplyDelete
  8. I easily understand the concept and the difference between multi programming , processing and tasking ...thank you sir ...

    ReplyDelete
  9. Multitasking, multi processing and multi programming with nice examples... It is easy to understand Sir and there are two types in multi processing that is symmetric multiprocessing and asymmetric multiprocessing that point are very nice Sir

    ReplyDelete
  10. Sathishkumar KarupusamySeptember 15, 2019 at 11:34 PM

    Quite interesting. We are expecting more from you with examples sir. Anybody can understand the difference between the above mentioned areas. Keep posting and inspiring us professor.

    ReplyDelete
  11. Emperor Casino: 100 Free Spins | Play Now!
    Play Emperor Casino 카지노 for real money septcasino with no deposit 제왕카지노 &/or withdrawal needed, just start playing now! Find great bonuses, live casinos, bingo & games at the best

    ReplyDelete

Post a Comment

Popular posts from this blog

Buffering, Polling & Spooling

(PCB) or Task Control Block (TCB)