TUNING


DWA85 workload
The DWA85 workload represents an active iNotes® user in Full Mode sending, retrieving, and deleting mail from a browser.

Before you begin

This test requires that you perform all the required setup procedures that apply to your configuration for this test, including setting up the NOTES.INI file and the destination servers.

The console does not display Web users because they do not update the same counters as iNotes clients. Notes® clients use the Database Server task, and Web users use the HTTP task. Use the show task command to display each task at the server console.

To determine whether mail is being delivered to the server, use this command at the console:

show stat Mail.Delivered

To monitor message counters, use one of these commands at the console:

show stat HTTPshow stat mail

In addition, show stat Domino.Requests.* can be used to determine whether web requests are being received at the server.

DWA85 requires authenticated users.

Note: If authentication errors appear at the console, check that the password in the HTTP field of the Person document in the Domino® Directory on the SUT is set to NotesBench. If necessary, edit the Person document in the Domino Directory. Use the agent Set HTTP Password to 'NotesBench'.

Ensure that the mail template is compatible with the Domino release you are running. For example, for Domino release 8.5 or later, use the template mail85.ntf. In the NOTES.INI file of the test driver, enter Set MailTemplate=mail85.NTF. To display routing information on the console, include Log_MailRouting=40 in the NOTES.INI file on the SUT.

About this task

An average simulated user runs the DWA85 workload four times an hour – four fifteen minute iterations. The simulated user first logs into the mail database. Then, the simulation loops for a number of iterations. Each iteration, it checks and retrieves five mail messages, deleting two of them, and replying to one every other iteration. Once every iteration, it sends a memo to one recipient. Once every other iteration, it sends an additional memo to three recipients. Once every twenty-fourth iteration, the workload creates an appointment from the Inbox, creates and sends a meeting invitation from the Inbox, and responds to an invitation request, if one exists in the Inbox. Once per iteration, the workload moves a random Inbox document to a test folder called NotesBench. Finally, three alarm polls are performed throughout the iteration with a frequency of once per five minutes. The workload's average duration per iteration is fifteen minutes.

By default, the workloads assume that user authentication is required.

Table 1. Details of testing
DetailInformation
MetricsThis test measures:
  • Throughput of completed HTTP operations
  • Average response time at maximum capacity
  • Maximum number of iNotes (8.5 and later) users supported before the average user response time becomes unacceptable
Server document settings for the DWA85 testIn the Server document, use these settings:
  • In the Administrator field on the Basics tab, enter the administrator's name, that is, the name of the user that has been defined as the administrator. If you do not include the administrator's user name, any server commands issued are rejected.
  • On the Internet Protocols - HTTP tab, set HTTP Persistent connections to Disabled.
  • On the Internet Protocols - HTTP tab, set the field Optimize HTTP performance based on the following primary activity to Advanced (Custom Settings). This setting allows you to view/modify the number of HTTP threads and is usually set during installation.
NOTES.INI settings for the DWA85 test Server Under Test
  • Verify that the Server Tasks setting in the NOTES.INI file on the SUT includes HTTP.
  • The optimum setting for the number of HTTP threads requires some experimentation. Start with a value of 100 on a large machine and adjust this up or down until you obtain the best results.
Access rightsThe user that you designate as the administrator must have Manager access to the Domino Directory in that directory's ACL.
Authentication
  • By default, DWA85 assumes that user authentication is required. For authenticated users, ACLs for all mail databases and the Domino Directory must specify Manager access for the - Default - user. In the NOTES.INI file of the test drivers , use the WebAuthenticationOff=0 (or not defined) setting.
  • On the Agent Restrictions section of the Server document - Security tab, set the values of the following properties to * (wildcard character), allowing anonymous users to run the agents.
    • Run restricted LotusScript/Java agents
    • Run unrestricted LotusScript/Java agents

Procedure

From the NAMAGENT.NSF, run the Update ACL of mail dbs to include owner (mail1, mail2, ...) agent on the Domino Directory of the Server Under Test (SUT) to update the ACL for the mail databases. The owner of the mail databases must be named in the ACL. See the Using this Database document in NAMAGENT.NSF for more information about using the agents.

The following table lists required variables that do not appear in the Script Variables box.


Running the test

About this task

In mail databases you previously created using the DWA85Init workload, you add each authenticated user to the ACL in their mail file.

Procedure

1. In the field Select Script, select DWA85, and then click Execute.

2. Enter the SH STAT command at the SUT console before exiting the Domino server at the end of the test.

Related concepts
Running the built-in Server.Load workloads

Related tasks
Tips for running a Server.Load test
Running a custom Server.Load script