HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Performance and Error Issues with DCE and aCC
Operating System - HP-UX
1828406
Members
3486
Online
109977
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-11-2003 09:04 AM
02-11-2003 09:04 AM
Performance and Error Issues with DCE and aCC
I know 10.20 is no longer supported so this may fall on deaf ears, but here goes:
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.
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:
Program received signal SIGBUS, Bus error.
[Switching to user thread (6028, 0)]
0x7b001288 in _p_mutex_lock () from /usr/lib/libc.1
#1 0x7ae4f7f8 in HPMutexWrapper::lock () from /usr/lib/libstd.1
#2 0x325dc8 in basic_string,allocator>::operator= ()
Here's our relevant info:
HP-UX 10.20
aCC 1.30.06
RW Standard C++ 1.2.1
libdce at PHSS_19739
libcma at PHSS_20608
We are compiling with -DRWSTD_MULTI_THREAD -D_REENTRANT -D__HPACC_THREAD_SAFE_RB_TREE
as per the aCC instructions.
Any suggestions? Thank you for any help or pointers,
Mark Anderson
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.
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:
Program received signal SIGBUS, Bus error.
[Switching to user thread (6028, 0)]
0x7b001288 in _p_mutex_lock () from /usr/lib/libc.1
#1 0x7ae4f7f8 in HPMutexWrapper::lock () from /usr/lib/libstd.1
#2 0x325dc8 in basic_string
Here's our relevant info:
HP-UX 10.20
aCC 1.30.06
RW Standard C++ 1.2.1
libdce at PHSS_19739
libcma at PHSS_20608
We are compiling with -DRWSTD_MULTI_THREAD -D_REENTRANT -D__HPACC_THREAD_SAFE_RB_TREE
as per the aCC instructions.
Any suggestions? Thank you for any help or pointers,
Mark Anderson
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2003 06:37 AM
02-12-2003 06:37 AM
Re: Performance and Error Issues with DCE and aCC
Hi Mark,
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 :
http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_01_27/threads.htm
It's not necessary to use -lc for libc but if you wil absolutely use it, put it before -lcma and -ldce
Regards
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 :
http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_01_27/threads.htm
It's not necessary to use -lc for libc but if you wil absolutely use it, put it before -lcma and -ldce
Regards
I love Java OS
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP