virtual memory management, swapping paging


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users virtual memory management, swapping paging
# 1  
Old 07-11-2006
Error virtual memory management, swapping paging

can anybody explain me the concepts
virtual memory mangement, swapping and paging?

although i roughly know what they are , i need
more solid distinction between them, and also i want to figure out
the relations between them?

do you have any well-defined definitons for this concepts?
# 2  
Old 07-11-2006
I keep finding better versions

The Paging Game, though venerable, is still the best explanation I've yet read of it. That it's funny is even better.
# 3  
Old 07-26-2006
swapping vs paging

paging is managing RAM data by pages (nK chunks, called page size), swapping stores it temporarily on disk if it's not needed right away to extend physical memory through a technique called virtual memory management (VM). When the kernel moves data between RAM <-> CPU that is paging, and data moved between RAM <-> DISK is swapping.

[Actually, the memory management is usu. handled but a subprocessor component called the MMU, but for practical purposes, let's just say it's in the CPU package deal. Smilie ]

Specific flavors of UNIX use slightly different techniques and tuning. Getting down to the nitty gritty is kernel tuning, which is one of the Black Arts of UNIX. For Solaris specifics, see Adrian Cockroft's book "Sun Performance and Tuning" (slightly outdated, but is considered the "bible" on Solaris tuning).

-Phrazz

See more here: Paging (Wiki)
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Monitoring Paging and Swapping

Hi all, This might sound silly but i am trying to determine if i have sufficient memory or not. My definition of sufficient memory = no swapping + no paging to physical swap file. I know i can use vmstat to monitor swapping and paging and using the SR column as well. But wouldn't it be... (28 Replies)
Discussion started by: javanoob
28 Replies

2. AIX

High Paging when lots of free memory AIX 5.3

I am new to AIX, I have few AIX 5.3 servers and I could see there are significant difference in paging space utilization on servers even though they are running same applications below server is working fine which shows 2-5 % paging usage throuh out the day cpu_scale_memp = 8... (12 Replies)
Discussion started by: bibish
12 Replies

3. AIX

Eliminating paging space and interpreting memory utilization

I just want to inquire on one of our DB Servers. Currently, we are running on 26GB of memory and 6 CPUs. Though our memory is 70-80 utilized, I can see some paging of around 8-10%. Is there any effective way we can lessen/eliminate paging? Here is our current VMO Settings: vmo: ... (1 Reply)
Discussion started by: depam
1 Replies

4. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

5. AIX

ulimits max locked memory virtual memory

Hi, Would any one be so kind to explain me : are ulimits defined for each user seperately ? When ? Specialy what is the impact of : max locked memory and virtual memory on performance of applications for a user. Many thanks. PS : this is what I can see in MAN : ulimit ] ... (5 Replies)
Discussion started by: big123456
5 Replies

6. Programming

about virtual memory and memory leak

Hi, First of all I appreciate this group very much for its informative discussions and posts. Here is my question. I have one process whose virtual memory size increases linearly from 6MB to 12MB in 20 minutes. Does that mean my process has memory leaks? In what cases does the... (4 Replies)
Discussion started by: shriashishpatil
4 Replies

7. Linux

Linux Memory Paging Thresholds

What would be a good threshold value for the following memory metrics? pgpgin/s pgpgout/s I would like to have a value that indicates a warning and an alarm level. Thanks in advance for any replies. (0 Replies)
Discussion started by: SunLinux
0 Replies

8. Filesystems, Disks and Memory

Paging and Swapping

Hi Guys: Would like to know how to check system swapping and paging and some theory on how they function. I am an oracle dba and my environment is 8171 on AIX 433. We have a 1GB of RAM on the box and I am educating myself to see how much more SGA can be accommodated on the box and what are the... (2 Replies)
Discussion started by: ST2000
2 Replies

9. UNIX for Advanced & Expert Users

Excessive Paging&Swapping!

Hi all! Working on Oracle v8i/9i on Unix Sun Solaris v8.0. I am experiencing excessive paging & Swapping.Would like to know the cause. I guess:could be due to inappropriate setting of Unix Kernel Parameters... Please correct me if I am wrong! Thanks&Regards, Amit. (5 Replies)
Discussion started by: Amitstora
5 Replies
Login or Register to Ask a Question