- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sybase 'max 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
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
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-08-2009 07:25 AM
тАО06-08-2009 07:25 AM
Sybase 'max memory'
Just need to know, we initially had ASE 15 with the 'max memory' set to 18000000. This brought us to about 35gbs of reserved memory out of 48.
swapinfo would therefor show us something like:
[root@NCRCI]:/sybase/ASE-15_0# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 10240 39 10201 0% 0 - 1 /dev/vg00/lvol2
dev 38912 39 38873 0% 0 - 1 /dev/vg01/swap
reserve - 36063 -36063
memory 46720 44630 2090 96%
total 95872 80771 15101 84% - 0 -
We (sysadmins) feel our free memory is too short therefor asked the DBAs to reduce it's allocation. To 30Gbs instead. They say they've done so through the .cfg file, but they haven't restarted Sybase. Swapinfo shows the exact same number and so does glance.
They seem to be telling me, and I quote "The max memory configuration is dynamic. Doesn't need a restart."
Is this true? It doesn't make any sense that I don't see any number decrease...
Thanks, Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 07:26 AM
тАО06-08-2009 07:26 AM
Re: Sybase 'max memory'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 07:47 AM
тАО06-08-2009 07:47 AM
Re: Sybase 'max memory'
Are these the same DBAs whose sybase was using 100% of the CPUs in your other thread? Ask them to prove to you that sybase memory usage is reduced.
As far as I know the config file is read only when sybase starts up. See if you can verify it by checking the last access time of the file. If you have a server that the config file was not edited yet, check the last access time of the file "ll -u filename" and compare that to the start time of the ASE server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 07:54 AM
тАО06-08-2009 07:54 AM
Re: Sybase 'max memory'
It totally makes sense to me that the config file is read only upon startup... I'll get them to confirm / prove to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 09:04 AM
тАО06-08-2009 09:04 AM
Re: Sybase 'max memory'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 09:14 AM
тАО06-08-2009 09:14 AM
Re: Sybase 'max memory'
But do ask them for a screen shot that shows the max memory setting of the running ASE server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2009 10:54 AM
тАО06-08-2009 10:54 AM
Re: Sybase 'max memory'
Really? Is there a multi-gigabyte process waiting to run at month-end or is free memory fairly static around the clock?
When lots of local and shared memory is used (efficiently) by DBAs, that is the best performance feature you can provide. Reduce database RAM and Sybase will generally run slower (probably not what your customers want). The only time you need to concerned about free memory is when actual paging occurs, the "po" column in vmstat. If vmstat is a single digit number, no worries. If it is more than 100, then yes, reduce RAM usage.
Note that memory mapped files will do some page outs but this is normal and changing Sybase will not affect those pageouts.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 06:51 AM
тАО06-09-2009 06:51 AM
Re: Sybase 'max memory'
A: max memory
├в max memory├в is a new dynamic configuration parameter. As you have seen in the earlier
sections, ASE 12.5 allocates shared memory during boot-time and may allocate more shared
memory during run-time. Unlike pre-12.5 ASE, the SA cannot specify the size of shared
memory to allocate during boot-time. ASE calculates shared memory size as a sum of all
memory requirements. System administrators, however, can use the parameter ├в max memory├в
to control the maximum amount of shared memory ASE is allowed to allocate. This parameter
can be set to any value greater than the memory required for the current configuration.
For more information on setting this parameter, see the Configuration Guidelines section below.
In Figure 2, the ├в max memory├в value is indicated by boundary A. Note that ├в max memory├в
takes the ASE executable code size into account. This behavior is consistent with the way the
├в total memory├в parameter in pre-12.5 ASE takes executable size into account. Hence, the actual
shared memory allocated will be less than the value specified by the parameter. For example,
if ├в max memory├в is set to 200MB and if the code size is 10MB, then the maximum shared
memory allocated will be 190 MB (200 minus 10).
http://www.sybase.com/content/1013474/dynamic_reconfig_wp.pdf