Programming Concepts Question:

Download Job Interview Questions and Answers PDF

What is virtual Memory under Linux?

Programming Concepts Interview Question
Programming Concepts Interview Question

Answer:

Linux supports virtual memory, that is, using a disk as an extension of RAM so that the effective size of usable memory grows correspondingly. The kernel will write the contents of a currently unused block of memory to the hard disk so that the memory can be used for another purpose. When the original contents are needed again, they are read back into memory. This is all made completely transparent to the user; programs running under Linux only see the larger amount of memory available and don't notice that parts of them reside on the disk from time to time. Of course, reading and writing the hard disk is slower (on the order of a thousand times slower) than using real memory, so the programs don't run as fast. The part of the hard disk that is used as virtual memory is called the swap space

Download Programming Concepts Interview Questions And Answers PDF

Previous QuestionNext Question
Explain what are the differences between Desktop and Enterprise Application?How to remove sections in report in reportnet?