Profiling procedure:
- Deploy fcrepo-webapp
- Fire up YourKit and attach to Tomcat
- Open the Jmeter Fedora Profiling Test Plan
- Set NUM_THREADS=1 and LOOP_COUNT=100
- Enable (toggle) only:
- HTTP Authorization Manager
- Fedora 4Run the JMeter Threadgroup "Fedora 4 Create Object"
- Fedora Basic Test/Create Object
- Run to create some new objects
- Disable Fedora Basic Test/Create Object and enable Fedora Basic Test/Delete Object and run again
- Set NUM_THREADS=1 and LOOP_COUNT=100
- Start the CPU Sampling in YourKit
- Let YourKit collect data for some time
- Click on "Capture Snapshot" to stop profiling and open the results.
- Look at Hotspots in YourKit results
Profiling setup:
- Servlet container: Tomcat 7.0.37
- Java build: 1.7.0_21-b12
- OS: Mac OS X 10.8.4
- Date: 2013-06-10
- fcrepo4 build version: https://github.com/futures/fcrepo4/commit/9a53bdc1757af9d26e1cf5d177a0f5b327a6bbab
1 Comment
Andrew Woods
These results are consistent with the profiling seen on other operations. It would appear that the JGroups configuration is the source of the most significant time sinks:
Hopefully, the Tracker item to deactivate JGroups when running in single-server mode will eliminate this issue.
https://www.pivotaltracker.com/s/projects/684825/stories/51314651