- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to limit the amount of used physical 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
04-11-2003 09:23 AM
04-11-2003 09:23 AM
We are running an application on an HP-UX 11.00 system, on which we need to run performance tests with different amounts of system memory. Of course, we can add and remove DIMMs as it comes necessary, but that is time-consuming. Eventually, I am pretty sure it is possible to do a far easier job adb'ing /stand/vmunix, and modifying some kernel parameter, or maybe at the ISL prompt, passing some parameter to "hpux". Hence , I put as many DIMMs as I may need, and then tell HP-UX to use only part of the available physical memory.
I'm pretty sure it is possible, but how?
Thanks for your help!
Olivier
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 09:37 AM
04-11-2003 09:37 AM
Re: How to limit the amount of used physical memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 09:38 AM
04-11-2003 09:38 AM
Re: How to limit the amount of used physical memory?
Here's someone who was trying to do just what you are (though there is no indication that he succeeded or not):
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1e4dba380869d71190080090279cd0f9,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 09:40 AM
04-11-2003 09:40 AM
Re: How to limit the amount of used physical memory?
I'm not sure if you can toggle DIMMs on/off like you can CPUs.
But you can use HP's PRM (Process Resource Manager) SW to limit how much memory any or all processes can utilize.
Here's a link to it:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B3835DA
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2003 10:35 AM
04-11-2003 10:35 AM
Re: How to limit the amount of used physical memory?
Zafar: I checked that list, but nothing looks really suitable. I could try to simulate less memory by changing some parameters, but I fear the side effects!
Pete: Thanks, but that guy too is fearing side effects. That by itself would make the test results unreliable.
Jeff: I've had a look at the PDC settings, but didn't see anything about memory deactivation. PRM is good, except that I guess it does affect userland memory activity only.
Well, maybe it's more tricky or more secret than I thought it would be, but there must be a way to make the kernel work with only a specified amount of memory... Something like the Linux "mem=..." parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2003 12:54 AM
04-13-2003 12:54 AM
Re: How to limit the amount of used physical memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 12:28 PM
04-14-2003 12:28 PM
Re: How to limit the amount of used physical memory?
Regards,
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 12:54 PM
04-14-2003 12:54 PM
Re: How to limit the amount of used physical memory?
B3835BA C.01.06 HP Process Resource Manager
Costs money - but it is worth it.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2003 08:34 AM
04-15-2003 08:34 AM
Re: How to limit the amount of used physical memory?
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2003 09:42 AM
04-15-2003 09:42 AM
Re: How to limit the amount of used physical memory?
But, you could create your own group - which does absolutely nothing - and reserve say 1 GB of ram, 20% cpu, etc.
For more info check out:
http://h30081.www3.hp.com/products/prm/
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2003 10:49 AM
04-15-2003 10:49 AM
Re: How to limit the amount of used physical memory?
Regards,
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2003 12:41 PM
04-15-2003 12:41 PM
Re: How to limit the amount of used physical memory?
I'm an admin, mot a coder, so I'll leave enhancements as an exercise to the reader :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 02:04 AM
04-16-2003 02:04 AM
Re: How to limit the amount of used physical memory?
That is easily done with Linux, and I'm almost certain there is an easy way to do that with HP-UX too, but it looks undocumented...
Regards,
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 07:25 AM
04-16-2003 07:25 AM
SolutionYou could use the -M option when launching the kernel, e.g.
ISL> hpux -M 131072
This restricts physmem logically to 512 MB (131072 pages 4K each).
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 07:45 AM
04-16-2003 07:45 AM
Re: How to limit the amount of used physical memory?
Is this another of these famous undocumented switches?
I see no mention of -M in the hpux man page.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:23 AM
04-16-2003 08:23 AM
Re: How to limit the amount of used physical memory?
well... that's true. But in fact, that options are not really top secret. Just try this with your boot disk:
# lifcp /dev/rdsk/cXtYdZ:HPUX - | strings | grep ^-
However, undocumented options are not guaranteed to work. They may be even removed for future releases without notice.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:25 AM
04-16-2003 08:25 AM
Re: How to limit the amount of used physical memory?
Jeff, good question, eventually I've had a look at the "man hpux", in the hope I would find that before asking the forums. I guess there is some reason why this was not documented, maybe "-M" is still an alpha or beta option, hence unsupported... Are there any other interesting switches like that? We love unsupported features eventually... :o)
Regards,
Olivier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 08:30 AM
04-16-2003 08:30 AM
Re: How to limit the amount of used physical memory?
Regards,
Olivier