Hi all, I was assigned to work in my lab for my SPO600 class. Here is the outline of the specifications:
For this lab, we are designing two different approaches to simulate the process of adjusting the volume of a sequence of sound samples in the C language.
What is the impact of various optimization levels on the software performance?
- The optimization levels have different impact on the software performance
|Speed of compile||Code size||Execute speed||Safety|
Does the distribution of data matter?
- Yes, the distribution of data matter for the software.
If samples are fed at CD rate (44100 samples per second x 2 channels), can both algorithms keep up?
- This many keep up but the time is it take to process is slow
What is the performance of each approach?
- Xerxes and Betty have different performance profiles, so it’s not reasonable to compare performance between the machines, but it is reasonable to compare the relative performance of the two algorithms in each context. Do you get similar results?
- On Betty with -O3 optimization level. We have the fastest measurement time on both approaches. Bit-shifting has a faster time than multiplication.
- On Xerxes, both approaches had similar time.