Is a program that obtains linear speedup strongly scalable? Explain your answer. Bob has a program that he wants to time with two sets of data, input data1 and input data2. To get some idea of what...



Is a program that obtains linear speedup strongly scalable? Explain your answer.



Bob has a program that he wants to time with two sets of data, input data1


and input data2. To get some idea of what to expect before adding timing


functions to the code he’s interested in, he runs the program with two sets of


data and the Unix shell command time:


$ time ./bobs prog <>


real 0m0.001s


user 0m0.001s


sys 0m0.000s


$ time ./bobs prog <>


real 1m1.234s


user 1m0.001s


sys 0m0.111s


The timer function Bob is using has millisecond resolution. Should Bob use


it to time his program with the first set of data? What about the second set of


data? Why or why not?



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here