- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- RAM & Swap
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
06-03-2004 03:21 AM
06-03-2004 03:21 AM
RAM & Swap
It looks like i have RAM 524,280 K=536,862,720 bytes.
While Swap is 1048576 * 512=536,870,912 bytes.
So, this means that I have to increase the swap to atleast 1.5 G now ? Am I right ? When doing that should i allocate 3G to swap/dump logical volume , so that half of it will be allocated to Swap. Mnay thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 03:27 AM
06-03-2004 03:27 AM
Re: RAM & Swap
If you primary swap is 1 GB I would recommend creating another 1 GB swap on a high speed disk .
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 03:30 AM
06-03-2004 03:30 AM
Re: RAM & Swap
I would highley recommend that you buy more ram....
On my SAP/Oracle systems I have 24 - 28 GB of swap and 10GB of ram. So 3 times is not unheard of.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 03:31 AM
06-03-2004 03:31 AM
Re: RAM & Swap
More likely 2.0 G.B.
Oracle will be sluggish in any event. This system simply does not have enough memory to run oracle and the OS efficiently.
For good operation, find a different server or upgrade this ones memory.
Also note that 10.20 is not supported and if you have problems getting support will be difficult.
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
06-04-2004 12:08 AM
06-04-2004 12:08 AM
Re: RAM & Swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 02:07 AM
06-04-2004 02:07 AM
Re: RAM & Swap
How is your application performing now? Is the system swapping?
Those Oracle and SAP recomendations are just rules of thumb, most dating back to when systems had small amounts of main memory.
I ran a Prime mini-computer that supported a 20 person accounting department. It had 32MB of memory and we did not swap that much because the memory requirements were low.
I've run an SAP environment where the server had 8GB of memory and we had no swapping because the memory was more than adequate for our environment. However, SAP would not start unless there was at least 24GB (3 times) of swap. We didn't use it but, SAP checked for it abended if it was not there.
Oracle, any database for that matter, loves memory. Usually the more the better. But, if it's a small data set, low number of concurrent users, efficiently written code, your 512MB could be fine. And, if it's not swapping you don't need it.
It depends.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 02:14 AM
06-04-2004 02:14 AM
Re: RAM & Swap
As stated after you pass a threshold, there is only a certain amount of swap which your system can even use as based on your maxswapchunk.
On my Superdome is set at 13481.swchunk is 2048 = 27GB. And I have 27GB of swap. so I am maximized for my swap.
Make sure if you have swap that your swchunk is set high enough to allow you to use all of your swap, whatever it is set at.
# kmtune |grep chunk
maxswapchunks 13481 - 13481
swchunk 2048 - 2048
root:/root
# bc
2048*13481
27609088
quit
chpcfas1-root:/root
# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024000 0 1024000 0% 0 - 1 /dev/vg00/swap
dev 16343040 0 16343040 0% 0 - 0 /dev/vg01/swap1
dev 10240000 0 10240000 0% 0 - 0 /dev/vg01/swap2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 02:24 AM
06-04-2004 02:24 AM
Re: RAM & Swap
The "requirement" of 3 times RAM for swap space is ridiculous! Companies need to come back to the real world, especially with multi-multi-GB of RAM in server.
Sorry for the RANT, but this is one of my BIG pet peeves!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 02:30 AM
06-04-2004 02:30 AM
Re: RAM & Swap
You already have a 512 MB primary swap, just add a second of same size elsewhere and you should be fine...
You can do this using SAM...
What is the size of you database?
Since you have limited RAM be carefull with the SGA size and tune correctly your filesystems if they are VXFS - You do have Online-JFS?
I did have a E55 with HPUX10.20 with 2 oracle instances (7.2.3 nad 7.3.3) running...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 02:48 AM
06-04-2004 02:48 AM
Re: RAM & Swap
It's been my experience that Oracle only needs that much swap for it's piggish GUI install.
After install you can back off that swap size to a more reasonable value. We go 1 - to - 1 for RAM & swap and never have problems running Oracle. Sometimes we need more swap simply for reservation purposes to allow a lot of applications to startup, but they never actually use it - they just reserve it.
BUT your system simply does *not* have enough RAM to run Oracle. We use no less than 4Gb on our development & test systems & larger sizes for production systems.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 02:54 AM
06-04-2004 02:54 AM
Re: RAM & Swap
I was trying to tell you the same thing. He did a better job.
We have a 2 GB floor on memory for our rp5450 servers.
We did get away with 1 GB on a D380 production environment, but most people would say that was not a heavy use environment.
Get RAM!
:=)
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
06-04-2004 02:57 AM
06-04-2004 02:57 AM
Re: RAM & Swap
But I thought that HPUX "recommended" 2GB of Memory? Or I think that is required for Vpar/Npars...
I could be wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 03:23 AM
06-04-2004 03:23 AM
Re: RAM & Swap
I erased the end part of my previous reply, you should have read "configured with 256 MB of RAM"...
I just checked and found a D210 still running with 10.20 and oracle 7.2.3 with 128MB RAM and 300 MB swap
there is also a D220 with 10.20 with 3 instances (2 7.2.3 & a 7.3.3) with 1 GB RAM and 1 GB swap...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 04:12 AM
06-04-2004 04:12 AM
Re: RAM & Swap
10.20 - 32MB
11.0 32 bit - 32MB
11.0 64 bit - 64MB
11.11 - 256MB
However, the recommended minimum for 11.0 and 11i 64-bit is 512MB RAM, but the ideal minimum starts at 2GB. Still, I wouldn't suggest that you do Oracle with less than 1 GB of RAM in general. Generally, I would recommend increasing RAM also with more processors, so that you have something in RAM for those CPUs to use, rather than waiting on an I/O.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 04:53 AM
06-04-2004 04:53 AM
Re: RAM & Swap
You are running UX 10.2 so is that 32 bit Oracle you have? If so you're limited to 1.75GB of shared memory so a large memory system will not benefit you any way. Unless you start playing with memory windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 05:10 AM
06-04-2004 05:10 AM
Re: RAM & Swap
Now 10.20 (which is obsolete and unsupported) can only run in 32bit mode so the maximum memory you can use is 3.75Gb. Anything beyond that cannot be addressed by HP-UX or applications. If you are happy with the performance of the database and comfortable that 10.20 has not been patched for a year (and never will be in the future), then just add more swap whenever the programs need more RAM.
Bill Hassell, sysadmin