User Tools

Site Tools


Sidebar

openbach:exploitation:reference_scenarios:service:service_ftp:index

Service FTP

Context

To transfer files through network, we can use the File Transfer Protocol (FTP). This scenario allows to transfer one specific file between two OpenBACH agents, either once or repeatedly. It uses the jobs ftp_clt and ftp_srv.

How to launch it

The scenario can be launched with the following command:

python3 executor_service_ftp.py your_project --client-entity client_entity --server-entity server-entity --server-ip server_ip --server-port port --mode upload_or_download --ftp-file_path path_of_the_file --ftp-user user --ftp-passwrd password --multiple multiple --blocksize blocksize --post-processing-entity post_processing_entity run

Here is a description of each argument:

  • client_entity : the name of the OpenBACH agent being the FTP client
  • server-entity : the name of the OpenBACH agent being the FTP server
  • ip_srv: the ip address of the FTP server
  • port: the port of the FTP server [not required]
  • mode: Either “upload” or “download”, the client will upload or download the file
  • ftp-file_path: The file's path, either on the server or the client. On the server you need to consider “/srv/” as the root directory and on the client “/srv/” as the current directory.
  • ftp-user: set the authorized FTP user on the server (and the client) [not required]
  • ftp-passwrd: set the authorized FTP user's password on the server (and the client) [not required]
  • multiple: set the number of time the file will be transferred (default: 1) [not required]
  • post-processing-entity: the name of the OpenBACH agent post-processing statistics [not required]

If multiple is different of 1, only one transfer will be done at a time

An example of the type of results that this scenarios is capable of plotting is shown below:

CDF of Throughput (upload of two files to server)

The FTP server computes only the average value of throughput on Upload, while the client is capable of computing the throughput during all the transfer.

Time-series of Throughput (file downloaded by 5 clients)

The FTP server computes only the average value of throughput on Download, while each client is capable of computing the throughput during all the transfer.

The plots can be downloaded from the OpenBACH web interface: go to the scenario instance, click on export CSV, check the histogram and time-series boxes and click on Download.

openbach/exploitation/reference_scenarios/service/service_ftp/index.txt · Last modified: 2020/10/22 10:35 by kuhnn