Operating System - HP-UX
1837975 Members
2524 Online
110124 Solutions
New Discussion

Re: Equivalent to nettune -s tcp_receive and tcp_send in ndd

 

Equivalent to nettune -s tcp_receive and tcp_send in ndd

We have a client who has migrated from 10.20 to 11.00 (Patched to Sep 2000 QPK, GR and HWCR). Previously the server had the following nettune modifications:

nettune -s tcp_receive 8192
nettune -s tcp_send 8192

We assume that 11.00 is using 32K send and receive sizes. Basically there is a distinct pause on Windows 3.1 based PC's and dumb terminals connected via terminal servers (NT, 95 and 98 PC's are fine). We cannot see an obvious eqivalent to the nettune parameters in ndd any suggestions appreciated.

David Rew.
Waverley Technical Services
2 REPLIES 2
melvyn burnard
Honored Contributor

Re: Equivalent to nettune -s tcp_receive and tcp_send in ndd

HP-UX 11 does use 32k byte window size, as does 10.20.
You may want to look at the output of the following command to check what you can set, and also refer to the Release Notes for 11.
ndd -h supported

This may be one of them you need:
ndd -h tcp_recv_hiwater_def

tcp_recv_hiwater_def:

The maximum size for the receive window. [4096,-]
Default: 32768 bytes
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Craig Gilmore
Trusted Contributor

Re: Equivalent to nettune -s tcp_receive and tcp_send in ndd

You are looking for the following ndd parameters:

#ndd -set /dev/tcp tcp_recv_hiwater_def 8192
#ndd -set /dev/tcp tcp_xmit_hiwater_def 8192

these are the default send and receive buffer sizes for HP-UX 11.00 and later. They can be overridden by a setsockopt() call in a socket program. I would recommend not changing the default, but rather changing the server application.

By changing the default, all users suffer slower throughput. I realize that it is easier in the short term to just make the ndd change, but the sacrifice for other users doesn't seem fair.