Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between Swapping and Paging?

Answers were Sorted based on User's Feedback



What is the difference between Swapping and Paging?..

Answer / bob

Swapping occurs when whole process is transferred to disk,
while paging is when some part of process is transferred to
disk while rest is still in physical memory. There are two
utilities to monitor memory, called vmstat (for bsd, etc),
sar( for system V, etc). Page-ins and page-outs are pages
moved in and out from physical memory to disk, swap-ins and
swap-outs are processes moved in and out of disk.

Is This Answer Correct ?    104 Yes 16 No

What is the difference between Swapping and Paging?..

Answer / kingmaker

Swapping:
Whole process is moved from the swap device to the main
memory for execution. Process size must be less than or
equal to the available main memory. It is easier to
implementation and overhead to the system. Swapping systems
does not handle the memory more flexibly as compared to the
paging systems.

Paging:
Only the required memory pages are moved to main memory
from the swap device for execution. Process size does not
matter. Gives the concept of the virtual memory.

It provides greater flexibility in mapping the virtual
address space into the physical memory of the machine.
Allows more number of processes to fit in the main memory
simultaneously. Allows the greater process size than the
available physical memory. Demand paging systems handle the
memory more flexibly.

Is This Answer Correct ?    40 Yes 8 No

What is the difference between Swapping and Paging?..

Answer / manoj from sai college amritsa

paging::::

In computer operating systems there are various ways in
which the operating system can store and retrieve data from
secondary storage for use in main memory. One such memory
management scheme is referred to as paging. In the paging
memory-management scheme, the operating system retrieves
data from secondary storage in same-size blocks called
pages. The main advantage of paging is that it allows the
physical address space of a process to be noncontiguous.
Prior to paging, systems had to fit whole programs into
storage contiguously which caused various storage and
fragmentation problems.[1]
Paging is an important part of virtual memory implementation
in most contemporary general-purpose operating systems,
allowing them to use disk storage for data that does not fit
into physical Random-access memory (RAM). Paging is usually
implemented as architecture-specific code built into the
kernel of the operating system.

Is This Answer Correct ?    20 Yes 5 No

What is the difference between Swapping and Paging?..

Answer / manojkumar

"when whole process is transferred to disk"

In which situation process transfer to disk?Why it has to
trasfer to disk?how it collect back from disk?Wheter disk
is going to do any work?
Plese answer me.
Advance thanks.

Is This Answer Correct ?    13 Yes 19 No

Post New Answer

More Unix AllOther Interview Questions

HOW DO CREATE A NFS FILE SYSTEM

4 Answers   Mind Tree,


How to connect oracle database from unix

6 Answers   Cap Gemini, IBM, Wirecard,


If your linux machine shows a ~(tilde) in most filenames on your dos or windows partition,what is the mistake you have made?How do you get back the long filenames?

2 Answers  


What is the number of the masked code ee@?

2 Answers   Accenture, Amazon, Amdocs,


What is the difference between a soft link and a hard link?

1 Answers  


What are the read or write or execute bits on a directory mean?

2 Answers  


What is file constructing in UNIX/AIX ?

2 Answers   IBM, TCS,


Name key files or directories on a UNIX system that should always be backed up?

1 Answers  


What does iostat do?

4 Answers   IBM,


How to put a job in background & bring it to foreground?

3 Answers  


What does init do? What does inetd do?

1 Answers  


What is a Region?

1 Answers  


Categories