Details
Description
I have developed a unit test based on the existing TestCapacitySchedulerPerf tests that will measure the performance of a configurable number of apps in a configurable number of queues. It will also test the performance of a cluster that has many queues but only a portion of them are active.
For example:
$ mvn test -Dtest=TestCapacitySchedulerPerf#testUserLimitThroughputWithManyQueues \
-DRunCapacitySchedulerPerfTests=true
-DNumberOfQueues=100 \
-DNumberOfApplications=200 \
-DPercentActiveQueues=100
- Parameters:
- RunCapacitySchedulerPerfTests=true:
Needed in order to trigger the test - NumberOfQueues
Configurable number of queues - NumberOfApplications
Total number of apps to run in the whole cluster, distributed evenly across all queues - PercentActiveQueues
Percentage of the queues that contain active applications
- RunCapacitySchedulerPerfTests=true: