- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: User executable in 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
07-25-2002 02:47 AM
07-25-2002 02:47 AM
Is it possible to load an executable into shared memory for faster access and to save on resources. This executable will be executed many times by users in a day. The executable should only be loaded once into memory as opposed to the number of times the users run the executable.
I think by setting the sticy bit on the executable might achieved this but not sure
Thanks in advance
G.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 03:08 AM
07-25-2002 03:08 AM
SolutionYou are correct. From the man (2) pages for 'chmod':
"If an executable file is prepared for sharing, mode bit S_ISVTX prevents the system from abandoning the swap-space image of the
program-text portion of the file when its last user terminates. Then, when the next user of the file executes it, the text need not be read
from the file system but can simply be swapped in, thus saving time."
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 03:23 AM
07-25-2002 03:23 AM
Re: User executable in Memory
If these programs are accumulated , will the swap area be not enough? How to prevent such case?
Thank in advance!
-Gerald-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 03:34 AM
07-25-2002 03:34 AM
Re: User executable in Memory
I doubt you will be able to measure any performance gains or see any additional swap usage unless the binary programs on the disk are many megabytes in size.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 03:57 AM
07-25-2002 03:57 AM
Re: User executable in Memory
Thanking you for your help
G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 05:02 AM
07-25-2002 05:02 AM
Re: User executable in Memory
hi,
Just another quick question.
If we're using a 10mb executable to connect to a database. This executable will be open for most of the day. 100 users use this executable.
Is that 1000MB of memory used up on the system ?