10. Leistung
Dieser Abschnitt sollte einen Überblick über die erwartete Leistung der DSA geben. Eine Reihe von Operationen wird zeitlich gemessen, um ein Gefühl für die Geschwindigkeit und den Durchsatz der DSA zu vermitteln. Beachten Sie, dass alle Operationen innerhalb einer einzelnen DSA auflösbar sein sollten. Verkettung und Verweisung werden nicht bewertet, obwohl es möglich sein sollte, zumindest annähernd die Geschwindigkeit verteilter Operationen abzuleiten.
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.
Erstellen Sie eine organisatorische DSA mit 20000 Einträgen unter dem Organisation-Knoten. Unterteilen Sie diese Daten in eine Reihe von organisatorischen Einheiten, von denen eine 1000 Einträge, eine weitere 100 Einträge und eine dritte nur 10 Einträge enthalten sollte. Die Einträge, die unterschiedlich sein sollten, sind mit den folgenden Attributen zu erstellen:
(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 Geschwindigkeit verschiedener Operationen
Die Tests werden beschrieben, je ein Unterabschnitt pro Operation. Die Ergebnisse sollten in Tabelle 2 (und in Tabelle 3, wenn auch eine nicht Standard-Konfiguration gemessen wird) eingetragen werden.
10.1.1 Bind
Die Zeit, die eine DUA benötigt, um eine Bindung zum Verzeichnis herzustellen. Diese Zeit sollte die gesamte Initialisierungszeit enthalten, die ein DUA-Prozess benötigt, bevor er das Verzeichnis abfragen kann: z. B. das Lesen von tailor-Dateien, Schema-Informationen usw. Geben Sie die Bindungszeit für jede der folgenden Authentifizierungsstufen an. Geben Sie "n/a" an, wenn die Implementierung eine bestimmte Authentifizierungsstufe nicht unterstützt.
63. Anonymous
64. Simple
65. Simple protected
66. Strong
10.1.2 List
Geben Sie die Zeit für das Auflisten einer Menge gleichgeordneter Einträge einer organisatorischen Einheit an.
67. 10 entries
68. 1000 entries
10.1.3 Search
In diesem Abschnitt sollten zwei Sätze von Suchoperationen auf der DSA ausgeführt werden.
i. A single level search of 100 entries within an organisational
unit.
ii. An organisation subtree search, on the subtree of 20000 entries.
Die folgenden Suchen sollten versucht werden. Sofern nicht anders angegeben, sollte der Teil "XXX" oder "YYY" des Suchfilters so gewählt werden, dass ein einzelnes Ergebnis zurückgegeben wird. Sofern nicht anders angegeben, sollten die Ergebnisse alle Attribute des Eintrags zurückgeben.
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 diesem Fall sollten keine Attributwerte in der Ergebnismenge zurückgegeben werden.
10.1.4 Read
76. A single read operation, returning all attributes.
10.1.5 Eintrag hinzufügen
77. Add an entry beneath an entry which has:
(a) 0 children
(b) 10 children
(c) 1000 children
10.1.6 Eintrag ändern
Ändern Sie einen Attributwert, der kein RDN-Wert ist, für einen Eintrag, der
1. 10 siblings
2. 1000 siblings
78. Modify an entry
(a) Add description attribute
(b) Remove description attribute
10.1.7 RDN ändern
Ändern Sie einen RDN-Wert für einen Eintrag mit der folgenden Anzahl gleichgeordneter Einträge.
79. Modify RDN
(a) 10 siblings
(b) 1000 siblings
10.1.8 Abfragerate
Da die für einen einzelnen Lesevorgang benötigte Zeit normalerweise vernachlässigbar ist, sollten die folgende Liste und die folgende Menge von Lesevorgängen ein klareres Bild der Abfragerate ergeben.
80. A list to return 100 entries for persons, and then a read of each
entry returning all attribute values.
10.2 Ergebnisse
Die Ergebnisse der gerade beschriebenen Tests sollten am Ende des Dokuments in Tabelle 2 (und optional Tabelle 3) eingetragen werden.
10.3 Für das Benchmarking verwendete Umgebung
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