Question: Can I get help with this? File linked below with google drive. Sum.zip File download: https://drive.google.com/open?id=1Y4M_8UjPfZUaDaPXbkNWlBYzYlGeflY1 Thanks The NetBeans project Sum, included with the files

Can I get help with this? File linked below with google drive.

Can I get help with this? File linked below with google drive.

Sum.zip File download: https://drive.google.com/open?id=1Y4M_8UjPfZUaDaPXbkNWlBYzYlGeflY1

Thanks

The NetBeans project Sum, included with the files for this chapter, calculates the sum of an array of 1,000 randomly generated integers. But there is a catch the code has a 10 millisecond delay built into the code that sums the array. Under normal circumstances, within a single thread or process, this would mean that the code takes a little over 10 seconds to run (10 milliseconds per operation times 1,000 operations, plus a small overhead) The software is written for parallel processing using Java's fork/join framework. As the chapter reports, on my computer, with parallel processing, the code ran in about 1/3 of a second. Your task is to run the software with modifications, or in different computing environments, and report your results. The goal is for you to explore factors that affect the efficiency of parallel computing. You could change the maximum number of processes allowed by the program, change the code to move from recursion to iteration for a different number of array elements, try the program with larger arrays, or make other changes to explore concurrent computing. You should run the program several times, either in different environments, or with different values for the things you are changing, and report on your results. You should address such issues as: What platform did you run the code on? How did the performance of on computer compare to another? How did the number of maximum processes or other values you changes affect the time it took the program to run. Try to focus on one change or one change at a time and report what you did and what conclusions you you draw from this experiment The NetBeans project Sum, included with the files for this chapter, calculates the sum of an array of 1,000 randomly generated integers. But there is a catch the code has a 10 millisecond delay built into the code that sums the array. Under normal circumstances, within a single thread or process, this would mean that the code takes a little over 10 seconds to run (10 milliseconds per operation times 1,000 operations, plus a small overhead) The software is written for parallel processing using Java's fork/join framework. As the chapter reports, on my computer, with parallel processing, the code ran in about 1/3 of a second. Your task is to run the software with modifications, or in different computing environments, and report your results. The goal is for you to explore factors that affect the efficiency of parallel computing. You could change the maximum number of processes allowed by the program, change the code to move from recursion to iteration for a different number of array elements, try the program with larger arrays, or make other changes to explore concurrent computing. You should run the program several times, either in different environments, or with different values for the things you are changing, and report on your results. You should address such issues as: What platform did you run the code on? How did the performance of on computer compare to another? How did the number of maximum processes or other values you changes affect the time it took the program to run. Try to focus on one change or one change at a time and report what you did and what conclusions you you draw from this experiment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!