SPO600 Profiling Lab
From CDOT Wiki
- You must have working accounts on the SPO600 Servers or your own Fedora system.
- You must be able to build software.
As a Group
- Set up your pod (see note above).
- Select one of these software packages:
- Apache httpd
- Nginx http server
- Maria DB server
- MySQL server
- Or another non-trivial open source software package that does not have a user interface and which processes data, either transforming it (e.g., compression, compiling, editing) or serving network requests.
- Obtain the software (via git or other version control system if necessary, or by downloading the appropriate archive/tarball).
- Do a build with profile generation (
-pg) enabled -- note that both the compiler and linker will require the
-pgoption. You may need to install build dependencies.
- Decide what data you're going to use for the profiling run.
- Execute your profiling plan and analyze the results using
gprof. Record appropriate information about the data processed and the execution environment.
- Complete any of the tasks not completed by the group during the class.
- Analyze the results to find the portions of code that offer the best opportunity for optimization (these may not be the portions that consume the most time). You will probably want to look at the source code for the relevant function.
- Blog the execution environment, your results, your analysis of the results, and your experience doing this lab, including things that you learned and unanswered questions that have come up.
If you have interest:
- Use another profiling tool to analyze the same software.
- Blog about the results.