- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swap survey
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
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
тАО01-17-2003 09:03 AM
тАО01-17-2003 09:03 AM
Of you that have a similar setup, what are you allocation for swap:
64 way SD w/ 750 MHz cpus and 128 GB mem
running one big oracle database
That's the scenario when we upgrade next month from a 32 way w/ 64 gb mem and 64 gb swap. We've always followed swap = mem but when you're talking 128 gb of swap (64 of which would have to be expensive emc disk in our case) it's worth asking the question again.
tia,
Frank
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 09:10 AM
тАО01-17-2003 09:10 AM
Re: swap survey
I would make sure that swapmem_on is set to 1 (on) and from there I would define, maybe 4GB of swap. If you need to install Oracle or SAP, and the installer actually checks how much swap is set up, set up the appropriate amount temporarily, install your stuff, then delete the swap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 09:12 AM
тАО01-17-2003 09:12 AM
Re: swap survey
If there is no change in oracle memory usage then I guess you can keep your primary swap at 64GB. Keep in mind that you can always increase/create your swap space while your system is up and running without any downtime (assuming that you have available disk space for new swap space.)
You may want to adjust the percentages of kernel parameters dbc_max_pct and dbc_min_pct as well since HP states that you never need more than 300MB of Dynamic Buffer Cache (dbc).
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 09:13 AM
тАО01-17-2003 09:13 AM
Re: swap survey
I think with that much memory I would be tempted to do a trial and error test and perhaps start with 1/2 swap to mem. - monitor and then make your final decision.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 09:15 AM
тАО01-17-2003 09:15 AM
Re: swap survey
heh
but seriously, personaly i would leave the 64GB swap alone and review the kernel prarams for dynamic buffering and swapmem just to make sure you have enough but overkill on virtual memory being used for swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 09:18 AM
тАО01-17-2003 09:18 AM
Re: swap survey
allocate 1GB of primary swap,
no more than 12GB of additional swap (possibly even the dreaded filesystem swap at low priority, make that probably) and enable pseudoswap. That would be it. That let's you use all the virtual address space; there's no point in talking about optimum swap space layout for performance because when you start talking about swapping you ain't performing.
I do insist that any disk swap be mirrored (or at least in a highly reliable array).
The only time I ever configure more swap than that on hi-performance boxes is when the dumb install program for an application actually checks that I have 2-3x swap space. As soon as the install is done, I remove the unneeded swap space.
My rule is go ahead and make maxswapchunks large. Use a small amount of primary swap, enable pseudoswap, and monitor the system for a while. It's then so easy to add additional swap that you really shouldn't worry about it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 09:22 AM
тАО01-17-2003 09:22 AM
Re: swap survey
I agree with Patrick.
This is exactly the same reason why we have swapmem_on parameter.
It will come very handy for the systems that are having enormous physical memory.
Go ahead and turn on the parameter with 64 GB of device swap.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 09:44 AM
тАО01-17-2003 09:44 AM
Re: swap survey
There should be a reason why you are going with 128GB of massive memory.
with swapmem_on parameter you will get 75% of physical memory = 96GB + 12GB for virtual memory.
However, when your application is completely up and running, there is a good chance that the memory reserved for swap from the physical memory will be taken out of the calculation (what you see as "used" of memory entry in swapinfo -t)and you may end up with a less virtual memory.
So, thought 2x memory is not valid anymore, I would recommend atleast 1/2 mem if you are enabling swapmem parameter.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 09:51 AM
тАО01-17-2003 09:51 AM
Re: swap survey
The harm of only having 16 gb of swap on a box w/ 128 gb of mem is only having 112 gb of reservable space for memory allocation, correct? Anything else?
Why is a mirror disk a must for swap? What happens of you reserved space on a disk that crashes?
tia,
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 09:51 AM
тАО01-17-2003 09:51 AM
Re: swap survey
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 09:54 AM
тАО01-17-2003 09:54 AM
Re: swap survey
swap should always be mirrored. If you have a seperate dump area configured, this can be unmirrored, since it is not system critical.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 10:04 AM
тАО01-17-2003 10:04 AM
Re: swap survey
The discussion about 'whether you are going to swap' is completely out of question here. You will never with 128GB memory.
The question is about the virtual memory that you can have. With swapmem_on parameter, the utilization of physical memory impacts the amount of virtual memory you can have on the system.
So, unless you know how much memory you really use it, you have to be careful.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 10:05 AM
тАО01-17-2003 10:05 AM
Re: swap survey
well we icod all but 8 cpu's on the expansion cabinet--so we didn't pay for them yet. But by the end of the year...
and you have to do the same for the failover superdome...
plus upgrade the dr superdome (not equal size 40% less capacity)...
you might be looking at your 15-20 year budget...
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 10:08 AM
тАО01-17-2003 10:08 AM
Re: swap survey
Wait. I need clarification.
If my system was using 100% of 64 gb of memory, I still have 48 gb of swap space that I can reserve from "psuedo swap" plus any device swap I may have. Is this not true?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 10:09 AM
тАО01-17-2003 10:09 AM
Re: swap survey
Yeah, I just ran some numbers (2001 prices - so it's probably far worse) and I couldn't believe what I was seeing. I think we're talking lifetime budget here. I'd love to just see the thing.
Pete
No points, please
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 10:13 AM
тАО01-17-2003 10:13 AM
Re: swap survey
Please post your "swapinfo -t" output on the server where the mem is 100% used. I would like to see device+memory portions of it.
Thanks,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 10:54 AM
тАО01-17-2003 10:54 AM
Re: swap survey
Look at the Doc ID: KBRC00010136.
In particular, I would like you to go through the answer of the first question "How is the used portion of pseudo swap determined...".
You will find it interesting.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 10:59 AM
тАО01-17-2003 10:59 AM
Re: swap survey
I would still use only 1-2GB of primary swap (you must have some on the boot disk and mirror it), then 32GB or so of device or filesystem swap. The reason that you mirror swap is so that a disk failure will not bring the machine down. Even if swap is not being used at all, if the swap device fails the machine is toast. If swap is mirrored and the disks are hot-plug you can replace them 'on the fly' and never need to bring the machine down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2003 04:34 PM
тАО01-17-2003 04:34 PM
Re: swap survey
Just a thought. Good luck with this one, sounds like fun!
--bmr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 05:55 AM
тАО01-20-2003 05:55 AM
Re: swap survey
With 128 G of main memory, you can get away with a lot less. Than that rule.
Thats a lot of disk space to be allocating for swapping that's simply not going to happen.
No matter how big the Oracle database is, there are limits on how much memory its going to be able to use.
From what I've seen on Oracle's web site, you need some swap space, but 64 GB might be too much. Take a look at swap usage on your current server and check usage.
If you've got 50G of swap and swapinfo shows you never use more than 10% then swap is too big.
I'm assuming this is an application mirgration, so you can do some analysis on the existing server and see what it tells you.
Here is an old fashioned data collection script that uses sar. It lets you measure and collect data in the background for a time period that you fix.
A hard look at the output will help you make an intelligent decision.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 06:17 AM