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 |
What is the difference between windows environment and Unix environment ?
how to raise a suncase?pls explain step by step?
Am using Mac OS 10.4.11 on an Imac (PPC) Internal hard disk got named disk0s3 and will not mount. What commands can be used in TERMINAL to rename the internal hard disk to C96?
How to give root privileges without using SU/sudor ?
How to setup display for a remote system?
What is YACC?
What is the number of the masked code ee@?
2 Answers Accenture, Amazon, Amdocs,
what is difference between milestone and run-levels in Solaris ?
Telnet sometimes doesn't permit root logons,how will you then change a file writable only by root on a remote host?
What is 'inode'?
How are devices represented in UNIX?
how to check GDE,EME,Java,Oracle9i Enterprise Edition Release versions Versions on unix system