HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: bufpages
Operating System - HP-UX
1832936
Members
2767
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-08-2004 08:28 PM
01-08-2004 08:28 PM
bufpages
Hello,
On HPUX 11, via the command "echo xxxx/D | adb64 -k /stand/vmunix /dev/mem", where xxxx can be phys_mem_pages,maxmem,bufpages and freemem, we can have statistics concerning memory. On some machines, the total of freemem + bufpages may be quite greater than maxmem. Suppose I call kernel_mem the difference between phys_mem_pages and smaxmem. My question is : what does exactly contains these different values, are they distinct or, for example, bufpages may be part of freemem and kernel_mem ?
Thanks in advance for answers.
On HPUX 11, via the command "echo xxxx/D | adb64 -k /stand/vmunix /dev/mem", where xxxx can be phys_mem_pages,maxmem,bufpages and freemem, we can have statistics concerning memory. On some machines, the total of freemem + bufpages may be quite greater than maxmem. Suppose I call kernel_mem the difference between phys_mem_pages and smaxmem. My question is : what does exactly contains these different values, are they distinct or, for example, bufpages may be part of freemem and kernel_mem ?
Thanks in advance for answers.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2004 09:03 PM
01-08-2004 09:03 PM
Re: bufpages
Hi,
You have a kernel parameter called pseudo swap on HP-UX 11.00. If that parameter is turned on there can be a difference between the available swap and real swap. The kernel emulated extra pages to use more memory.
You can look into it.
Gideon
You have a kernel parameter called pseudo swap on HP-UX 11.00. If that parameter is turned on there can be a difference between the available swap and real swap. The kernel emulated extra pages to use more memory.
You can look into it.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:46 PM
01-18-2004 07:46 PM
Re: bufpages
Hi and thanks fore response.
Does this mean that the values of freemem or bufpages read from the kernel contains part of the pseudo swap area and that's why the total is greater than maxmem ? Actually, I considere that what, in maxmem, is not fremem and bufpages is user memory. In the case of this machine, user memory becomes negative! So have you any idea of how I can find user memory using these kernel values (or others).
Thanks
Serge
Does this mean that the values of freemem or bufpages read from the kernel contains part of the pseudo swap area and that's why the total is greater than maxmem ? Actually, I considere that what, in maxmem, is not fremem and bufpages is user memory. In the case of this machine, user memory becomes negative! So have you any idea of how I can find user memory using these kernel values (or others).
Thanks
Serge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 04:05 AM
01-19-2004 04:05 AM
Re: bufpages
Vacquier,
I think you are comparing apples and oranges. :-) The vaiables phys_mem_pages and maxmem contains static information, initialized at boot time, while bufpages and freemem keep changing.
Lets try to explain...
phys_mem_pages
Total number of pages. Discovered at boot time. This is the amount of memory pages the kernel can physically use. Dosn't change.
freemem
Number of pages that are free/unused currently. Changing.
bufpages
Number of pages that are currently in use as Buffer Cache (BC). Changing.
maxmem
At boot time the kernel calculates maxmem by subtracting the minimum BC size in pages (derived from dbc_min_pct if BC size is dynamic) from the current freemem. This is freemem at boot time, so I doubt this metric could be useful later.
To get a quite nice overview how memory is currenly used, you may have a look at the output of crashconf. Note that this does not match e.g. freemem by 100%.
Best regards...
Dietmar.
I think you are comparing apples and oranges. :-) The vaiables phys_mem_pages and maxmem contains static information, initialized at boot time, while bufpages and freemem keep changing.
Lets try to explain...
phys_mem_pages
Total number of pages. Discovered at boot time. This is the amount of memory pages the kernel can physically use. Dosn't change.
freemem
Number of pages that are free/unused currently. Changing.
bufpages
Number of pages that are currently in use as Buffer Cache (BC). Changing.
maxmem
At boot time the kernel calculates maxmem by subtracting the minimum BC size in pages (derived from dbc_min_pct if BC size is dynamic) from the current freemem. This is freemem at boot time, so I doubt this metric could be useful later.
To get a quite nice overview how memory is currenly used, you may have a look at the output of crashconf. Note that this does not match e.g. freemem by 100%.
Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP