Uniprogramming memory management technique
The least difficult memory management technique is uniprogramming memory management. It was exemplified by the Pep/8 operating system. The operating system dwells toward one side of memory, and the application resides at the opposite end. The system executes just single job in each turn.
Since each activity will be stacked at a similar spot, the interpreters can create object code in like manner. For instance, the Pep/8 assembler computers the images for the symbol table expecting that the first byte will be stacked at address 0000 (Hex value) or if the program contains a consume order, it accept that the last byte will be stacked at the address at the base of memory.
Additionally, Uniprogramming implies one program sits in the primary memory at once. Uniprogramming was utilized in old computers and mobiles. At the point when the PC begins then the operating system and application programs are stacked into main memory. We just include client programs running in RAM. RAM is additionally called primary memory.

In operating system older versions only single program runs on the computer in turn. Either of the browser, calculator or word processor runs one after another. These kinds of operating system where each program runs in turn are known as Uniprogramming working system.
Also See: Memory Fragmentation In Operating System
Uniprogramming examples
- Batch handling in old computer and mobiles
- The computers older version operating system
- Old portable working system
Advantages of uniprogramming memory management
- The system of uniprogramming memory can be a small unit so it is easy to design.
- Uniprogramming memory management system is moderate without bug.
- It additionally executes with minimal overhead.
- Once an application is stacked, that application is ensured 100% of the processor’s time, since no different procedure will intrude on it.
- Uniprocessing memory management systems are suitable for the embedded system.
Disadvantages of uniprogramming memory management system
- The essential weaknesses are the wasteful utilization of CPU time and the rigidity of employment planning.
- Compared to fundamental memory, disk memory has long access time.
- If the application executes a read from the circle, the CPU will stay inert while trusting that the plate will convey the input information.
- The time could more readily be utilized executing another client’s activity.
- Users can endure some misuse of CPU time in a microcomputer, yet in computers that costs association hundreds and thousands of dollars clients can’t, particularly in a multiuser framework in which different procedures are executing simultaneously.
Multiprogramming memory management technique
In multiprogramming, numerous programs reside in primary memory (RAM) at once. The operating system which handles numerous projects one after another is known as a multiprogramming working framework. One processor or CPU can just run each procedure in turn. Operating system use setting exchanging in principle memory for running numerous projects. Setting exchanging is to switch programs so all projects are given a reasonable measure of time. The operating system can deal with just a set number of projects. If we run many programs on the computer or mobile then the computer becomes very slow or unresponsive.
Also check: Memory Management Techniques in Operating System
Example of multiprogramming
Modern operating systems like Windows XP and Windows 7,8,10
Advantages of multiprogramming memory management
- High CPU utilization.
- It creates the impression that numerous programs are designated CPU simultaneously.
Disadvantages of multiprogramming memory management
- CPU scheduling is required.
- To accommodate several jobs in memory, memory management is essential.
Uniprogramming vs multiprogramming
In Uniprogramming just one program sits in main memory so it has a small size. Be that as it may, on account of multiprogramming main memory needs more space. Uniprogramming system runs easily as just each undertaking is run in turn. The moderate processor can likewise function admirably in Uniprogramming however in multiprogramming processor should be quick. In multiprogramming enormous space of RAM is required. A fixed-size segment is utilized in Uniprogramming. Both fixed and variable size segments can be utilized in multiprogramming system.
Difference between uniprogramming and multi programming
Uniprogramming memory management | Multiprogramming memory management |
At a time, only one process can be in the main memory. | More than one process can be in the main memory at a time. |
Throughput decreases because CPU, idle time is more. | Throughput increases, as CPU’s time is efficiently used. |
như cac