- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- HP-UX 11i problem when using less than 10ms time s...
Operating System - Linux
1820636
Members
1851
Online
109626
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
Discussions
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО01-28-2007 07:13 PM
тАО01-28-2007 07:13 PM
HP-UX has a problem when application uses a
function like usleep or nanosleep or sigalarm
to sleep less than 10ms.
It doesn't work in HP-UX 11i neither PA-RISC nor Itaninum2 CPU.
Is there any ohter method to use sleep less than 10ms.
Please help me.
Best Regards..
function like usleep or nanosleep or sigalarm
to sleep less than 10ms.
It doesn't work in HP-UX 11i neither PA-RISC nor Itaninum2 CPU.
Is there any ohter method to use sleep less than 10ms.
Please help me.
Best Regards..
Solved! Go to Solution.
- Tags:
- nanosleep
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2007 07:32 PM
тАО01-28-2007 07:32 PM
Re: HP-UX 11i problem when using less than 10ms time sleep.
Hi,
and welcome to the forums!
I assume you have seen the comments in:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=13589
and another answer
"I used
system "perl -e 'select(undef,undef,undef,$wait);'" in a TCL script and now it runs perfectly! "
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
and welcome to the forums!
I assume you have seen the comments in:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=13589
and another answer
"I used
system "perl -e 'select(undef,undef,undef,$wait);'" in a TCL script and now it runs perfectly! "
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2007 11:45 PM
тАО01-28-2007 11:45 PM
Solution
Hi:
You don't provide any specific details of your code or your expectations.
I'm going to assume the you are running 11.23 since you say that very short sleeps don't work on either PA-RISC or Itanium.
The ITRC Patch Database shows at least seven patches for 11.23 and high resolution timers, including patches to enable times with resolutions less than 10ms. A search for the keywords "usleep or nanosleep" yielded:
PHCO_34599
PHKL_34356
PHKL_34357
PHKL_34358
PHKL_34361
PHKL_35429
PHKL_35709
Regards!
...JRF...
You don't provide any specific details of your code or your expectations.
I'm going to assume the you are running 11.23 since you say that very short sleeps don't work on either PA-RISC or Itanium.
The ITRC Patch Database shows at least seven patches for 11.23 and high resolution timers, including patches to enable times with resolutions less than 10ms. A search for the keywords "usleep or nanosleep" yielded:
PHCO_34599
PHKL_34356
PHKL_34357
PHKL_34358
PHKL_34361
PHKL_35429
PHKL_35709
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 05:56 PM
тАО10-15-2007 05:56 PM
Re: HP-UX 11i problem when using less than 10ms time sleep.
Hi,
I see that HP has provided patched for 11.23, but I am wondering if anyone knows if this is a problem on 11.11 (PA/800)as well? I don't seem to be able to get under 20 ms in my tests.
Regards,
JHF
I see that HP has provided patched for 11.23, but I am wondering if anyone knows if this is a problem on 11.11 (PA/800)as well? I don't seem to be able to get under 20 ms in my tests.
Regards,
JHF
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP