Skip to main content

10. Performance

This section should give an outline to the expected performance of the DSA. A number of operations are timed in order to give a feel for the DSA's speed and throughput. Note that all operations should be resolvable within a single DSA. Chaining and referral are not assessed, although it should be possible to infer, albeit approximately, the speed of distributed operations.

   i.  The tests should be made against an organisational database of
20000 entries. Some tests are against subsets of this data, and
so the database should be set up according to the following
instructions.

Create an organisational DSA with 20000 entries below the organisation node. Sub-divide this data into a number of organisational units, one of which should contain 1000 entries, another of which should contain 100 entries, and a third which should contain just 10 entries. The entries, which should differ, should be created with the following attributes:

       (a)  Common Name
       (b)  Surname
       (c)  Telephone number
       (d)  Postal Address (of 100 characters)
       (e)  Object class
    ii. In all the tests, two timings should be taken.  In order to
normalise the test results as much as possible, it is suggested
that these tests be undertaken on an otherwise lightly loaded
machine.
       (a)  A typical "cold start" reading should be given.  In this
case the system will not have the advantage of any benefits
that derive from operating system paging, or caching.
       (b)  A best possible figure should be given, which indicates the
upper limit of DSA performance.
   iii. The timings should relate to the default set-up, and should be
entered in Table 2. If significant performance gains can be made
by use of configuration options, such as building extra indexes
to support searches, measures of the improved performance may
also be given, and should be entered in Table 3.
Attention should be also drawn to any optimisations, heuristic or
otherwise, which are not evidenced in the following tests.
    iv. Please note that the tests should be made using a DUA and DSA
with full 7-layer stacks, rather than some lightweight protocol.

10.1 Speed for various operations​

The tests are described, one subsection per operation. The results should be entered in Table 2 (and Table 3 if a non-default set-up is also measured).

10.1.1 Bind​

The time it takes for a DUA to bind to the Directory. This time should include all the initialisation time a DUA process needs before it can query the Directory: e.g., reading of tailor files, schema information, etc. Give the bind time for each of the following levels of authentication. State "n/a" if the implementation does not support a particular level of authentication.

   63. Anonymous
   64. Simple
   65. Simple protected
   66. Strong

10.1.2 List​

Give the time for listing a set of organisational unit sibling entries.

   67. 10 entries
   68. 1000 entries

In this section, two sets of search operations should be performed on the DSA.

   i.  A single level search of 100 entries within an organisational
unit.
   ii. An organisation subtree search, on the subtree of 20000 entries.

The following searches should be tried. Unless otherwise stated, the "XXX" or "YYY" part of the search filter should be chosen in such a way as to return a single result. Unless stated otherwise the results should return all attributes for the entry.

   69. Exact match for a surname:
           surname=XXX
   70. Leading substring match for a common name:
           commonName=XXX*
   71. Any substring match for a common name:
           commonName=*XXX*
   72. Trailing substring match for a common name:
           commonName=*XXX
   73. Approximate match for a common name:

commonName"=XXX

   74. More complex filter, searching by object class and two other
attribute types:
           objectClass=person AND
