Subject : Computer Architecture Need calculation + Theory in detail
Posted: Tue Jul 05, 2022 10:19 am
Subject : Computer Architecture Need calculation + Theory indetail
Question 2 [Marks: 5] Suppose, you are a developer of a software company named 'HackerMan'. Your supervisor asked you to develop a password generator program, for MIPS architecture, that can not only generate passwords but also break them. After building the program, you observed that the program was taking 2111 seconds to execute and the password generation was taking 87% of the total run time. After reporting to your boss fearfully, he said it was unacceptable and threatened to fire you unless you can increase the whole program's performance by a factor of 4.5 by optimizing the password generation. Now, your job's future rests in your optimization skills and the results of your analysis. Let's start with the analysis. 1. You need to improve the password generation operation by a factor of what, to meet the requirements? [2.5 Marks] 2 Compute the new time of the program (in seconds) taken by the generation operation. [2.5 Marks]
Question 2 [Marks: 5] Suppose, you are a developer of a software company named 'HackerMan'. Your supervisor asked you to develop a password generator program, for MIPS architecture, that can not only generate passwords but also break them. After building the program, you observed that the program was taking 2111 seconds to execute and the password generation was taking 87% of the total run time. After reporting to your boss fearfully, he said it was unacceptable and threatened to fire you unless you can increase the whole program's performance by a factor of 4.5 by optimizing the password generation. Now, your job's future rests in your optimization skills and the results of your analysis. Let's start with the analysis. 1. You need to improve the password generation operation by a factor of what, to meet the requirements? [2.5 Marks] 2 Compute the new time of the program (in seconds) taken by the generation operation. [2.5 Marks]