1847491 Members
5088 Online
110265 Solutions
New Discussion

Re: Virtual memory

 
SOLVED
Go to solution
Javier Ortiz Guajardo
Frequent Advisor

Virtual memory

A student question.

Where is the virtual memory located? on physycal memory? or is always working in Device swap?

can somebody explains me?

Thanks.
The obstacles are those things that the people see when they left to see their goals.
5 REPLIES 5
Hai Nguyen_1
Honored Contributor
Solution

Re: Virtual memory

Javier,

By default, the virtual memory are in two locations: RAM (controled by Kernel parameter swapmem_on) and one primary swap device (/dev/vg00/lvol2). You can configure additional swap DEVICE or swap FILE SYSTEM. For more info, "man 1m swapon" without quotes.

Hai
A. Clay Stephenson
Acclaimed Contributor

Re: Virtual memory

It's both and still more - you might be using filesystem swap.

The concept behind virtual memory is that a process doesn't care. It simply makes a request to read or write to an address - always a virtual address. This virtual address is then translated to an actual physical address and it might require that memory pages be brought in from swap in order to access it. Ultimately, the process must access the data in physical RAM.

Finally, in the HP-UX world there is pseudoswap that doesn't exist anywhere. It's simply a kernel bookeeping mechanism that allows physical memory to exceed swap space and still allow more processes than physical swap space would normally allow to run.
If it ain't broke, I can fix that.
Paddy_1
Valued Contributor

Re: Virtual memory

May be this will help you understand completely about it
----------------------------------
The Paging Game
by Jeff Berryman, University of British Columbia, 1972
The Paging Game was written by Jeff Berryman when he was working on project MAC, specifically one of the virtual memory systems. The version best known to IBM and MVS sites from the mid-1970s onwards is first, followed by the original:
--------------------------------------

Here is a link to it
http://www.isham-research.com/zarking.html
The sufficiency of my merit is to know that my merit is NOT sufficient
Uday_S_Ankolekar
Honored Contributor

Re: Virtual memory

There is a very good doc avalaible in /usr/share/doc/mem-mgt.txt

This will give you how is memory has been handled

-USA..
Good Luck..
Uday_S_Ankolekar
Honored Contributor

Re: Virtual memory

There is a very good doc avalaible in /usr/share/doc/mem-mgt.txt

This will give you how memory has been handled

-USA..
Good Luck..