- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Tuning after added more memory?
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
09-06-2002 04:29 AM
09-06-2002 04:29 AM
Do I need to tune anything, now that this is done, or extra memory is extra memory?
Some details:
I do have swapmem_on.
We have 2x500M swap partitions.
dbc_min is 10%
dbc_max is 55% (!!!)
We use this machine to run a 7 gig progess database.
I only added memory last night, so I have no new monitoring stats yet.
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 04:37 AM
09-06-2002 04:37 AM
SolutionMy experience has also shown that under 10.20 the OS will tend to take the max and not release it (although there may have been a patch to fix that behavior ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 04:39 AM
09-06-2002 04:39 AM
Re: Tuning after added more memory?
that means buffers vary between 100 to 550 MB
But if you are running just progress on it and have no other applications then it is OK.
Additional parameter you need to tune should be maxswapchunks-max swap space system wide.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 04:48 AM
09-06-2002 04:48 AM
Re: Tuning after added more memory?
Or, if you can't give values, what would the reasons be for adjusting one way or the other, and I can decide what they should be based on other parameters.
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 04:59 AM
09-06-2002 04:59 AM
Re: Tuning after added more memory?
But basic thing that I understand is swap space should be more than physical memory(I always put it 1.5 times or twice the physical memory)
That is because if system is crashing all the memory contents will be dumped.
Now you have increased the memory, so swap space should also be increased.
maxswapchunks is the amount of swap space configurable. then it should also be increased.
Let's see what gurus say on this.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 06:30 AM
09-06-2002 06:30 AM
Re: Tuning after added more memory?
Typically those don't need to grow when memory grows, assuming that the are set correctly for the current system load.
I would decrease those. Set min to 2% and max to say 10%. Then check your buffer reads to make sure you are still at 100%. If you are you could consider dropping the max even more. If you aren't very near, or at 100% buffer hits then increase the max until you hit 100%.
HTH
Sean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 06:38 AM
09-06-2002 06:38 AM
Re: Tuning after added more memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 06:42 AM
09-06-2002 06:42 AM
Re: Tuning after added more memory?
This will show buffer hits every 5 seconds for 20 seconds.
If you have sar being saved you can look for todays stats just by running "sar -b"
Otherwise run sar for every 10 seconds for a few hours and see what you get.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 06:52 AM
09-06-2002 06:52 AM
Re: Tuning after added more memory?
1. if the dump is configured to write in /var/adm/crash, it better be mount in a separate mount point. Otherwise you can't have the full dump when the /var is full.
2. shmmax - max of share memory is also needed to tune for DB to allocate more memory
hope these can help you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 07:29 AM
09-06-2002 07:29 AM
Re: Tuning after added more memory?
sar -b 5 20 will show hits every 5 seconds for 20 iterations. So it will run for 100 seconds showing stats every 5 seconds and then giving an average.
Results show like this:
root@fs51839[/tmp]> sar -b 1 5
HP-UX fs51839 B.11.00 U 9000/800 09/06/02
10:33:19 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
10:33:20 0 55 100 0 1 100 0 0
10:33:21 0 3 100 3 3 0 0 0
10:33:22 0 3 100 2 2 0 0 0
10:33:23 0 1 100 1 1 0 0 0
10:33:24 0 1 100 1 1 0 0 0
Average 0 13 100 1 2 12 0 0
root@fs51839[/tmp]>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2002 11:19 AM
09-06-2002 11:19 AM
Re: Tuning after added more memory?
maxswapchunks is used in conjunction with swchunks. swap is allocated in swchunks, 2k by deault. with the default value of 256 for maxswapchunks around 550mb of swap area can be addressed. your value of 512 can effectively address 1.1gb of swap space. should you want to add more physical swap space an increase of maxswapchunks would be advised. additionally, there's no penalty for having large values maxswapchunks. if it should be too small however, an excessively large amount of physical swap would be allocated immediately after a boot because all swap above the addressable range is usually marked as used in swapinfo output.
at this point, i wouldn't advise changing much until you can get some additional measurements after adding the memory. how the 'extra' memory gets utilized is dependent on several things including whether there was a memory bottleneck in the first. if performance measurements change a lot after the memory was added you'll need to set new baselines and retune to optimal config. if little changes other than overall memory util the question becomes how to best use the additional memory.
all this is a long-winded way of saying "it depends", but it is the first rule of tuning.
keith