Operating System - OpenVMS
1825950 Members
2849 Online
109690 Solutions
New Discussion

Re: Socket Buffer Handling

 
Mainak
Advisor

Socket Buffer Handling

Hi ,

Could any one provide me detail information about the following -

UCX> show dev bg1396/fu
Device_socket: bg1396 Type: STREAM LOCAL REMOTE
Port: 23 1216
Host: TGDV12 THDV42
Service: TELNET Terminal: TNA1:

RECEIVE SEND
Queued I/O 0 0
Q0LEN 0 Socket buffer bytes 0 2
QLEN 0 Socket buffer quota 3000 3000
QLIMIT 0 Total buffer alloc 0 1828
TIMEO 0 Total buffer limit 12000 12000
ERROR 0 Number of XONs 0 0
OOBMARK 0 Number of XOFFs 0 0
I/O completed 243 386
Bytes transferred 390 13575

Options: REUSEADR KEEP OOBINLINE
State: ISCONNECTED PRIV
RCV Buff: WAIT
SND Buff: SEL



What is the meaning of the bottom section -


Options: REUSEADR KEEP OOBINLINE
State: ISCONNECTED PRIV
RCV Buff: WAIT
SND Buff: SEL
i.e. -> Option: keep or Option: REUSEADR or RCV Buff: WAIT etc ..

Could any one provide me any document/manual explaing this all for UCX 4.2. I am trying to tune the parameters for better buffer handing as per my system requirements.

Thanks.
3 REPLIES 3
faris_3
Valued Contributor

Re: Socket Buffer Handling

REUSEADR KEEP OOBINLINE

Hi,

You will find the description of the socket options in
http://h71000.www7.hp.com/doc/82final/6529/6529pro_028.html#app_sock_options

For instance :
SO_REUSEADDR
Specifies that the rules used in validating addresses supplied by a bind() function should allow reuse of local addresses. A value of 0 disables the option, and a non-zero value enables the option. The SO_REUSEPORT option is automatically set when an application sets SO_REUSEADDR.

...
Wim Van den Wyngaert
Honored Contributor

Re: Socket Buffer Handling

I once asked HP if they had a description of all those fields and they said that "it is common knowledge" t.i. undocumented unless you read the sources.

So, find the sources of a tcp version. Often there is some comment in it. Don't like it myself but it is trendy (open stuff).

Wim
Wim
Jan van den Ende
Honored Contributor

Re: Socket Buffer Handling



... and they said that "it is common knowledge"

Trouble is, by that definition there are not many common people!

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.