|
|
|
|
|
|
| Author |
Message |
Andrew Smallshaw *nix forums beginner
Joined: 23 Feb 2005
Posts: 26
|
Posted: Thu Jun 29, 2006 5:08 pm Post subject:
Re: Need for Virtual Memory
|
|
|
On 2006-06-29, Ash <amujoo@yahoo.com> wrote:
| Quote: | Virtual memory is not actually required, since all the processes can
fit in the memory at the same time. It is straight forward question
with simle answer.
|
In this case, something of an overly-simple answer. I blame the confusion
between disk paging and full-blown VM on Windows - its dialogs suggest
that paging is all there is to VM. In reality you can have either
without the other, although I'll admit it's easier to implement paging as
part of a VM system.
With most modern architechures, you will still need VM to run multiple
processes even if they will all fit in memory simultaneously. This is to
manage each process's virtual address space. It is possible to make your
code relocatable and avoid this need, but that tends to be done only for
libraries (gcc's -fpic option). Using this option does involve a slight
performance hit (but I would guess nothing like VM). You would still
need some form of memory management to protect other processes against
snooping or accidential or malicious tampering, however.
--
Andrew Smallshaw
andrews@sdf.lonestar.org |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Tue Dec 02, 2008 3:35 pm | All times are GMT
|
|
MPAA | Loans | Credit Cards | Ringtones | Fast Loans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|