- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- use ndd to tune udp parameter
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
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
05-28-2002 12:36 AM
05-28-2002 12:36 AM
I use "ndd -h sup", and see parameter "socket_udp_rcvbuf_default", but I can find any network device related with this parameter, how can I set its value?
Thanks!
bo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 12:43 AM
05-28-2002 12:43 AM
Re: use ndd to tune udp parameter
use nnd -get
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 01:00 AM
05-28-2002 01:00 AM
Re: use ndd to tune udp parameter
Then everytime you reboot they will take effect. If you do it on the command line they are lost when you next reboot.
For example we have some in ours for TCP timeouts;
TRANSPORT_NAME[0]=tcp
NDD_NAME[0]=tcp_ip_abort_interval
NDD_VALUE[0]=30000
TRANSPORT_NAME[1]=tcp
NDD_NAME[1]=tcp_ip_abort_cinterval
NDD_VALUE[1]=15000
TRANSPORT_NAME[2]=tcp
NDD_NAME[2]=tcp_fin_wait_2_timeout
NDD_VALUE[2]=15000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 01:10 AM
05-28-2002 01:10 AM
Re: use ndd to tune udp parameter
ndd -get /dev/udp socket_udp_rcvbuf_default
to get actual value
ndd -set /dev/udp socket_udp_rcvbuf_default
to change the value
if it is a UDP setting you need the /dev/udp , I had a look at a 11.0 system but could not find the parameter you are talking about is this a 11.0x or 11.i machine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 01:13 AM
05-28-2002 01:13 AM
Re: use ndd to tune udp parameter
While setting udp parameters
#ndd -set /dev/udp "any_udp_parameters"
Checking the udp paramter
#ndd -get /dev/udp "any_udp_parameters"
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 01:23 AM
05-28-2002 01:23 AM
Re: use ndd to tune udp parameter
The ndd command is used like "
ndd -get network-device parameter value
"
Devices like /dev/tcp, /dev/udp can be found, but parameter socket_udp_rcvbuf_default is belonged to device SOCKET, but I can't find it in /dev directory.
Thanks
bo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 01:27 AM
05-28-2002 01:27 AM
Re: use ndd to tune udp parameter
This is a 11.22 box, I want to tune the udp packet receive ability for it. Another alternative is to use setsockopt in the program.
thanks, all of you.
bo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 01:41 AM
05-28-2002 01:41 AM
Re: use ndd to tune udp parameter
I am using HP-UX 11.20 and I don't see this parameter, so it must be specific to HP-UX 11.22.
What is displayed when you type:
# ndd -h socket_udp_rcvbuf_default
Usually, this will provide you with more details on the parameter.
For parameters belonging to the /dev/udp category, they will start with udp_ etc. However, this is the first time I see a network parameter beginning with socket_. It usually begins with ip_, arp_, tcp_, udp_, rawip_ or icmp_.
Both ndd -h sup and ndd -h unsup on HP-UX 11.20 shows you the category a network parameter belongs to.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 04:18 AM
05-28-2002 04:18 AM
SolutionI get alot of oddball tuning questions here in the HP Response Center, so your question got me very interested in finding an answer. Here is what I found. Use ndd -get/set sockets socket_udp_rcvbuf_default
If nothing is displayed, it might be because of a bug in the ARPA Transport on your 11.2X box. I found the bug documented in the 11.11 ARPA Transport patch PHNE_25644:
, SR:8606223770 CR:JAGad92866 )
"ndd -get" does not display anything for socket
tunable parameters.
Since the bug was just fixed in early May, I would suspect that it is an outstanding issue for 11.2X and that you should work the issue with your HP Support contact.
As an aside, use ndd -h sockets to get list of sockets params, or ndd -h supported |more for the complete list of supported ndd params.
Hope this helps,
-> Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2002 05:21 PM
05-28-2002 05:21 PM
Re: use ndd to tune udp parameter
"ndd -get/set sockets socket_udp_rcvbuf_default" works.
thanks.
bo