- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Kernel Config....
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
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
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-16-2005 05:08 AM
тАО04-16-2005 05:08 AM
Current Value:
NAME VALUE MIN-MAX UNIT maxdsiz 488281 256-655360 Pages maxssiz 20396 256-655360 Pages
maxtsiz 19531 256-655360 Pages
Values to be applied:
NAME VALUE MIN-MAX UNIT
maxdsiz 488281 256-655360 Pages
maxssiz 488281 256-655360 Pages
maxtsiz 488281 256-655360 Pages
Does anyone knows what is the significant of maxdsiz,maxssiz & maxtsiz.?
thank's & regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2005 06:45 AM
тАО04-16-2005 06:45 AM
Solutionhttp://docs.hp.com/en/939/KCParms/KCparams.OverviewAll.html
IT depends on the applications you run on that box. Each server and it's values. Every application requires different values, so before reconfigure you should consult with the manuals.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2005 08:41 AM
тАО04-16-2005 08:41 AM
Re: Kernel Config....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2005 09:07 AM
тАО04-16-2005 09:07 AM
Re: Kernel Config....
1. If you have 64bit, the parameters are:
maxdsiz_64bit
maxdsiz_64bit
maxtsiz_64bit
2. If you system works fine now, don't decrease the values, you can cause some programs to crash, because storage, text or data segments will be too small for them. Keep it in mind.
3. Values of these parameters are stored as number of bytes in hexa base, so
for 64MB you should set to 0x4000000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2005 09:39 AM
тАО04-16-2005 09:39 AM
Re: Kernel Config....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2005 04:20 PM
тАО04-16-2005 04:20 PM
Re: Kernel Config....
Read the link I sent you, there are minimum and maximum values that you can put there.
for example:
http://docs.hp.com/en/939/KCParms/KCparam.MaxSsiz.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2005 04:45 PM
тАО04-16-2005 04:45 PM
Re: Kernel Config....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2005 07:16 PM
тАО04-16-2005 07:16 PM
Re: Kernel Config....
kmtune | grep
for example:
kmtune | grep maxssiz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2005 12:55 PM
тАО04-17-2005 12:55 PM
Re: Kernel Config....
If you don't have programmers but are running commercial programs that are known to work correctly, then you can set maxdsiz to 2Gb although with 11i and patches, you can set maxdsiz to 3.8Gb and actually run a simple 32bit program that requests (and successfully obtains) 3700megs of RAM.
Now if you are running a 64bit opsystem, there is a second parameter: maxdsiz_64 and this *MUST* be larger than maxdsiz. Otherwise, maxdsiz will be reduced to the value for maxdsiz_64. You can set maxdsiz_64 to 10 or 20Gb if you want. NOTE: these are simple fences to prevent runaway programns from consuming lots of RAM. Setting them too low will cause endless "program too big" or "out of memory" errors.
Now maxssiz (and maxssiz_64) can both be set to 64megs. Good programming techniques will never need more than a few megs at most. If a programmer says the program needs 500megs, find another programmer!
maxtsiz (and maxtsiz_64) never need to be changed except for the most extreme programs. maxtsiz refers to the text area or unchanging instructions. In general, the size of the executable file is about the same as the text area in memory. The default is 64megs (yes, 0x4000000 is the hex equivalent of 64megs (where 1meg=1024*1024) and 67,108,864 is 64*1024*1024. The hex numbers, decimal numbers and formulae are all acceptable to SAM and the kernel compiler.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2005 01:22 PM
тАО04-17-2005 01:22 PM
Re: Kernel Config....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 01:46 AM
тАО04-18-2005 01:46 AM
Re: Kernel Config....
Now I am going to assume a few things: you have enough swap space to handle more than a Gb of program memory. And that the memory being requested by the program requires local memory and not shared memory. Notice I didn't ask about RAM...you can run a 1000meg process in a 512meg system (albeit quite slowly) as long as you extra swap space.
If you haven't changed the original parameters (maxdsiz=488281) then your program will run out of memory (be prevented from using more than 488megs) until you increase maxdsiz. I would increase it to 1700megs for now and make sure that maxdsiz_64 is larger than 1700megs, perhaps 2000megs. maxssiz and maxtsiz can be left as is.
Another very important feature: if your your program needs more than 960megs of local RAM, you must recompile it using the c compiler flags -Wl -N options to get an EXEC_MAGIC executable, thus allowing memory requests to map into an additional quadrant (up to 1700megs apx).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 03:56 AM
тАО04-18-2005 03:56 AM
Re: Kernel Config....
To allow stack growth to maxssiz, the virtual address space for the stack is reserved from the private address space of the process -- so if you set maxssiz to 128Mb from 8Mb, you've implicitly limited your data by 120Mb.
For your 1Gb program above, I'd set maxdsiz to 1Gb (0x40000000), maxdsiz_64bit to at least 1Gb, leave maxtsiz where it is (if your program makes it to malloc(), maxtsiz isn't the issue) and leave maxssiz at 8Mb to 64Mb. If you literally need 1Gb of data, you're going to have to chatr to get q0 as Text+Data as Bill points out, and you can raise maxdsiz to 1.5Gb to 2Gb. You won't actually get data space up to 2Gb (because of the stack - not to mention that your binary should be non-zero in size).