- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Understanding Memory Usage
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
Forums
Discussions
Discussions
Discussions
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
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
12-17-2003 10:47 PM
12-17-2003 10:47 PM
I'm trying to understand memory usage on one of my systems. I've attached the lines from the character cell glance memory report of glance which show me that I have 8GB of physical memory but only shows me 4GB of Virtual memory. Where are the ther 4GB of physical memory?
Thanks in Advance,
Ken Polakowski
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 10:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2003 11:36 PM
12-17-2003 11:36 PM
Re: Understanding Memory Usage
System Memory: 1.53GB
Buf Cache: 1.60GB
User Mem: 3.05GB
Free Mem: 1.83GB
The last time I checked that added to 8.01GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 12:15 AM
12-18-2003 12:15 AM
Re: Understanding Memory Usage
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 12:22 AM
12-18-2003 12:22 AM
Re: Understanding Memory Usage
Just ensure you're not paging out (swap space option in glance).
Buffer cache is too high and you could save some memory in this area.
Don't forget to assign points to people and give appreciation to their response.
Furthermore, a "bunny" will tell people when a question was answered and solve the problem.
regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 12:30 AM
12-18-2003 12:30 AM
Re: Understanding Memory Usage
As for the dbc_min and dbc_max. I was here when the systems were installed and they were both set by an HP person to 20%. This effectively disables the dynamic buffer caching (right?). Was this a good idea? How can I monitor the cache usage so that I can tweak these numbers appropriately?
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 12:37 AM
12-18-2003 12:37 AM
Re: Understanding Memory Usage
Anything that I should be aware of when he runs another one of these processes.
There is nothing other then Service Guard and this Oracle instance running on this L class machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 12:40 AM
12-18-2003 12:40 AM
Re: Understanding Memory Usage
I attached the Unix performance cookbook.
Read the paragraph on buffer pages (bufpages).
From waht is said on this forum, it quite depends on which version of HPUX you're running (HPUX11.0 or HPUX11i).
If you run HPUX11.0 300-400Mb should suffice fro the job,
regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 12:48 AM
12-18-2003 12:48 AM
Re: Understanding Memory Usage
If swapinfo showed ALL the swap space reserved then you need to add some more swap space. Just add it as secondary swap. You must have enough swap space to accomodate all processes that will be run concurrently or the process will not be allowed to run.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 12:57 AM
12-18-2003 12:57 AM
Re: Understanding Memory Usage
I always check for amount of physical memory with following command, just another bit of hpux for you.
grep -i phy /var/adm/syslog/syslog.log
:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 01:27 AM
12-18-2003 01:27 AM
Re: Understanding Memory Usage
convosync=direct,mincache=direct,nodatainlog
which should be applied only to data directories (not indexes, archive logs, executable directories, etc). Reserved swap is simply mapped but nothing has actually been moved to the swap area. Your only concern as far as swap space is concerned is the page out rate (ignore page in). If it is in the 0-10 range, all is well. over 20 for long periods means you need a bit more RAM, over 100 for long periods means you probably need 50% more RAM to improve performance.
As far as problems with the large import, there have been numerous discussions about Oracle and memory usage--most of the issues are with 32bit programs and the shared memory area. Running out of memory very seldom means that there is not enough virtual memory, it often means that you've hit a kernel safety limit such as maxdsiz (which can be changed).
You can monitor the buffer cache size in Glance. If it stays near the dbc_max_pct value then there is no pressure from applications to require more RAM. The cache is always busy and after a few hours following a reboot, virtually all of the cache will be used. This is by design. The cache will shrink in size if processes need more RAM and you'll see this in Glance. Having more RAM available will not help Oracle until the DBA changes local and shared memory values in the Oracle config files.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 02:23 AM
12-18-2003 02:23 AM
Re: Understanding Memory Usage
Questions about the Min and max parameter:
What effect does setting them equal have? I've been watching the activity this morning and the value never changes.
Should I adjust them say to 5% and 10% and let them float?
Unfortunately, These systems are in a validated state and I need to present justification for making any changes to our change control committee for approval.
I also just ordered the Sauers/Weygant book which I should have in tme to keep me busy for this weekend.
Thanx again,
Ken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 06:07 AM
12-18-2003 06:07 AM
Re: Understanding Memory Usage
memory_management: http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/1218/mem_mgt.html&searchterms=pde%7cpdir&queryid=20031218-120015
I will attach proc_mgmt to this message and mem_wndws to the next message.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 06:08 AM
12-18-2003 06:08 AM
Re: Understanding Memory Usage
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 07:09 AM
12-18-2003 07:09 AM
Re: Understanding Memory Usage
I let mine float from 5%-10% min-max.
I would probably reduce it on an 8 GB ram Machine. I do get 98% cachs hits, (lucky me).
I would look at the DB parms to see how large SGA and buffers are. I am also a DBA and have found that if they change parms we can go from a running state to a swap condition quickly...
Tim