Home | History | Annotate | Download | only in netperf
      1 February 11, 2003
      2 
      3 At the time of the initial port, I was not aware of a make facility
      4 for OpenVMS.  So, I would just compile and link the various files by
      5 hand:
      6 
      7    $ cc netperf.c
      8    $ cc netlib.c
      9    $ cc netsh.c
     10    $ cc nettest_bsd.c
     11    $ cc netserver.c
     12    $ link/exe=netperf netperf.obj,netsh.obj,netlib.obj,nettest_bsd.obj
     13    $ link/exe=netserver netserver.obj,netsh.obj,netlib.obj,nettest_bsd.obj
     14 
     15 Installation for OpenVMS has a few differences from installation under
     16 say Unix.  There is no inetd for VMS - however, there is the concept
     17 of an adding an auxilliary service that seems quite similar.
     18 
     19 To configure netperf for operation as an auxilliary service, you will
     20 need to edit/use the netserver_run.com file and alter the "path" to
     21 netserver accordingly.  The version that ships is setup for where Rick
     22 Jones did his initial porting work and most likely is not apropriate
     23 for you :)
     24 
     25    $  define sys$output sys$sysroot:[netperf]hello_service.log 
     26    $  define sys$error  sys$sysroot:[netperf]hello_service.log 
     27    $  run sys$sysroot:[netperf]netserver.exe 
     28 
     29 Then it will be necessary to "define" netperf (netserver) as an
     30 auxilliary service. This will need to be customized as apropriate for
     31 your system
     32 
     33    $ tcpip set service netserver - 
     34    _$ /port=12865 - 
     35    _$ /protocol=tcp - 
     36    _$ /user=system - 
     37    _$ /limit=48 -
     38    _$ /process_name=netserver - 
     39    _$ /file=sys$sysroot:[netperf]netserver_run.com 
     40 
     41 And then it is necessary to enable the service:
     42 
     43 $ tcpip enable service netserver
     44 
     45 If you want to disable the service, you can issue the command
     46 
     47 $ tcpip set noservice netserver
     48 
     49 By default, OpenVMS is case-insensitive with commandlines, and will
     50 downshift everything to lower case.  This does not interact well with
     51 netperf's use of command-line options like "-H" and "-h" with rather
     52 different meanings.
     53 
     54 To workaround that, the following defines are believed to be
     55 sufficient.
     56 
     57 $ define  DECC$ARGV_PARSE_STYLE       ENABLE
     58 $ define  DECC$EFS_CASE_PRESERVE      ENABLE
     59 $ define  DECC$POSIX_SEEK_STREAM_FILE ENABLE
     60 $ define  DECC$EFS_CHARSET            ENABLE
     61 $ set process /parse_style=extended
     62 
     63 I do not know if this will be something one can also do for the
     64 netserver - presumeably one could put these things in the
     65 netserver_run.com file (guessing). At present though I've not tried
     66 that, and I'm also not sure that netserver has any upper-case options.
     67