- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Shared memory segment that has size greater than s...
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
тАО11-03-2010 12:51 AM
тАО11-03-2010 12:51 AM
HP-UX ia64 v2
HP-UX ia64 v3
int shmget(key_t key, size_t size, int shmflg);
Is it possible to create shared memory segment that has size greater than size of phisycal memory of the machine?
P.S. How to know size of phisycal memory of the machine?
Thanks
Solved! Go to Solution.
- Tags:
- shmget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2010 01:11 AM
тАО11-03-2010 01:11 AM
SolutionThe maximum size of the shared memory segment is controlled by the kernel parameter: shmmax. I think it is possible to create shared memory segment that the size is bigger then physical memory (this should be related to total virtual memory). You can see the physical RAM size with the command:
# machinfo
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2010 02:44 AM
тАО11-03-2010 02:44 AM
Re: Shared memory segment that has size greater than size of phisycal memory of the machine
Sure, that's why they call it virtual memory.
If very much bigger, you'll do lots of swapping.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2010 04:10 AM
тАО11-03-2010 04:10 AM
Re: Shared memory segment that has size greater than size of phisycal memory of the machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2010 04:26 AM
тАО11-03-2010 04:26 AM
Re: Shared memory segment that has size greater than size of phisycal memory of the machine
Yes, but you would be better advised to add more memory if your requirements are as you state.
You can ascertain the physical machine memory with:
# machinfo
...or for 11iv2, examine:
# dmesg
...or:
# echo "selclass qualifier memory;info;wait;infolog"|cstm > /tmp/meminfo
Regards!
....JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2010 06:22 AM
тАО11-03-2010 06:22 AM