# MailStone workload configuration file # # Include other workload files like this: # # # See Also: # smtp.wld - typical SMTP delivery test # pop.wld - typical POP3 check/download test # imap.wld - typical IMAP4 check/download test ###################################################################### # These sections discribe how the test is run: # CONFIG, CLIENT, MONITOR, PRETEST, POSTTEST # The section defines test setup and report parameters # Multiple sections will be merged into a one. # The equivalent command line switch is shown in parenthesis. title POP reads # title for report and index (-b) comments Netscape MSG4.1 # additional info at top of report (-n) time 3m # test time (-t) rampTime 20s # portion of test to start things (-r) clientCount 12 # number of client connections (-l) maxErrors 10000 # set an error abort limit maxBlocks 50000 # stop after this many blocks #sysConfig conf/mailhost.txt # Pull in config file (-s) sysConfig \ # Inline config text
\
 mailhost.example.com \
  Netscape Messaging Server 4.11\
  Linux 2.2.5\
  4x400Mhz Xeon (1Mb)\
  2Gb RAM\
useGroups 1 # use group names instead of host names telemetry 1 # log telemetry (for debugging) # These usually dont need to be set. These are the defaults GnuPlot gnuplot/gnuplot RSH /usr/bin/rsh # RSH /usr/bin/remsh # HP-UX uses this path RCP /usr/bin/rcp tempDir /var/tmp # client machine directory chartWidth 640 chartHeight 480 clientCommand mailclient # CLIENT command to run monitorCommand vmstat %f # MONITOR command to run makeUsersArgs -4 # args to makeusers
# Each section defines one or more client machines # Every machine in the section will run the same number of connections # Note that there cannot be whitespace between the client hostnames arch Linux2.2_x86 maxClients 200 maxThreads 50 # the group is only used if "useGroups" is set group A command mailclient -m 100 # override the command to run # Set a specific number of processes and threads arch SunOS5.6 processes 2 threads 10 # the group is only used if "useGroups" is set group B # Here is how to configure a WinNT client from a Unix mail master # The NT rshd must interoperate with Unix rsh; allow redirection of # stdin, stdout, and stderr; and must support binary file copies. # Denicomp's wrshdnt has been used sucessfully. www.denicomp.com Arch WINNT4.0 command mailclient.exe tempDir c:\temp # The PreTest sections will run before the test starts # RSH rsh -l mailuser command cd /usr/netscape/msg-mailhost; ./getconf # Each section defines remote monitoring commands # for one or more machines. # Commands containing '%c' run to completion. # Otherwise the command will be shutdown down command vmstat,%f,%c # The PostTest sections will run after the test completes command df ###################################################################### # available protcols: SMTP, POP3, IMAP4 # (command names are not case sensitive) # # Time formats use suffixes of 's', 'm', 'h', 'd' # for seconds, minutes, hours, days # In account formats, "%ld" is replaced by user number # These parameters apply to the protocol sections # Command parameter applicable command Example #------------------------------------------------------------------- # server mail.example.com # portNum 25 # (if no value is given, the default port for that service is used) # # weight 20 # # loginFormat test%ld # %ld=address %ld=domain # firstLogin 0 # numLogins 2000 # sequentialLogins 1 # passwdFormat netscape # # addressFormat test%ld@mail.example%ld.com # %ld=address %ld=domain # firstAddress 0 # numAddresses 2000 # sequentialAddresses 1 # # numDomains 3 # firstDomain 0 # sequentialDomains 1 # # idleTime 5m # numLoops 200 # loopDelay 1m # blockTime 5m # # numRecips SMTP 3 # smtpMailFrom SMTP mailstone@mail.example.com # file SMTP en-3k.msg # useEHLO SMTP 1 (default is HELO) # useAUTHLOGIN SMTP 1 (no AUTHLOGIN by default) # # leaveMailOnServer POP3,IMAP4 1 # leaveMailUnSeen IMAP4 1 # The section sets command block defaults # Multiple sections will be merged into one server mailhost.example.com smtpMailFrom mailhost0@mailhost.example.com addressFormat mailhost%ld@mailhost.example.com loginFormat mailhost%ld passwdFormat netscape numLogins 1000 numAddresses 1000 # Note: empty host list means all hosts file en-1k.msg weight 10 numAddresses 200 # Note: the host name must be the same as specified in the CLIENT section weight 10 #leaveMailOnServer 1 idleTime 300 #weight 15 ###################################################################### # These sections are used to generate the right graphs for the test # This is the built in defaults title Number of connections attempted label Connections/sec variables conn field Try title Total connections label Connections variables connections title Number of connection errors label Errors/sec variables conn, banner, login, logout field Error title Number of command/message errors label Errors/sec variables cmd, submit, retrieve field Error Title Number of messages read label Messages/sec variables retrieve field Try title Number of messages written label Messages/sec variables submit field Try title Number of commands sent label Commands/sec variables cmd field Try title Bytes read label Bytes/sec variables login, banner, cmd, retrieve, submit, logout field BytesR title Bytes written label Bytes/sec variables login, banner, cmd, retrieve, submit, logout field BytesW title Message transfer time label Seconds per message variables cmd, submit, retrieve field Time Title Connection setup time label Seconds per connection variables conn, banner, login field Time title Number of mailstone blocks executed label Blocks/sec variables blocks # this is a scalar. No "field" needed/allowed