<?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 Performance and Error Issues with DCE and aCC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-and-error-issues-with-dce-and-acc/m-p/2901962#M719622</link>
    <description>I know 10.20 is no longer supported so this may fall on deaf ears, but here goes:&lt;BR /&gt;&lt;BR /&gt;We recently started linking the cma library in with our aCC-compiled application (-ldce -lcma) in order to support DCE threads.  After doing so, we have seen substantial performance hits of up to 30%, even when threads have not been created.&lt;BR /&gt;&lt;BR /&gt;If I switch to the static versions of the libraries (/opt/dce/lib/libdce.a /opt/dce/lib/libcma.a) performance goes back to normal.  However, if any threads are created, the application will crash with bus errors, usually in the Rogue Wave string functions:&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGBUS, Bus error.&lt;BR /&gt;[Switching to user thread (6028, 0)]&lt;BR /&gt;0x7b001288 in _p_mutex_lock () from /usr/lib/libc.1&lt;BR /&gt;#1  0x7ae4f7f8 in HPMutexWrapper::lock () from /usr/lib/libstd.1&lt;BR /&gt;#2  0x325dc8 in basic_string&lt;CHAR&gt;,allocator&amp;gt;::operator= ()&lt;BR /&gt;&lt;BR /&gt;Here's our relevant info:&lt;BR /&gt;HP-UX 10.20&lt;BR /&gt;aCC 1.30.06&lt;BR /&gt;RW Standard C++ 1.2.1&lt;BR /&gt;libdce at PHSS_19739&lt;BR /&gt;libcma at PHSS_20608&lt;BR /&gt;&lt;BR /&gt;We are compiling with -DRWSTD_MULTI_THREAD -D_REENTRANT -D__HPACC_THREAD_SAFE_RB_TREE&lt;BR /&gt;as per the aCC instructions.&lt;BR /&gt;&lt;BR /&gt;Any suggestions? Thank you for any help or pointers,&lt;BR /&gt;Mark Anderson&lt;BR /&gt;&lt;/CHAR&gt;</description>
    <pubDate>Tue, 11 Feb 2003 17:04:03 GMT</pubDate>
    <dc:creator>Mark Anderson_6</dc:creator>
    <dc:date>2003-02-11T17:04:03Z</dc:date>
    <item>
      <title>Performance and Error Issues with DCE and aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-and-error-issues-with-dce-and-acc/m-p/2901962#M719622</link>
      <description>I know 10.20 is no longer supported so this may fall on deaf ears, but here goes:&lt;BR /&gt;&lt;BR /&gt;We recently started linking the cma library in with our aCC-compiled application (-ldce -lcma) in order to support DCE threads.  After doing so, we have seen substantial performance hits of up to 30%, even when threads have not been created.&lt;BR /&gt;&lt;BR /&gt;If I switch to the static versions of the libraries (/opt/dce/lib/libdce.a /opt/dce/lib/libcma.a) performance goes back to normal.  However, if any threads are created, the application will crash with bus errors, usually in the Rogue Wave string functions:&lt;BR /&gt;&lt;BR /&gt;Program received signal SIGBUS, Bus error.&lt;BR /&gt;[Switching to user thread (6028, 0)]&lt;BR /&gt;0x7b001288 in _p_mutex_lock () from /usr/lib/libc.1&lt;BR /&gt;#1  0x7ae4f7f8 in HPMutexWrapper::lock () from /usr/lib/libstd.1&lt;BR /&gt;#2  0x325dc8 in basic_string&lt;CHAR&gt;,allocator&amp;gt;::operator= ()&lt;BR /&gt;&lt;BR /&gt;Here's our relevant info:&lt;BR /&gt;HP-UX 10.20&lt;BR /&gt;aCC 1.30.06&lt;BR /&gt;RW Standard C++ 1.2.1&lt;BR /&gt;libdce at PHSS_19739&lt;BR /&gt;libcma at PHSS_20608&lt;BR /&gt;&lt;BR /&gt;We are compiling with -DRWSTD_MULTI_THREAD -D_REENTRANT -D__HPACC_THREAD_SAFE_RB_TREE&lt;BR /&gt;as per the aCC instructions.&lt;BR /&gt;&lt;BR /&gt;Any suggestions? Thank you for any help or pointers,&lt;BR /&gt;Mark Anderson&lt;BR /&gt;&lt;/CHAR&gt;</description>
      <pubDate>Tue, 11 Feb 2003 17:04:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-and-error-issues-with-dce-and-acc/m-p/2901962#M719622</guid>
      <dc:creator>Mark Anderson_6</dc:creator>
      <dc:date>2003-02-11T17:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance and Error Issues with DCE and aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-and-error-issues-with-dce-and-acc/m-p/2901963#M719623</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;The bt of core is not complete it's not easy to tell you exactly where is a problem, but you can notes that there are a mixes with shared librairies ( libstd...) and static librairies ( libcma, libdce ), I think that a best way is to use juste shared librairies, but take care to link libcma before libdce ( -lcma -ldce ) and look what it's happen, otherewise you can see this link to see when you can use options like -D_XXXX :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_01_27/threads.htm" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_01_27/threads.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's not necessary to use -lc for libc but if you wil absolutely use it, put it before -lcma and -ldce &lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 12 Feb 2003 14:37:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-and-error-issues-with-dce-and-acc/m-p/2901963#M719623</guid>
      <dc:creator>lassehab</dc:creator>
      <dc:date>2003-02-12T14:37:40Z</dc:date>
    </item>
  </channel>
</rss>

