- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Create/Use hugepage memory on PA-RISC v11.11?
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
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
тАО02-13-2009 08:27 AM
тАО02-13-2009 08:27 AM
Create/Use hugepage memory on PA-RISC v11.11?
I recently attended an Oracle conference where creating and using "hugepage" memory structures was discussed. Then the Oracle database would use that "hugepage" memory (structure) for its SGA memory needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 09:10 AM
тАО02-13-2009 09:10 AM
Re: Create/Use hugepage memory on PA-RISC v11.11?
On linux
cat /proc/meminfo |grep Hugepagesize
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 09:12 AM
тАО02-13-2009 09:12 AM
Re: Create/Use hugepage memory on PA-RISC v11.11?
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=793254
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 09:15 AM
тАО02-13-2009 09:15 AM
Re: Create/Use hugepage memory on PA-RISC v11.11?
One presentor I talked to had a client do "hugepages" or "largepages" on Itanium but hadn't heard of anyone doing it with PA-RISC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 10:44 AM
тАО02-13-2009 10:44 AM
Re: Create/Use hugepage memory on PA-RISC v11.11?
11.11 already comes with large page support. There are three kernel tunables that directly influence things -- vps_ceiling, vps_chatr_ceiling and vps_pagesize. [Here's the v1 tunable documentation link: http://docs.hp.com/en/TKP-90202/index.html ]
The Oracle application/DB can then use the chatr(1) command to set a hint for page size for Data -- or the kernel will use a heuristic to choose a large page size for the SGA automatically. The heuristic is what vps_pagesize and vps_ceiling control.
Given that vps_ceiling is limited to 64Kb pages -- chatr is the preferred option (chatr +pd L). Which binaries to do this to may be what the conference was about.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 11:48 AM
тАО02-13-2009 11:48 AM
Re: Create/Use hugepage memory on PA-RISC v11.11?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 12:16 PM
тАО02-13-2009 12:16 PM
Re: Create/Use hugepage memory on PA-RISC v11.11?
[That's the maximum and allows a 4Gb page].
That and the chatr +pd L would be the way I'd go -- if the system has them and supports them (I don't remember off hand which PA supports 4Gb pages vs. 1Gb or if all do, sorry.), you would get 1 4Gb page + 1 1Gb page + 3 256Mb pages + 2 16Mb pages + 2 4Mb pages + 1 1Mb page for you 5809Mb total. That would be the best layout -- and would require pages of that size being available as free memory and the SGA virtual alignment working out (by default on newer releases SysV shmem alignment is done based on the segment size to try to preserve optimum large page sizes -- but I don't think v1 ever got that tweak so you may get a few more 1Gb pages instead of the 4Gb page anyway).
You can check and see what you actually got using pstat(2). The pstat_getprocvm() call returns this as part of the struct pst_vm_status structure it fills in (the pst_vps_pgsizes array -- just walk from 0 to PST_N_PG_SIZES to get the count at each index -- each index is (1 << index) base pages in size [so index 1 is 2 4k pages or an 8kb page, for example].
I'm attaching a sample program to get you started if you need it... but since I don't have an 11.11 machine available, I won't promise it will compile with no effort. It should be pretty close though (just some extra stuff from later releases that I've tried to keep out). You'd want to add a loop like I mentioned above after line 192 or so [so you dump the page size for each successful pstat_getprocvm() call].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 12:20 PM
тАО02-13-2009 12:20 PM
Re: Create/Use hugepage memory on PA-RISC v11.11?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2009 12:29 PM
тАО02-13-2009 12:29 PM
Re: Create/Use hugepage memory on PA-RISC v11.11?
I did add "512M", "1G", "4G" and set N_PG_SIZE_NAMES to 20 instead of 17 -- but you may not need to do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2009 07:05 AM
тАО02-16-2009 07:05 AM
Re: Create/Use hugepage memory on PA-RISC v11.11?
http://docs.hp.com/en/1218/mem_mgt.html