- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Performance hit using exception handling using aCC
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
тАО01-12-2005 02:32 AM
тАО01-12-2005 02:32 AM
Performance hit using exception handling using aCC
We are having some severe performance hits using exception
handling ( try/catch ) scenarios.
Performance can slow down by a factor
of 10 to 1 or even more.
The online aCC documentation says:
http://docs.hp.com/en/5076/except.htm#EHperformance
HP aC++ exception handling has no significant performance impact at compile-time or run-time.
We have not found this to be the case at all.
We are using the caliper measurement tool and it seems to indicate
that the application is spending 50% or more of it cpu cycles
in the unwind library.
We are not using any special arguments to aCC as exception handling
is enabled by default.
I can provide a simple short example to illustrate the case if needed or requested.
Any comments, suggestions, ideas would be mucn appreciated.
Thank you
Fred Bartholomai
- Tags:
- exception
- performance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2005 03:22 AM
тАО01-12-2005 03:22 AM
Re: Performance hit using exception handling using aCC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2005 03:26 AM
тАО01-12-2005 03:26 AM
Re: Performance hit using exception handling using aCC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2005 05:56 AM
тАО01-13-2005 05:56 AM
Re: Performance hit using exception handling using aCC
what optim level are you using?
Are you using debug level?
Yes, a test case can be interesting.
++Cyrille
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2012 03:22 AM
тАО01-01-2012 03:22 AM
Re: Performance hit using exception handling using aCC
>We are having some severe performance hits using exception handling (try/catch) scenarios. Performance can slow down by a factor of 10 to 1 or even more.
As Stephan said, this is to be expected.
>HP aC++ exception handling has no significant performance impact at compile-time or run-time.
This is if you don't actually throw. This is compared to PA-RISC where using EH may drop optimization level or to an older cfront.
If you have a newer libunwind with Unwind Express, there have been a lot of speed ups. Also the compiler has been fixed recently so that when optimization doesn't cause an unwind descriptor bloat that made aCC6 slower than g++.