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 |
If Media Server fails. What are the steps to be followed? Can anyone please reply for this question Thanks, Ganesh
How do you execute a UNIX command in the background?
How do you create special files like named pipes and device files?
What is the difference between internal and external commands?
13 Answers BPL, DOEACC, Engro, Kuvempu University, NIIT, TCS,
What does init do? What does inetd do?
How to give root privileges without using SU/sudor ?
Explain about Inodes?
Explain the read, write, and execute permissions on a UNIX directory.
What is a FIFO?
How to remove weird filenames?
What is ant_build.sh? Have u seen that file?
What does the ?route? command do?