This module is assessed by portfolio. Your portfolio will consist of: •A learning journal that uses the specified template. •Your source code and data files that use the specified structure. •It is recommended that you use a revision control system, such as subversion, for maintaining your source code. This will enable your code to be backup up and will also provide a source of evidence in your defence if collusion is suspected. It is recommended that you submit a verbose subversion log obtained by executing: svn -v log > svn-log.txt The module is assessed by evidence that you provide of: •Analysis of supplied programs and experimentation with them. Capturing results and depicting them as graphs. •Writing programs to solve computationally expensive problems that require High Performance Computing. •Written explanations of your results and reflections of your learning. A grade calculator is provided on Canvas for your use. You should use it to estimate your progress and expected level of achievement. Three different technologies, POSIX Threads, CUDA and MPI will be combined with 3 application domains, password cracking, image processing and linear regression to enable a variety of application methods to be explored. The following sections are first ordered, by technology then by application domain. 1.1 Password Cracking using POSIX Threads The program contains a password that has been encrypted using the SHA-512 algorithm. The job of the program is to crack the password, i.e. find the plain-text equivalents. It is known that the passwords consist of two uppercase digits followed by a 2 digit integer. An example password is JB12. Portfolio Tasks a) Run the program 10 times and calculate the mean running time. b) In your learning journal make an estimate of how long it would take to run on the same computer if the number of initials were increased to 3. Include your working in your answer.
Assistant
Task b) Estimating Running Time with Increased Number of Initials
Objective:
Estimate how the running time of the password-cracking program would change if the number of initials in the password is increased from 2 to 3, while keeping the number of digits constant at 2.
Understanding the Current Configuration:
Password Structure:
Initials: 2 uppercase letters
Digits: 2-digit integer
Example: JB12
Total Possible Combinations:
Uppercase Letters: 26 possible characters (A-Z) for each initial
[
\text{Factor of Increase} = \frac{\text{New Total Combinations}}{\text{Original Total Combinations}} = \frac{1,757,600}{67,600} \approx 26
]
Estimating the New Running Time:
Assuming that the running time scales linearly with the number of password combinations (i.e., doubling the combinations would double the running time), the running time would increase by the same factor as the number of combinations.
Mean Running Time for Original Configuration: Let's denote this as ( T_{\text{original}} ).
By increasing the number of initials from 2 to 3, the total number of possible password combinations increases by a factor of 26. Consequently, the estimated running time of the password-cracking program would also increase by approximately 26 times, assuming a linear relationship between the number of combinations and running time.
Reflection:
This estimation highlights the importance of understanding how changes in input size or complexity can significantly impact computational resources and performance. In high-performance computing and algorithm design, such insights are crucial for optimizing applications and ensuring scalability.