<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Shared library mapping to memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-library-mapping-to-memory/m-p/2866881#M821565</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If your shared libs have write access, they will be private. If they are read-only they should be shared. Check permissions ...&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
    <pubDate>Wed, 18 Dec 2002 15:20:00 GMT</pubDate>
    <dc:creator>Jean-Louis Phelix</dc:creator>
    <dc:date>2002-12-18T15:20:00Z</dc:date>
    <item>
      <title>Shared library mapping to memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-library-mapping-to-memory/m-p/2866880#M821564</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When I see my process's memory region by GlancePlus, &lt;BR /&gt;I find that all my shared libraries are mapped at MEMMAP/Priv area.&lt;BR /&gt;&lt;BR /&gt;However, when I run utils provided by others, such as pxdb, the shared libraries they use are mapped as MEMMAP/Shared.&lt;BR /&gt;&lt;BR /&gt;Would anyone tell me how to assing shared library's image to shared memory?&lt;BR /&gt;&lt;BR /&gt;My environ info:&lt;BR /&gt;OS:HP-UX 11.0&lt;BR /&gt;&lt;BR /&gt;Tnanks in advance, Takeshi Sato &lt;BR /&gt;Model:A500</description>
      <pubDate>Wed, 18 Dec 2002 15:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-library-mapping-to-memory/m-p/2866880#M821564</guid>
      <dc:creator>上田　弘信</dc:creator>
      <dc:date>2002-12-18T15:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Shared library mapping to memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-library-mapping-to-memory/m-p/2866881#M821565</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If your shared libs have write access, they will be private. If they are read-only they should be shared. Check permissions ...&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 18 Dec 2002 15:20:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-library-mapping-to-memory/m-p/2866881#M821565</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-12-18T15:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shared library mapping to memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-library-mapping-to-memory/m-p/2866882#M821566</link>
      <description>Thank you Jean-Louis,&lt;BR /&gt;I followed your question and I got it. MEMMAP/Shared.&lt;BR /&gt;&lt;BR /&gt;Please let me explain the reason I asked the question in first place.&lt;BR /&gt;&lt;BR /&gt;I have two same processes running which links a lot of shlibs.&lt;BR /&gt;The first one takes a quite long time to start up, (to reach the main() ) which I expected. Maybe it is taking a lot of time to load the libraries.&lt;BR /&gt;&lt;BR /&gt;The problem was that the second one takes about the same time to start up.&lt;BR /&gt;&lt;BR /&gt;I had two assumptions here.&lt;BR /&gt;1) Before reaching main(), &lt;BR /&gt;all the shlibs are loaded from file system. ("deferred" are set but I understand that loading is done at the startup anyway)&lt;BR /&gt;&lt;BR /&gt;2) Once a shared library is loaded, it will not be loaded again from filesystem. Even if another process which uses the same shared library is started. So the second process starts up quicker.&lt;BR /&gt;&lt;BR /&gt;And the result after MEMMAP/Shared? The same.&lt;BR /&gt;The second process takes about the same time to startup. &lt;BR /&gt;&lt;BR /&gt;Would Jean-Louis or anyone tell me why this is the case?&lt;BR /&gt;Or am I wrong whole together?&lt;BR /&gt;Maybe a task besides loading shared libraries is taking time?&lt;BR /&gt;&lt;BR /&gt;Thanks again in advance.&lt;BR /&gt;Hope one day I will be in place to answer the questions.&lt;BR /&gt;&lt;BR /&gt;Takeshi Sato</description>
      <pubDate>Wed, 18 Dec 2002 16:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-library-mapping-to-memory/m-p/2866882#M821566</guid>
      <dc:creator>上田　弘信</dc:creator>
      <dc:date>2002-12-18T16:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Shared library mapping to memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-library-mapping-to-memory/m-p/2866883#M821567</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm not really an expert in shared libs, but perhaps you could have a look at some commands and docs like :&lt;BR /&gt;&lt;BR /&gt;- fastbind : improves Shared Library Start-Up Time ...&lt;BR /&gt;&lt;BR /&gt;- chatr : so many options ...&lt;BR /&gt;&lt;BR /&gt;- HP-UX Linker and Libraries User's Guide at &lt;A href="http://www.docs.hp.com/hpux/onlinedocs/B2355-90654/B2355-90654.html" target="_blank"&gt;http://www.docs.hp.com/hpux/onlinedocs/B2355-90654/B2355-90654.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Thu, 19 Dec 2002 08:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-library-mapping-to-memory/m-p/2866883#M821567</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2002-12-19T08:51:13Z</dc:date>
    </item>
  </channel>
</rss>

