Difference between revisions of "Winter 2020 SPO600 Project"
Chris Tyler (talk | contribs) (→Overview) |
Chris Tyler (talk | contribs) (→Due Dates) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
2. Identify the functions or methods that are taking the majority of the CPU time. | 2. Identify the functions or methods that are taking the majority of the CPU time. | ||
− | 3 | + | 3. Report on your results. |
− | |||
− | |||
Line 62: | Line 60: | ||
== Due Dates == | == Due Dates == | ||
− | * Stage 1 is due by 11:59 pm on March 22 | + | * Stage 1 is due by 11:59 pm on <strike>March 22</strike> <strike>March 29</strike> '''April 1''' |
− | * Stage 2 is due by 11:59 pm on April 5 | + | * Stage 2 is due by 11:59 pm on <strike>April 5</strike> <strike>April 12</strike> '''April 15''' |
− | * Stage 3 is due by 11:59 pm on April 12 | + | * Stage 3 is due by 11:59 pm on <strike>April 12</strike> <strike>April 18</strike> '''April 20''' |
Latest revision as of 10:37, 18 April 2020
Overview
The Winter 2020 SPO600 Project consists of:
- Stage 1: Building and Benchmarking the performance of an open-source software package
- Stage 2: Profiling the software to determine which part of the code is doing most of the work
- Stage 3: Identifying optimization opportunities in the software
Stage 1
1. Find an open source software package that includes a CPU-intensive function or method that is implemented in a language that compiles to machine code (such as C, C++, or Assembler). This could be a hash function, compression, a codec, or any other compute-intensive task, and may be in an application or a library. Write the name of the package on the Participants Page.
2. Build the software.
3. Find or create a test case that takes at least 4 minutes to run and represents a reasonable use-case for the software.
4. Benchmark the performance of the current implementation of the software on AArch64 and x86_64 systems. Control or account for any variables that may alter your results. Prove the repeatability of your observations.
5. Experiment with various build options (e.g., compiler optimization levels) to determine if this has any impact on the performance.
6. Report on your results to this point.
Stage 2
1. Profile your software to identify where the software is spending its execution time and the amount of memory that the software is using. Perform this profiling using the test case you created in Stage 1, on both x86_64 and AArch64 platforms. Do not compare the absolute performance on different platforms, but do compare the relative performance on a givel platform.
2. Identify the functions or methods that are taking the majority of the CPU time.
3. Report on your results.
Stage 3
1. Examine the code of the functions and methods that are taking the most CPU time.
2. Identify possible approaches to improving the performance of the software. Which changes to data types, software organization, algorithim decisions, or other aspects of the software could improve performance?
3. Defend your approaches either by testing them or by building a case to support your approach(es).
4. Report on your results.
Reporting on Results
- Blog about your work frequently as you are performing it: the package you have selected, the quality of the code you've found, benchmarking challenges, and so forth.
- Write an additional final blog post for each stage to summarize the results (and identify it as such).
- Write in detail, and include resources (such as test results, links to modified source code, and so forth) so that others can reproduce your results.
- Be thorough, professional, and convincing in your reported results.
- Use correct spelling, grammar, and punctuation, and ensure that your blog post contains appropriate links and code/command examples.
- Include your personal reflections on the process and your learning.
Due Dates
- Stage 1 is due by 11:59 pm on
March 22March 29April 1 - Stage 2 is due by 11:59 pm on
April 5April 12April 15 - Stage 3 is due by 11:59 pm on
April 12April 18April 20