- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- The HP-UX Operating Systems Team Wants Your Feedba...
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
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
06-18-2001 10:41 AM
06-18-2001 10:41 AM
We are the HP-UX OS team engineers in Cupertino, California. Currently we are investigating how customers use the Pthreads library in their work environment. We want to gather feedback from you that will help us design future versions of the Pthread library to better fit your needs. You can be a part of this exciting process by responding to any or all of the 3 groups of questions posted in the HP Forum. We do not intend to use your information to create a mailing list. Likewise, we will not pass your names on to marketing or anything of that sort. None of your private information (like email, address, name, company, etc) will be shared with anyone. Our intentions are only to improve Pthreads, not to annoy you with unwanted solicitors.
We greatly appreciate your input into this investigation and we look forward to hearing your feedback on future product enhancement ideas.
Thank you,
THE HP-UX OS TEAM
PLEASE NOTE: This is NOT a defect logging mechanism. We will not be providing solutions to those types of questions. The purpose of this is solely to collect helpful and valuable information about future product development.
Pthreads Questions
1)HP-UX supports the POSIX.1c pthread library from 11.0 onwards. Are you linking your multi-threaded apps with the POSIX.1c pthread library (/usr/lib/libpthread.sl) or the earlier one provided by DCE (/usr/lib/libcma.sl) ? How many threads on an average do you create in your application? Would you like to migrate to the MxN thread model to be released soon by HP?
2)Do you use any kind of tools to analyze/tune your multi-threaded app performance? If so, what are they? What kind of tools would you like to have? Would you like to tune certain parameters in the pthread library to improve your app?s performance? Would you be interested in achieving performance improvement with some non-standard features?
3)What kind of synchronization and IPC mechanisms do you use in your application?
1)pthread mutexes
2)pthread condition variables
3)pthread read-write locks
4)System V message queues/ semaphores / shared memory
5)POSIX semaphores
6)Memory semaphores (OSF AES semaphores)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2001 09:27 PM
06-18-2001 09:27 PM
Solution2. we don't use any tools to analyze/tune the multi-threaded application performance.i would like to have some tools to achive this.
3.In our application we use system V message queues,shared memory and semaphores
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2001 01:49 PM
06-19-2001 01:49 PM
Re: The HP-UX Operating Systems Team Wants Your Feedback
1) for most multi-threaded apps I am using DCE anyway,
so I have to be portable to other DCE-implementations
but it would be nice to have some kind of "-Defines"
to switch behaviour.
What are "MxN" threads?
2) Self-written checking, have not investigated the
"Wildebeest", yet - does it allow analyzis of DCE-
threads anyway?
3) For the DCE apps of course mutexes and condition
variables, only rarely POSIX semaphores...
Where do you publish the "results", i.e. what you will
implement in the future (HP-UX12?)???
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 12:17 AM
06-20-2001 12:17 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
This is - after all - where HP fails to offer adequate up-to-date software themselves.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 04:38 AM
06-20-2001 04:38 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
I know nothing about MxN.
2)Don't know of any tools to use.
Tell us about non-standard features.
3)mutexes / semaphores / shared memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 04:44 AM
06-20-2001 04:44 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
1) /usr/lib/libpthread.sl
I also know nothing about MxN
2)No...
3) -> System V...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2001 06:42 AM
06-21-2001 06:42 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
2. No - tools are not required.
3. Thread, Mutex, Semaphores are used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2001 10:48 AM
06-21-2001 10:48 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
On AIX, OSF, and Solaris, where there's a more recent POSIX snapshot, we can build our library so its thread aware and our customers can use us in their multi-threaded applications.
So ... I'd have to say that I'd like to see the update to pthreads.
--
thanks for asking,
Karl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2001 05:37 AM
07-08-2001 05:37 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
1) The DB server- and client-side libraries were linked with /usr/lib/libpthread on HP11.00 (and with libcma on 10.20). The server could sometimes spawn thousands of threads (one per client). The MxN scheduling model would certainly be desirable.
2) I didn't end up using ttv (much though I would have liked to); a character interface to ttv would have encouraged me to use it, as the slow connection wouldn't have posed as grave a bottleneck to it...
I would like to have the following analysis tools:
+ A runtime tool that logs, detects & reports the lack of consistency in the order in which threads acquire different mutexes--something that, if I understand correctly, will result in a deadlock in a time-critical fashion...
+ A log (structured per condition-variable) that will help identify in terms of thread-identity the sequence in which the threads blocked on a CV acquired the associated mutex, in response to a pthread_cond_broadcast
I would like the following level of tunability:
+ If an appln. is single threaded but links with libpthread only to avail of the thread-local-storage scope which is integral to the API the appln. must use, there shouldn't be any significant overhead; there is a libc patch that allows the such an appln to be de-linked from libpthread and what I am saying is such a relink with a patched libc should not be necessary--it should happen transparently by the same libpthread...
+ Some benchmarking information and guidance about the judicious use of _M_ARENA_OPTS
3) The appln used pthread mutexes & condition variables and an assembly-level module that implemented interfaces similar to the libc interfaces _check_lock( ), _safe_fetch on AIX4.3.3 (why doesn't HP export the same??); for IPC, we used shared memory & message queues.
Further, I would like the following enhancements:
+ An error/signal when the 64KB thread-stack overflows
+ The dynamic loader should be able to load libraries that use thread-local-storage.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2001 09:55 AM
07-08-2001 09:55 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
2) We don't have any tools... like to have some. We have scripts to monitor.
3) We use threads, shared memory and semaphores.
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 09:43 AM
08-28-2001 09:43 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
To make our application faster, I am trying to replace memory allocation with thread_specific storage to avoid malloc/delete. Another think I would like to do is some faster way (maybe semaphore(?) to do explicit lock on counter. Many places we do pthread_mutex_lock, ctr++;, pthread_mutex__unlock; is there some faster way to do this without the pthread_mutex_lock/_spin_lock, _spin_unlock, pthread_mutex_lock?
Is there something like the libcres.a for libpthread?
I often suspect that some internal lock on heap or similar is bottleneck but I can't get any tracing tool to work at high volumes (and the HP CxPerf does not trace _spin_lock/_spin_unlock). Is there some way to tell if the _spin_lock time is increasing as transaction rate increases?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2001 09:59 AM
08-28-2001 09:59 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
2) no monitoring is done, not sure how, but it would be wonderful to do it
3) We use threads, mutex, shared memory and semaphores.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 03:33 AM
08-29-2001 03:33 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
2)No...
3)mutexes / semaphores / shared memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 05:37 AM
08-29-2001 05:37 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
libpthread on newer apps; user threads on older apps.
How many threads on an average do you create in your application?
Web servers high (256+).
Other apps, low.
Would you like to migrate to the MxN thread model to be released soon by HP?
Not sure.
2)Do you use any kind of tools to analyze/tune your multi-threaded app performance?
Nope.
If so, what are they?
N/A
What kind of tools would you like to have?
We use Glance for perf mon - but Glance doesn't really seem to "show" us much about what's happening in threaded apps.
Would you like to tune certain parameters in the pthread library to improve your app?s performance?
Yup.
Would you be interested in achieving performance improvement with some non-standard features?
As long as non-standard is CLEARLY marked and can be conditionally defined/implemented for portability.
3)What kind of synchronization and IPC mechanisms do you use in your application?
1)pthread mutexes
Yup.
2)pthread condition variables
Dunno.
3)pthread read-write locks
Dunno.
4)System V message queues/ semaphores / shared memory
Yup.
5)POSIX semaphores
Dunno.
6)Memory semaphores (OSF AES semaphores)
Dunno.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2001 05:54 AM
08-29-2001 05:54 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
I can only say that I wished to test a threading Perl version as well as a threading Apache webserver on any of our HP-UX boxes.
Because some apps (e.g. such as databases) seem to thread I experienced very annoying and time consuming installation orgies of CPANs DBD::Oracle driver for the Perl DBI.
Only after a longer correspondence with the DBI mailinglist have I been able to get it linked against the Oracle libs and installed to have my Perl scripts working again.
The whole issue seemed to be unique to HP-UX whereas other Unices had no problems in that respect.
Please forgive my unqualified utterance for I don't know what I'm talking about.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 07:23 AM
08-30-2001 07:23 AM
Re: The HP-UX Operating Systems Team Wants Your Feedback
2) I've written various checking utils to investigate what is happening
3) mutexes and posix semaphores
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2002 07:24 PM
01-16-2002 07:24 PM
Re: The HP-UX Operating Systems Team Wants Your Feedback
Pthread Questions:
We use them extensively, creating between 90 and 200 threads. We stick with the new and not old DCE. JVM in mixed mode with HotSpot.
tuning/Optimizing:
I use jmeter, glance plus and the various system utilities like tusc and tune according to the HP Java developer guide and specific patch recommendations. More work on native threads and the pthread library would be great, especially with mutex issues. Right now I'm evaluating the lastest round of patches from Jan 2002. Of course we're also looking for optimizing for garbage collection, heap sizes, permanent memory and the like.
Synchonizations:
Just about every one that is listed we use as we link with an Oracle Enterprise server. I find that the introduction of third-party enterprise communications (another enterprise software back end) is where serious performance tuning and troubleshooting happens and gets ugly very fast.