What are we testing?
The performance of Fedora 4 when performing create, read and delete operations of Fedora objects and datastreams using Fedora 4's REST API.
Test System
Fedora version 4 installed on test servers (see Test Platform for details)
System information: 'systemInfo.txt' has information about the system on which the tests were performed, gathered using the script 'gatherSystemInfo.sh'
- Tests as of 2013-06-03
- Tests as of 2013-04-25:
Test Harness
See Candidate Test Harness for information regarding the test harness, an explanation of the test results and analysing the test results
The test was done using Apache JMeter
The Jmeter script used for the test is 'plans/fedora.jmx' published in the github repo ff-jmeter-madness
- With the Fedora 3 tests disabled - Fedora 3 Describe, Delete Fedora 3 Existing Objects, Fedora 3 thread group (testing Fedora4 only)
This was run from Futures1
The test script 'fedora4Test.sh' was used to execute the test code with the different test parameters - file size and thread count
- Tests as of 2013-06-03
- Tests as of 2013-04-25
The test scripts, results and the graphs generated are available on github at:
- 2013-06-03: https://github.com/futures/ff-jmeter-testResults/tree/master/2013-06-03-Fedora4Tests
- 2013-04-25: https://github.com/futures/ff-jmeter-testResults/tree/master/2013-04-25-Fedora4Tests
Test Parameters
Number of Threads: The number of concurrent requests JMeter will generate, when executing the tests
Number of Loops: Configures the number of datastreams in the fedora object
File size mean and standard deviation - Used to produce random binary data, from the stable set of file sizes
Parameter | Values | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Number of threads | 1 | 5 | 10 | 20 | 40 | 80 | |||||
Number of loops | 10 | ||||||||||
File size - Mean (bytes) | 1 (1B) | 1024 (1kB) | 8192 (8kB) | 104858 (0.1MB) | 1048576 (1MB) | 8388608 (8MB) | 107374182 (100MB) | ||||
File size - Standard deviation | 0.1 | 102 | 819 | 10486 | 104858 | 838861 | 10737418 |
The binary data created during the test run, is used as the data for datastreams, in the creation and modification of the datastreams within an object. The size of the binary data is based on the test parameters of mean and standard deviation.
Test Results
- The test was run a total of 42 times (6 values of thread count and 7 values of file size)
- The results are logged to csv files and have been placed in the log directory
- Graphs were generated using R for statistical computing and graphics
- Full results:
Analysing the test results
The stats visualizations were done using R (http://www.r-project.org/).
The code used to produce the graphs is in 'fedora-jmx.r'
- 2013-06-03: fedora-jmx.r
- 2013-04-25: fedora-jmx.r
To execute the code:
$ R > source('/path/to/the/file/fedora-jmx.r')
- The program will ask you to choose the directory which contains the test results (csv format)
- The test results were copied from futures6 /opt/ff-jmeter-madness/log to a machine where R is installed
- It will run through all the files, gather the data and produce 3 graphs and a summary of the data. These will be saved in your current working directory.