- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory and Disk swap modification
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-27-2001 12:24 PM
тАО03-27-2001 12:24 PM
Memory and Disk swap modification
I have 2 N-Class servers both running Oracle. Each has 2GB of Ram, and is using 1.5 of that for swap.
The Oracle developers want me to change that to 500MB memory for swap.
Here's a paste of my swapinfo
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 512344 536232 49% 0 - 1 /dev/vg00/lvol2
reserve - 536232 -536232
memory 1563360 1501560 61800 96%
Let me know what I should do. The Syncher is very busy also. I probably need to add more ram but short of that, is there anything I can do to improve this situation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2001 12:56 PM
тАО03-27-2001 12:56 PM
Re: Memory and Disk swap modification
Usually the problem can often be 'helped' by looking at all the factors here. Likely, your pseudo swap is turned on (which I prefer..). I would start by looking at my dbc_max_pct and dbc_min_pct. The default settings for these are max/min of 50/5. I strongly suggest that if your settings are at the default values you consider changing them. This means that 50% of your swap just got reserved....Ouch!. I recommend max/min of 10/5. Now some folks like to put their max a little higher say to 15 or 20, and if you have the resources then OK, but generally max of 10 will work just fine.
Now this is just addressing one parm issue - but I have found that often it's the one that is easily ignored and yet can impact memory so much. I don't know if this is true in your case though. Hope it helps,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2001 02:42 PM
тАО03-27-2001 02:42 PM
Re: Memory and Disk swap modification
There is 1.5GB being used and the Oracle people want me to free that up for Oracle.
Is that possible? Will HP-UX just use whatever is not used by the Kernel and it's modules?
If it is possible, how do I do that?
I'll look at the settings you mentioned, Rita, but I don't know if that's my problem. I don't want to resize my lvol2 swap, just my memory if possible.
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2001 03:19 PM
тАО03-27-2001 03:19 PM
Re: Memory and Disk swap modification
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xa464dfe5920fd5118fef0090279cd0f9,00.html
What I was trying to suggest (albeit poorly) was that to get the most of your system resources, is often a matter of tweeking your kernel parms. I took a closer look and your reserve amount of 500+mb this is 25% of your total RAM. If you want to free up some memory for use overall, then see if your dbc_max_pct is set to 25 - and possibly reduce this to 15 or even 10. If you feel you need additional device swap then set up some on a seperate disk (or some folks prefer file system swap...the choice is yours), but your swapinfo does not show you hitting this more than 49%, so your device swap was not maxed.
The best system performance is often gained by how the parms are tuned. This is one of the hardest things (in my opinion) to learn and do, but it gives greatest rewards when they are set well. Putting more memory (hardware) is always helpful...but even then if it's not tuned well with the kernel parms...you will not get the most benefit.
I hope the above thread will help,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2001 04:08 PM
тАО03-27-2001 04:08 PM
Re: Memory and Disk swap modification
My dbc_max_pct is set to 50. What exactly is that doing?
I do not understand this very well (OBVIOUSLY!).
Perhaps you could explain what this dbc_max_pct is better, and also in the past of my swapinfo command the last line shows memory and some values and a percentage 96%. What is that showing? I looks to me that 96% of the 1.5GB of ram (swap?) is being used. is this correct?
Should I lower the dbc_max_pct as you stated to 15?
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2001 01:59 AM
тАО03-28-2001 01:59 AM
Re: Memory and Disk swap modification
Firstly, your system is not using 1.5GB of RAM for swap, it is using 1.5GB of disk space for swap, of which you are using about 750MB, so to cut that to 500MB would not be a wise move!
Bascially, dbc_max_pct is the maximum % of system memory that the O/S can use for buffer cache and dbc_min_pct is the minimun amount of memory locked for buffer cache.
The 50% value is often too high for systems with RAM of >=1GB and should be reduced to 20-30%, possibly 15-20% would be OK for u?
The memory paging area refers to that used by psuedo-swap, which is used for paging when the other swap areas are full. As they are not full this figure of 96% shows that the system is memory bound and is why your Oracle guys are asking for more memory. By reducing dbc_max_pct you should be able to free up some memory.
I would record some stats now, swapinfo, memory usage, buffer cache hit ratio/usage etc.., reduce dbc_max_pct and reboot to rebuild the kernel. Now record the stats again. This should have improved your performance.
From the Oracle side you might want to look at tuning the SGA, if this is setup incorrectly and/or your database is not well designed this could also impact performance.
If none of this works, it will probably be advisable to increase your system memory.
I hope this helps, give us a shout if u get stuck.
Regards, Paul