Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create CM Handles

  2. Running these tests for 15 min:

    1. Passthrough Read & Write with CMHandle and AlternateID

    2. CM Handle & CM Handle ID Search with filters

      1. Module

      2. Property

      3. Cps Path

      4. Trust Level

    3. CM Handle & CM Handle ID Search without filters

    4. Legacy Batch Read Operation

  3. Delete CM Handles

Test Environment

REGISTRATION_BATCH_SIZE

Test Environment

CPUs

13th Gen Intel® Core™ i9-13900H × 20

Memory

32.0 GiB

Commit

140134: Remove multithreading from module sync watchdog | https://gerrit.onap.org/r/c/cps/+/140134

Docker Compose Deployment

docker-compose version 1.29.2

application (CPS) instance - 2

postgres instance - 1

Create Test Cases

Test Iteration 1 - Default parameters

#WorkerThread

WatchDog Sleep Timer

CM

-

handles/second

Comments

100

1

5 sec

48

Test

...

#

...

REGISTRATION_BATCH_SIZE

...

#WorkerThread

...

WatchDog Sleep Timer

...

Results

input patch size

watchdog timer

avg cm-handles/second

Comments

1

1000

1

5 sec

118

Registration is successful.

2

1000

1

5 sec

0

Registration failed.

Expand

#READY=2297
#LOCKED=27607
#ADVISED=14500

3

1000

1

5 sec

0

Registration failed.

Expand

#READY=11434
#LOCKED=37466
#ADVISED=100

4

1000

1

5 sec

115

Registration is successful.

Delete Test Cases

Test Iteration 1 - Default Parameters

...

REGISTRATION_BATCH_SIZE

...

#WorkerThread

...

WatchDog Sleep Timer

...

CM-handles/second

...

Comments

...

100

...

1

...

5 sec

...

428

Test Iteration 2 - Registration Batch Size = 1000

#

REGISTRATION_BATCH_SIZE

#WorkerThread

WatchDog Sleep Timer

CM-handles/second

Comments

1

1000

1

5 sec

0

Deregistration failed.

2

1000

1

5 sec

0

Registration failed.

Expand

#READY=2297
#LOCKED=27607
#ADVISED=14500

3

1000

1

5 sec

0

Registration failed.

Expand

#READY=11434
#LOCKED=37466
#ADVISED=100

4

1000

1

5 sec

361

Deregistration is successful

: registration

avg cm-handles/second : deregistration

comments

100

5 sec

0

0

Registration failed since some cm handles could not become ready.
Also, during the tests, cps-and-ncmp services continuously restarted.