New IP : how to tune FTP send & receive buffers

All types of networks, network stacks, and protocols supported by OpenVMS.
Post Reply

Topic author
bartr
Visitor
Posts: 2
Joined: Mon Oct 07, 2019 9:26 am
Reputation: 0
Location: Belgium
Status: Offline

New IP : how to tune FTP send & receive buffers

Post by bartr » Mon Oct 07, 2019 9:48 am

We’re currently testing the new IP stack V10.6
In the past on TCPIP V5.7 we used the following command to tune FTP performance :

$ TCPIP SET SERVICE FTP /SOCKET_OPTIONS=(SEND=1024,RECEIVE=1024)

I suppose the corresponding command on the new IP stack is
SERVER-CONFIG> set SEND-BUFFER-SIZE and RECEIVE-BUFFER-SIZE

However, I get an error message “?Does not match switch or keyword - "SEND-BUFFER-SIZE" :

$ ip config/server
VSI TCP/IP Server Configuration Utility
[Reading in configuration from IP$CONFIG:SERVICES.MASTER_SERVER]
SERVER-CONFIG>select FTP
[The Selected SERVER entry is now FTP]
SERVER-CONFIG>enable ftp
SERVER-CONFIG>select ftp
[The Selected SERVER entry is now FTP]
SERVER-CONFIG>set SEND-BUFFER-SIZE 1024
?Does not match switch or keyword - "SEND-BUFFER-SIZE"
SERVER-CONFIG>set SEND-BUFFER-SIZE=1024
?Does not match switch or keyword - "SEND-BUFFER-SIZE"
SERVER-CONFIG>show/full
Service "FTP":
TCP socket (AF_INET,SOCK_STREAM), Port 21
Socket Options = SO_KEEPALIVE
Flags = PASS_FOREIGN_SOCKET
INIT() = TCP_Init
LISTEN() = TCP_Listen
CONNECTED() = TCP_Connected
SERVICE() = Internal_FTP
Program = "IP$SYSTEM:FTP_SERVER.COM"
Working Set Quota = 100

What’s wrong here ?

Also, is there any corresponding command for sysconfig commands like TCPIP sysconfig -r socket sb_max=2097152 ?


Bart


debbee.west
VSI Expert
Contributor
Posts: 19
Joined: Mon Oct 07, 2019 11:10 am
Reputation: 0
Status: Offline

Re: New IP : how to tune FTP send & receive buffers

Post by debbee.west » Mon Oct 07, 2019 11:13 am

Bart,

You have the command off by just a little bit.

You wrote -
I suppose the corresponding command on the new IP stack is
SERVER-CONFIG> set SEND-BUFFER-SIZE and RECEIVE-BUFFER-SIZE

But, really, its

SERVER-CONFIG>set send-buffer-space 1024
[Send Buffer Space of FTP set to 1024]

So, in server-config> you will do something like this

SERVER-CONFIG>sel ftp
[The Selected SERVER entry is now FTP]
SERVER-CONFIG>set receive-buffer-space 1024
[Receive Buffer Space of FTP set to 1024]
SERVER-CONFIG>write
[Writing configuration to SYS$COMMON:[IP.CONFIG]SERVICES.MASTER_SERVER.25]
SERVER-CONFIG>


Topic author
bartr
Visitor
Posts: 2
Joined: Mon Oct 07, 2019 9:26 am
Reputation: 0
Location: Belgium
Status: Offline

Re: New IP : how to tune FTP send & receive buffers

Post by bartr » Tue Oct 08, 2019 3:57 am

Thanks Debbee, SEND-BUFFER-SPACE instead of *-SIZE indeed solved the problem.

It seems this is documented incorrectly in the VSI TCP/IP Administrator's Guide Volume I p. 67 :

- SET RECEIVE-BUFFER-SIZE Specifies the size of receive socket buffer
- SET SEND-BUFFER-SIZE Specifies the size of the send socket buffer

User avatar

puder
VSI Expert
Contributor
Posts: 10
Joined: Thu Aug 29, 2019 1:44 pm
Reputation: 0
Status: Offline

Re: New IP : how to tune FTP send & receive buffers

Post by puder » Tue Oct 08, 2019 9:47 am

The next version of the TCP documentation has this correction.

User avatar

martinv
Master
Posts: 145
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: New IP : how to tune FTP send & receive buffers

Post by martinv » Wed Oct 09, 2019 12:24 am

The release notes contain the correction on p.19.
Last edited by martinv on Wed Oct 09, 2019 2:00 am, edited 2 times in total.
Never believe that a few caring people can't change the world. For, indeed, that's all who ever have.
(Margaret Mead)

Post Reply