HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Optimized version of netdir_getbyname( ) ?
Operating System - HP-UX
1828848
Members
2482
Online
109985
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-07-2007 09:21 PM
02-07-2007 09:21 PM
Optimized version of netdir_getbyname( ) ?
We recently had a problem where netdir_getbyname routine was consuming lot of CPU, even when we had files as backend. Do we have any alternatives for netdir_getbyname (other than gethostbyname) which is less CPU intensive/more optimized ?
I can implement the switch, but switch will be risky :-)
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2007 12:48 PM
02-08-2007 12:48 PM
Re: Optimized version of netdir_getbyname( ) ?
I didn't even know that HP-UX offered a netdir_getbyname.
How often is it being called?
If you are on Itanium, might be worth getting a copy of caliper: http://www.hp.com/go/caliper
if you are on PA, then:
http://www.hp.com/go/prospect
One shouldn't be modifying code to use gethostbyname() these days anyway - getaddrinfo() is what should be used instead.
How often is it being called?
If you are on Itanium, might be worth getting a copy of caliper: http://www.hp.com/go/caliper
if you are on PA, then:
http://www.hp.com/go/prospect
One shouldn't be modifying code to use gethostbyname() these days anyway - getaddrinfo() is what should be used instead.
there is no rest for the wicked yet the virtuous have no pillows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 09:39 PM
02-12-2007 09:39 PM
Re: Optimized version of netdir_getbyname( ) ?
Ric, Thanks for your suggestions. I couldn't fine any optimized version, so we are using it sparingly now.
I can implement the switch, but switch will be risky :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2007 04:53 PM
02-21-2007 04:53 PM
Re: Optimized version of netdir_getbyname( ) ?
.
I can implement the switch, but switch will be risky :-)
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP