- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Large 11i/Oracle9 Server: pseudo swap - Bad or Goo...
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
02-13-2004 01:11 AM
02-13-2004 01:11 AM
Large 11i/Oracle9 Server: pseudo swap - Bad or Good?
By default it is ON .. by virtue of kernel param - "swapmem_on". Should it be ON or OFF in an RDBMS serving environment?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:46 AM
02-13-2004 01:46 AM
Re: Large 11i/Oracle9 Server: pseudo swap - Bad or Good?
I would advise you to turn pseudo swap on. As far as i know (not 100% sure) HPUX only gives away memory if has space in swap to swap it out. On RDBMS servers it could be so that you have a lot of memory in the server. With this kernel parameter on memory can exseed swap the swap space. If you have a bigger swap partition as you have memory in the server you would not need it. But i set it so if you get a memory expension you are not forced the add swap.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 02:07 AM
02-13-2004 02:07 AM
Re: Large 11i/Oracle9 Server: pseudo swap - Bad or Good?
As usual - it depends.
It depends on whether you have more swap configured than actual RAM. IF you do, turning swapmem on does nothing for you. You pay NO penalty but it does nothing.
The thing you do have to watch out for in a large DB env is total swap space. IF you have processes that want to reserve huge amounts of memeory space, BUT will never actually be deactivated, well then you *need* a LOT of swap space.
I had to setup a system with +128GB swap space because the app team wanted to start +300 Tuxedo processes that wanted to reserve +400MB each. They would never be deactivated, but w/o the swap space they couldn't even start them. I told then they needed to reduce that demand & they will, but this got us over the hump temporarily.
So again the short answer is YES - IF you have more RAM then swap & it doesn't matter if the reverse is true.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 02:41 AM
02-13-2004 02:41 AM
Re: Large 11i/Oracle9 Server: pseudo swap - Bad or Good?
Very poorly.
I can see little reason not to have pseudo swap on in this case.
I've run Oracle in situations where swap was not adequate and it was a miserable site to behold.
If your system load is light and your SGA and init.ora files are reasonable there is not much of a penalty for having this paramter on. I have it on on HP-9000 webservers running at very low load factors.
SEP
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
02-13-2004 03:17 AM
02-13-2004 03:17 AM
Re: Large 11i/Oracle9 Server: pseudo swap - Bad or Good?
As a rule of Thumb I turn pseudo swap on. That is particularly important if your dbserver gets close to swapping. Actually, the DB will get much slower as you approach swapping is you happen to have a min-max cache % as 5-10% some/any non-equal percent. The cpu usage will go through the roof and system goes on vacation while the chache is reduced...
Then the system prefers contiguous memory...
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 03:32 AM
02-13-2004 03:32 AM
Re: Large 11i/Oracle9 Server: pseudo swap - Bad or Good?
When system brings up a process, it will reserve area in the swap so that there is guaranteed space in case it has to swap later.
swapmem_on is only to trick the system that is has more swap available so that it can start more processes than the actual device swap configured. So, there is generally no problem in turning this parameter on. On the other hand, since the system can bring up more processes than it *actually* reserved which may mean a problem in a different angle but that's very rare.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 03:46 AM
02-13-2004 03:46 AM
Re: Large 11i/Oracle9 Server: pseudo swap - Bad or Good?
You just bought a new box with 32GB. Now consider that you have 1GB of primay swap. If swapmem_on=0 then you all you can use is 1GB of memory for process space; the reamining 31GB of memory is unused. However, if swapmem_on=1 then you are allowed 75% of RAM + swap as total address space or 25GB. Thus the minumum required swap to fully utilize your memory is 25% of RAM with swapmem_on=1.
Unless psedoswap is enabled, you would have to use 32GB of swapspace (64GB if mirrored and swap most definitely should be mirrored) that really does absolutely nothing. After all, you bought all that memory so you wouldn't have to swap in the first place!
Here is my typical setup.
swapmem_on=1
512MB-1024MB of primary swap (you must have some)
optionally configure additional 25% of RAM sime as device swap
Monitor swap usage and add additional swap as needed. It's so easy to add additional swap that there is really no point in worrying about it when you first configure a system.
Finally, disconnect yourself from the notion (and default) that swapspace has anything to do with dump space.