Question: Suppose you had a program where certain work could be done in parallel, and you expect each thread to use 2 GB of RAM. The

Suppose you had a program where certain work could be done in parallel, and you expect each thread to use 2 GB of RAM. The computer on which you will run the program has 32 GB total RAM, and 8 cores. The other computer is running a typical OS such as Windows or Linux and you have been given permission to run your process on it without any other users using it. So before you start your process, you close all open programs. How many threads would you use to perform this task? Give a full explanation of your answer, including all considerations that affect it.

Step by Step Solution

3.49 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The decision on the number of threads to use when performing tasks in parallel involves several considerations to ensure optimal performance without o... View full answer

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 Operating System Questions!