L
leza
Q1)
Hi I am reading about virtual memory and I do not understand why the author
said .. "the areas that have NOT been used"
should not he has said "the areas that have been used"
<quote>
For example, if you load the operating system, an e-mail program, a Web
browser and word processor into RAM simultaneously, 32 megabytes is not
enough to hold it all. If there were no such thing as virtual memory, then
once you filled up the available RAM your computer would have to say,
"Sorry, you can not load any more applications. Please close another
application to load a new one." With virtual memory, what the computer can
do is look at RAM for areas that have not been used recently and copy them
onto the hard disk. This frees up space in RAM to load the new application.
</quote>
Q2)
why when min and max size of virtual memory file identical we get better
performance?? can you explain that to me easier than this. thanks
<quote>
One trick that can improve the performance of virtual memory (especially
when large amounts of virtual memory are needed) is to make the minimum and
maximum sizes of the virtual memory file identical. This forces the
operating system to allocate the entire paging file when you start the
machine. That keeps the paging file from having to grow while programs are
running, which improves performance. Many video applications recommend this
technique to avoid pauses while reading or writing video information between
hard disk and tape.
</quote>
Hi I am reading about virtual memory and I do not understand why the author
said .. "the areas that have NOT been used"
should not he has said "the areas that have been used"
<quote>
For example, if you load the operating system, an e-mail program, a Web
browser and word processor into RAM simultaneously, 32 megabytes is not
enough to hold it all. If there were no such thing as virtual memory, then
once you filled up the available RAM your computer would have to say,
"Sorry, you can not load any more applications. Please close another
application to load a new one." With virtual memory, what the computer can
do is look at RAM for areas that have not been used recently and copy them
onto the hard disk. This frees up space in RAM to load the new application.
</quote>
Q2)
why when min and max size of virtual memory file identical we get better
performance?? can you explain that to me easier than this. thanks
<quote>
One trick that can improve the performance of virtual memory (especially
when large amounts of virtual memory are needed) is to make the minimum and
maximum sizes of the virtual memory file identical. This forces the
operating system to allocate the entire paging file when you start the
machine. That keeps the paging file from having to grow while programs are
running, which improves performance. Many video applications recommend this
technique to avoid pauses while reading or writing video information between
hard disk and tape.
</quote>