answersLogoWhite

0


Best Answer

paging is the process of memory management in which memory is allocated in the non contiguous form,i.e. the program is break into block of fixed size known as page and also the main memory also break down into block of same size known as frame or page frame.

Now all this page are brought into the main memory but in the space available so they can be contiguous if they find whole space required by the program or if the space is available but in scattered form then they can give space in non contiguous form.

But in demand paging only those pages are brought into main memory which are required to execute the program at that time when a program need other pages it will swap out the unused pages from the main memory and swap in the desired page thus allowing it to execute the program though the space available is not sufficient to bring the whole program into main memory..................One of the problem arises due to demand paging is page fault which is caused due to required page not found in main memory for which we require swapping.

hey if you like my post don't forget to thank me.......

for any further queries e-mail me at

hemant_spidey3@Yahoo.co.in

or

1989hemantrajput@gmail.com

User Avatar

Wiki User

βˆ™ 14y ago
This answer is:
User Avatar
More answers
User Avatar

Mahendra Kathat

Lvl 2
βˆ™ 1y ago

Difference paging and demand paging

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the Difference between paging and demand paging in operating system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What difference between paging?

Difference between paging and what?


What is difference between demand paging n pure demand paging?

In demand paging, a page is not loaded into main memory until it is needed. In pure demand paging, even a single page is not loaded into memory initially. Hence pure demand paging causes a page fault. Page fault, the situation in which the page is not available whenever a processor needs to execute it.


Explain how virtual memory system using demand paging?

Demand paging is a process which involves the copying and relocation of data from a secondary storage system to random access memory (RAM), a main memory storage system. Demand paging copies and relocates data to facilitate the fastest access to that data. Once the data is relocated, demand paging sends a command to the operating system to inform it that the data file or files are now ready to be loaded. Demand paging is performed on demand, or after a command has been sent to retrieve specific data.


What is a Difference between default paging and custom paging?

Default paging is what it already comes with. It is a pre-made template, while custom paging would be ones on ideas and creativity.


What is difference between paging and swapping?

Nothing -- they are the same thing.


What is demand paging in Unix?

In computer operating systems, demand paging is an application of virtual memory. In a system that uses demand paging, the operating system copies a disk page into physical memory only if an attempt is made to access it (i.e., if a page fault occurs). It follows that a process begins execution with none of its pages in physical memory, and many page faults will occur until most of a process's working set of pages is located in physical memory. This is an example of lazy loading techniques.


The technique of swapping items between memory and storage?

It is paging.


When an operating system spends much of its time paging it is called?

Thrashing


What is a memory characteristic where an application can request a specific item from memory?

Demand Paging


What is demand paging in operating system?

It is a memory managermnet concept where the operating system copies the dats from the disk space to the main memory (RAM) only when is trying to access the page. it is like we have to attempt the page again, when the page fault has occured while trying to get the data.


Why paging is needed?

Paging is a way for the operating system to load data from a storage device onto RAM. When there is insufficient amount of space in RAM and if a page file is enabled, it will swap data between RAM and the swap file (typically on a storage device).


What is design issue of paging?

The design issue of paging is written as the Design Issues for Paging Systems. The Design Issues for Paging Systems helps sort out design issues in the start up of paging systems which require pages being loaded as needed, pages opened on demand, and programs being ran until there is a page fault.