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...


why do you need to have a swap file system?



why do you need to have a swap file system?..

Answer / monu verma

Linux systems run better with a swap file, even when you
have plenty of RAM. The technical reason is that it's
sometimes easier to swap out "dirty" data than it is to
write it to peoperly to the disk.

In general, Linux will fill up as much of your memory as it
can, in the hope that those little bits might be needed. You
might as well use it (RAM). You paid for it. If it's all
filled up, then at some point, you're going to have to free
some of it up.

Data may be sitting around in RAM waiting to be written to
disk in an efficient and orderly process. This is called
"dirty" data. Sometimes, just because of the way it works,
it's faster and easier to leave the "dirty data" in memory,
but transfer it to swap, thereby freeing physical RAM.
Ideally, it would be best to just free it from RAM entirely,
but this gives the kernel another option.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Unix AllOther Interview Questions

What is 'inode'?

11 Answers   Infosys,


What does the ?route? command do?

2 Answers  


What is the difference between windows environment and Unix environment ?

8 Answers   Oracle,


why do you need to have a swap file system?

1 Answers  


What is a FIFO?

2 Answers  


What is the difference between > and >> operators?

6 Answers  


what is mean by kernal?

9 Answers   Excel,


how to create a file system quota in HP-UX?

1 Answers   HCL,


What are setuid/setgid in relation to file permissions?

2 Answers   Cap Gemini, IBM,


What is mutex?

2 Answers   BMC,


differentiate between named & unnamed pipe.

11 Answers   Cisco, IIT, ISEC,


What is paging?

2 Answers   BMC,


Categories