Sponsored Content
Top Forums UNIX for Advanced & Expert Users virtual memory management, swapping paging Post 302079555 by Corona688 on Tuesday 11th of July 2006 10:29:49 AM
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.
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
desfree_pct(5)							File Formats Manual						    desfree_pct(5)

NAME
desfree_pct - sets the lower bound before paging daemon starts stealing pages, specified as a percentage of available physical memory VALUES
Failsafe Default Allowed values Must not be greater than (see lotsfree_pct(5)). DESCRIPTION
is a tunable parameter to set the lower bound before the paging daemon start stealing pages. It is specified as a percentage of physical memory available after boot. must be a positive integer between 0 and 30 and must be equal to or less than (see lotsfree_pct(5)). Trying to set higher than results in The paging daemon in HP-UX acts on a "two hand" model. The daemon runs at least once a second, with one part marking pages of virtual address space as "unused". If the page is referenced before this "aging" hand returns, it will be marked as "used" again. Another section of the daemon, the "steal" hand follows the age hand (the distance between them varies in a well bounded range) and processes pages which are still marked "unused", since needed or frequently accessed pages would have a high likelihood of being referenced in the gap between the hands. Exactly how the steal hand treats the pages still marked as "unused" depends on the comparison of free system physical memory and three paging parameters: and Between and is a periodically re-calculated and, hence floating, threshold known as Thus and are the upper and lower bounds between which moves. is an expression of how much the system maintains, expressed in percentage terms (percentage of physical memory available after boot). o If is greater than the system's memory availability is in good shape. The steal hand does nothing as a lot of memory is still available on the system, so there is no need to "steal' a page that might be needed soon. o In the more common case, when is lower than (but higher than the steal hand will begin to steal pages that have remained unreferenced from when the age hand last marked them. "Stealing" a page refers to the process of freeing the page from being allocated for a partic- ular virtual page and making it available for general allocation again. If falls below but is still more than memory availability is still in reasonable shape, but the paging daemon begins stealing pages more aggressively, including putting lower priority processes to sleep to free up their memory. o When is less than free memory in the system is getting more critical; the paging daemon begin deactivating low priority processes, in other words, swapping out pages to the swap device. Since the exact memory topography varies widely across supported platforms, the paging parameters and are tunable to allow for cases where the default values are insufficient, or where the system administrator requires more control over the actions of the paging daemon. In general, however, the automatic calculation performed by default should suffice for most systems. is a system calculated value. Who Is Expected to Change This Tunable? Anyone with super-user privileges. Restrictions on Changing Changes to this tunable take effect immediately. When Should the Value of This Tunable Be Raised? This tunable should be raised on systems where system memory is critical for short-term, high priority processes, but is being held by low- priority, long running processes. For example, when one web server is forking off per-connection threads while 50 RCS clients run in the background. Increasing (and hence would raise the likelihood of the low-priority processes being put to sleep, allowing the high-priority processes a chance to acquire the pages that were previously allocated to the former. What are the Side Effects of Raising the Value? As increases, more low priority processes might be forced to sleep. Depending on what these processes are actually doing, this may not be the right approach. When Should the Value of This Tunable Be Lowered? Raising too high can impair performance of lower priority processes as previously described. In addition, raising and increases system overhead (it takes time to swap a page to disk), and should be weighed carefully against the need or desire to keep a large pool of physical memory unused. Some free memory is essential, a moderate amount is probably good, a lot of free memory just sitting idle is a waste. If the available physical memory on the machine seems generous and heavy swapping is occurring, lowering and/or will increase memory usage but decrease swapping overhead. What are the Side Effects of Lowering the Value? More physical memory will be in use before processes are put to sleep to try to reclaim their frames. What Other Tunable Values Should Be Changed at the Same Time? should be considered when modifying for reasons previously described above. acts as a firm upper bound to so attempting to set above is meaningless and will result in an error. See lotsfree_pct(5). Notes Starting with HP-UX 11i Version 2, HP recommends the use of to specify the lower bound for the paging daemon. ERRORS
Memory resource management infrastructure is busy. Please try later. Attempting to set above An invalid value is entered that is not an integer between 0 and 30, such as an negative number. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
lotsfree_pct(5). Tunable Kernel Parameters desfree_pct(5)
All times are GMT -4. The time now is 02:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy