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

in unix how to change old name to new name

5 Answers  


How does the inode map to data block of a file?

3 Answers  


very first process created by kernell?

4 Answers   TCS,


what is the time for incident, problem and change management tickets?

0 Answers   CGI,


What are the processes that are not bothered by the swapper? Give Reason.

1 Answers  






How do you execute a UNIX command in the background?

2 Answers  


I am new to Unix and Unix Shell scripting could you guide me on how to go about these subjects and where to start from with concern to Oracle?. I also would like to know where does UNIX shell Scripting help in terms of development of a application in Oracle? I have no clue in the subject so do help me. Thank You Neelima

0 Answers  


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

1 Answers  


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

1 Answers  


How many VI editor modes do you know?

8 Answers   Infosys,


hi.when will u come to klnce 4 campus interviews??/

0 Answers  


What is a pipe?

18 Answers   Fichtner,


Categories