- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: memory performance question 11.0 64 bit
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
04-26-2001 11:40 AM
04-26-2001 11:40 AM
phys mem 2 gb
user mem 1.36 gb
free mem 332.4 mb
sys mem 115.8
buf cache 204.8
total vm 765.5
active vm 723.3
This is an oracle database server. It keeps on getting memory shortage problems. There is 1 gig of swap. I don't have any more disks to add more swap. Pseudo swap is turned on.
bufpages = 0
db max =10
db min = 2
nbuf =0
Besides adding more memory, does anyone have tuning ideas? Also, the developer is sure that Oracle is using only 1 gig of memory. He wants to know why the OS requires 1 gig (He assumes this since we are getting memory errors when no one can telnet into the box).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 11:46 AM
04-26-2001 11:46 AM
Re: memory performance question 11.0 64 bit
If the server is mainly an Oracle database server then you should minimize the file cache:
set dbc_min & dbc_max = 2
just my 2 cents,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 11:49 AM
04-26-2001 11:49 AM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 11:52 AM
04-26-2001 11:52 AM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 12:08 PM
04-26-2001 12:08 PM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 12:10 PM
04-26-2001 12:10 PM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 12:25 PM
04-26-2001 12:25 PM
SolutionIf so really reduce the buffer cache sizes so that Oracle is not buffering in both the SGA's and the Unix Block I/O Buffers. Thierry's suggestion is a good one. I would prefer to set bufpages to about 15360 (60MB) if this is a pure database server.
I would also ask the DBA to reduce his buffers
a bit (especially on any of the non-production instances) to see if this helps.
If you are using cooked files for datafiles/indexes and you have OnLineJFS I strongly suggest that you use the mount options mentioned above to avoid the double buffering. No database changes will be required.
Hopr some of this helps...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 12:32 PM
04-26-2001 12:32 PM
Re: memory performance question 11.0 64 bit
Are the glance snapshots you're sending taken when thinks are pretty good or when the box is a dog? Things don't look so terrible so far.
When things are bad it would also be nice to have some idea of run queue sizes as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2001 10:59 PM
04-26-2001 10:59 PM
Re: memory performance question 11.0 64 bit
I agree with Clay; the system statistisch you showed us, don't look like an overloaded system.
And (also mentioned by Clay, I'm just repeating ;) check if you can shrink some SGA-sizes. They seem to consume a considerable amount of memory; but size depends on your setup, size of database, users, etc. so I'm not going to state that they really are to big.
One more thing I noticed is the amount of swapspace used: 95%. You might need to increase your swapspace.
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 03:31 AM
04-27-2001 03:31 AM
Re: memory performance question 11.0 64 bit
The amount of recomended swap is two times phisical memory and you have configured a half.
To add swap you need disk space but in 11.0 swap could be in any vg.
By the other hand, you there are running 3 oracle instances with shared memory sizes (SEGMENT SIZE) of about 200, 254 and 500 Mb each, this is 1 Gb, plus 10% of buffer cache get 1,2 Gb of memory used with out users.
If realy you can not increase swap ( that is what you need), try to reduce shared memory usage.
Run swapinfo... you are near to the message "not enough memory" ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 03:54 AM
04-27-2001 03:54 AM
Re: memory performance question 11.0 64 bit
I realize I need to increase sap size, but there is no more disk space anywhere on this system. No free disks and the no gree space on any volume groups.
One of thehigh level users is questioning why the system needs almost 1 gig of memory (Oracle needing the other). I need to defend that 1 gig.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 04:01 AM
04-27-2001 04:01 AM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 04:24 AM
04-27-2001 04:24 AM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 04:37 AM
04-27-2001 04:37 AM
Re: memory performance question 11.0 64 bit
Perhaps this help:
When you start a new process ( like telnet) the kernel reserve space in swap to use if is needed. If you have not enough swap the system cant reserve swap then and then message issued is not " more swap needed" the message is not enought memory.
This is not a problem of memory, the problem is swap.
If you can not add disk, then reduce memory usage. That oracle instance of 505 Mb of shared memory maybe could be reduced ( raising db_block_buffers, or shared_pool_size.
Choosing between performance and accessibility... i dont need performance if i cant access!.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 05:06 AM
04-27-2001 05:06 AM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 05:17 AM
04-27-2001 05:17 AM
Re: memory performance question 11.0 64 bit
Youve simply got to have swap size set to the same as memory, at a minimum. You really need 2 GB of swap. Using pseudo-swap is not an alternative as this will cause memory contention and performance degredation, especially as you only have 300 odd MB free which means your using 700MB of pseudo swap instead of swapspace. Pseudo-sawp is a backup (for emergencies when your really out of memory) not as an alternative to swapspace.
Increase swapspace to 2GB and you will be surprised how much better your system performs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 05:21 AM
04-27-2001 05:21 AM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 12:47 PM
04-27-2001 12:47 PM
Re: memory performance question 11.0 64 bit
If you need a kings reponse you should say it before...
There was 3 hated saying what was the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2001 10:23 PM
04-27-2001 10:23 PM
Re: memory performance question 11.0 64 bit
Personally I would prefer some feedback on how things are going after the swap increase (you did really add swap space, not just decreased the mirror) than getting points without knowing what did the trick.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2001 02:35 PM
04-28-2001 02:35 PM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2001 05:47 AM
04-29-2001 05:47 AM
Re: memory performance question 11.0 64 bit
I never thought of unmirroring swap, to double the size, simple as the answer seems. I have always had 1 root disk mirrored exactly on a second disk.
My only concern now is if I loose a root disk (1 is mirrored to the other), I will again have swap problems until the disk is replaced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2001 10:53 AM
04-29-2001 10:53 AM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2001 11:49 PM
04-29-2001 11:49 PM
Re: memory performance question 11.0 64 bit
Are you recommending a system with say 2GB of Ram (used for Oracle) but only setting up 256-512MB of swap ? (not including filesystem swap). If so I do not reccomend this to anyone. What happens if you server crashes with an HP-UX dump and you dont have 2GB of swap for the entire dump so cant process it (or get HP to) and find out the cause of your crash ? What are you going to say to your manager then ?
There are very good reasons why the default swap size in the HP-UX install program is set to 2x Physical RAM and the HP Sys Admin book says you should set it to a minimum of 2x RAM. OK, in the real world you could run as low as 1x RAM but certainly not any lower.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 12:49 AM
04-30-2001 12:49 AM
Re: memory performance question 11.0 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 12:51 AM
04-30-2001 12:51 AM
Re: memory performance question 11.0 64 bit
And I've got another thing to worry about: if you unmirrored primary swap you won't be able to boot anymore from the mirrored boot disk.
I've seen several sites where they prefer to take the risk above the price of additional hardware, until thing go wrong ....
regards,
Thierry.