(commonName=XXX* OR telephoneNumber=*YYY)
   75. Search returning all entries (i.e., 100 entries in the single
level search, and all 20000 entries in the subtree search:
           objectClass=*

In this case, no attribute values should be returned in the result set.

10.1.4 Read​

   76. A single read operation, returning all attributes.

10.1.5 Add entry​

   77. Add an entry beneath an entry which has:
      (a)  0 children
      (b)  10 children
      (c)  1000 children

10.1.6 Modify entry​

Modify an attribute value, other than an RDN value, for an entry which has

   1.  10 siblings
   2.  1000 siblings
   78. Modify an entry
      (a)  Add description attribute
      (b)  Remove description attribute

10.1.7 Modify RDN​

Modify an RDN value for an entry with the following number of siblings.

   79. Modify RDN
      (a)  10 siblings
      (b)  1000 siblings

10.1.8 Query rate​

As the time taken for a single read will usually be negligible, the following list and set of reads should give a clearer indication of the query rate.

   80. A list to return 100 entries for persons, and then a read of each
entry returning all attribute values.

10.2 The results​

The results of the tests just described should be entered in Table 2 (and optionally Table 3), at the end of the document.

10.3 Environment used for benchmarking​

   Date of test.........................................................
Name of tester ......................................................
The results will be directly correlated to the test set-up used, and
in particular, the hardware. Please answer the following questions
to describe the test environment:
      (a)  Processor (make and model) ..................................
      (b)  Processor speed (MIPS) ......................................
      (c)  Primary memory available ....................................
      (d)  If disk-based DSA, disk I/O interface and disk speed ........
      (e)  O/S version .................................................
      (f)  Network type and bandwidth (e.g., 10 Mbit Ethernet) .........
      (g)  Protocols in transport layer and below (e.g., TP 0, RFC1006,
TCP/IP) .....................................................
      (h)  How/where timings obtained?
            o  C procedural interface ..................................
            o  DUA shell (e.g., Quipu's DISH) ..........................
          +-------------------------------------------------+
          |             Section            ||    Points     |
          +--------------------------------||---------------+
          | No.||Description               |Maximum|Scored  |
          +----||--------------------------|-------|--------+
          |    ||                          |       |        |
          |   2||General Information       |  20   |        |
          +----||--------------------------|-------|--------+
          |    ||                          |       |        |
          |   3||Conformance to OSI        |  35   |        |
          +----||--------------------------|-------|--------+
          |    ||          |               |       |        |
          |   4||Other protocols           |   5   |        |
          +----||--------------------------|-------|--------+
          |    ||          |               |       |        |
          |   5||Extensions| Schema        |  16   |        |
          +----||          |---------------|-------|--------+
          |    ||          |               |       |        |
          |    ||to the    |Replication    |  10   |        |
          +----||          |---------------|-------|--------+
          |    ||          |               |       |        |
          |    ||1988      |Access Control |  15   |        |
          +----||          |---------------|-------|--------+
          |    ||          |               |       |        |
          |    ||standard  |Miscellaneous  |   5   |        |
          +----||--------------------------|-------|--------+
          |    ||Miscellaneous             |       |        |
          |   6||characteristics           |  15   |        |
          +----||--------------------------|-------|--------+
          |    ||                          |       |        |
          |   7||Management tools          |  10   |        |
          +----||--------------------------|-------|--------+
          |    ||                          |       |        |
          |   8||Operational use           |  10   |        |
          +----||--------------------------|-------|--------+
          |    ||                          |       |        |
          |   9||Interoperability          |  10   |        |
          +----||--------------------------|-------|--------+
          |    ||                          |  see  |        |
          |  10||Performance               |table 2|        |
          +-------------------------------------------------+
                          Table 1:  DSA Metrics
        +------------------------------------------------------+
        | Operation         ||   Cold DSA    ||     Optimum    |
        |                   ||               ||   Performance  |
        +-------------------||---------------||----------------+
        | Bind              ||               ||                |
        |    --Anonymous    ||.............. || .............. |
        |    --Simple       ||.............. || .............. |
        |    --Simple Prot  ||.............. || .............. |
        |    --Strong       ||.............. || .............. |
        +-------------------||---------------||----------------+
        | List              ||               ||                |
        |    -- 10 entries  ||.............. || .............. |
        |    -- 1000 entries||.............. || .............. |
        +-------------------||---------------||----------------+
        | Search             |single|subtree |single|subtree   |
        |                    |level |        |level |          |
        |                    |------|--------|------|----------|
        |    -- exact        |....  |......  |..... | ......   |
        |    -- leading sub  |....  |......  |..... | ......   |
        |    -- any sub      |....  |......  |..... | ......   |
        |    -- trailing sub |....  |......  |..... | ......   |
        |    -- approx       |....  |......  |..... | ......   |
        |    -- complex      |....  |......  |..... | ......   |
        |    -- return all   |....  |......  |..... | ......   |
        +--------------------|------|--------|------|----------|
        | Read              ||.............. || .............. |
        +-------------------||---------------||----------------+
        | Add               ||               ||                |
        |     0 siblings    ||.............. || .............. |
        |     10 siblings   ||.............. || .............. |
        |     1000 siblings ||.............. || .............. |
        +-------------------||---------------||----------------+
        | Modify            ||               ||                |
        |     10 siblings   ||.............. || .............. |
        |     1000 siblings ||.............. || .............. |
        +-------------------||---------------||----------------+
        | Modify RDN        ||               ||                |
        |     10 siblings   ||.............. || .............. |
        |     1000 siblings ||.............. || .............. |
        +-------------------||---------------||----------------+
        | Query rate        ||.............. || .............. |
        +-------------------||---------------||----------------+
            Table 2:  Speed of operations - default set-up
        +------------------------------------------------------+
        | Operation         ||   Cold DSA    ||     Optimum    |
        |                   ||               ||   Performance  |
        +-------------------||---------------||----------------+
        | Bind              ||               ||                |
        |    --Anonymous    ||.............. || .............. |
        |    --Simple       ||.............. || .............. |
        |    --Simple Prot  ||.............. || .............. |
        |    --Strong       ||.............. || .............. |
        +-------------------||---------------||----------------+
        | List              ||               ||                |
        |    -- 10 entries  ||.............. || .............. |
        |    -- 1000 entries||.............. || .............. |
        +-------------------||---------------||----------------+
        | Search             |single|subtree |single|subtree   |
        |                    |level |        |level |          |
        |                    |------|--------|------|----------|
        |    -- exact        |....  |......  |..... | ......   |
        |    -- leading sub  |....  |......  |..... | ......   |
        |    -- any sub      |....  |......  |..... | ......   |
        |    -- trailing sub |....  |......  |..... | ......   |
        |    -- approx       |....  |......  |..... | ......   |
        |    -- complex      |....  |......  |..... | ......   |
        |    -- return all   |....  |......  |..... | ......   |
        +--------------------|------|--------|------|----------|
        | Read              ||.............. || .............. |
        +-------------------||---------------||----------------+
        | Add               ||               ||                |
        |     0 siblings    ||.............. || .............. |
        |     10 siblings   ||.............. || .............. |
        |     1000 siblings ||.............. || .............. |
        +-------------------||---------------||----------------+
        | Modify            ||               ||                |
        |     10 siblings   ||.............. || .............. |
        |     1000 siblings ||.............. || .............. |
        +-------------------||---------------||----------------+
        | Modify RDN        ||               ||                |
        |     10 siblings   ||.............. || .............. |
        |     1000 siblings ||.............. || .............. |
        +-------------------||---------------||----------------+
        | Query rate        ||.............. || .............. |
        +-------------------||---------------||----------------+
          Table 3:  Speed of operations - non-default set-up