- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Under which kinds of circumstance will page out oc...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 07:12 PM
тАО03-19-2003 07:12 PM
I know that using demand paging technology in UNIX 'page out' will occur when the system is short of memory to allocate for new processes.
But when I look in the Glance,the value of 'Page outs' is actually plus from time to time when the free memory is enough.
That's the explanation of Glance's help of 'page in/page out': "Moving pages of data from virtual memory(disk) to physical memory(page in) or vice versa(page out)."
So I am confused why the system needs to move pages to swap space to free memory even when the free memory is enough. Could someone explain the hidden cause? Thanks very much.
Al.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 07:19 PM
тАО03-19-2003 07:19 PM
Re: Under which kinds of circumstance will page out occur?
What's going on? They calculate in two different ways?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 07:43 PM
тАО03-19-2003 07:43 PM
Re: Under which kinds of circumstance will page out occur?
I believe this is due to user processes using memory mapped files. The mmap interface bypasses the normal buffer cache and instead uses the page cache. However, one effect of this is that the VM subsystem is responsible for writing the data back to disk, which is probably the effect you are seeing. Although this is confusing from a user's view, the kernel does not actually take into account user pageouts when determining if the system is thrashing.
I'm not sure if glance and vmstat use a different means to calculate this. I think vmstat uses pstat(), maybe Glance uses the /dev/kmem pseudo driver. I can find out if you really need to know.
If this has been fixed it will be in a later release of Glance. If you let me know which version you are on I can check from there. Also, would be useful to know what OS release you are on.
Regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 07:56 PM
тАО03-19-2003 07:56 PM
Re: Under which kinds of circumstance will page out occur?
Thanks a lot for your nice answer.
The version of my GlancePlus is C.02.60.00.
My OS version is HPUX 11.00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 07:56 PM
тАО03-19-2003 07:56 PM
Re: Under which kinds of circumstance will page out occur?
Thanks a lot for your nice answer.
The version of my GlancePlus is C.02.60.00.
My OS version is HPUX 11.00.
Al.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 07:57 PM
тАО03-19-2003 07:57 PM
Re: Under which kinds of circumstance will page out occur?
How much free memory are you seeing now?.
There are limits imposed by kernel - lotsfree, desfree and minfree. The actual paging will start once the memory falls below lotsfree parameter.
But if you are seeing reasonable free memory, then the pageouts that you are seeing are due to memory mapping activity. Memory mapped files use the same paging mechanism. So whenever a file is mappped to/from the memory, you will see the corresponding activity.
Check with your application folks and see if the application uses memory mapped files. This is an efficient way of accessing the files by multiple processes than by the usual IO routines.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2003 08:31 PM
тАО03-19-2003 08:31 PM
SolutionI have quickly ran through the release notes for all the versions of Glance since yours, which was released September 2000 for your information. I focussed on known problems and workarounds but could not see any references to this issue. The current version is C.03.70 so you are a bit behind.
As you now know the reason and can upgrade free of charge I would be tempted down this route. If I have a bit of free time I will write a small mmap program and test using the latest version of Glance.
Regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 05:30 PM
тАО03-20-2003 05:30 PM
Re: Under which kinds of circumstance will page out occur?
The free memory is reasonable(about 4GB).
So I think memory mapping activity is the real reason. I should learn more about the concept of memory mapping.
Hi, James:
Thanks a lot for your kindly help!
Al.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 05:55 PM
тАО03-20-2003 05:55 PM
Re: Under which kinds of circumstance will page out occur?
Bill Hassell, sysadmin