Tuesday, May 28, 2013
Concept of page fault in memory management
Posted by
Sunflower
at
5/28/2013 03:00:00 PM
0
comments
Labels: Address, Fault, Hardware, Invalid, Main Memory, Major, Memory, Memory management, Minor, Operating System, Page Fault, pages, Physical, Processor, program, Software, Types, Virtual Memory
|
| Subscribe by Email |
|
Tuesday, May 21, 2013
Define the Virtual Memory technique?
What is Virtual Memory technique?
Posted by
Sunflower
at
5/21/2013 05:40:00 PM
0
comments
Labels: Contiguous, CPU, Fragmentation, Hardware, Kernel, Memory, Memory management, Multitasking, Operating Systems, Physical, Process, Secondary, Space, Storage, Technique, Virtual, Virtual Memory
|
| Subscribe by Email |
|
Friday, January 22, 2010
Introduction to Swapping
When the physical memory in the system runs out and a process needs to bring a page into memory then the operating system must decide what to do. It must fairly share the physical pages in the system between the processes running in the system, therefore it may need to remove one or more pages from the system to make room for the new page to be brought into memory. How virtual pages are selected for removal from physical memory affects the efficiency of the system.
Swapping is the one of the efficient regular and authentic approach of memory management. It is the process of swapping of higher priority process on the lower priority process.
Advantages of swapping are as follows :-
1. Higher degree of multi-programming.
2. Dynamic relocation.
3. Greater memory utilization.
4. Priority based scheduling.
5. Less wastage of CPU time.
6. Higher performance.
If the page to be removed came from an image or data file and has not been written to then the page does not need to be saved. Instead it can be discarded and if the process needs that page again it can be brought back into memory from the image or data file again. However, if the page has been written to then the operating system must preserve the contents of that page so that it can be accessed at a later time.
Linux uses a page aging technique to fairly choose pages which might be removed from the system. This scheme involves every page in the system having an age which changes as the page is accessed. The more that a page is accessed, the younger it is; the less that it is accessed the older it becomes. Old pages are good candidates for swapping.
Posted by
Sunflower
at
1/22/2010 09:57:00 PM
0
comments
Labels: CPU, Memory, Memory management, pages, Process, Swapping
|
| Subscribe by Email |
|