The following question is from a computer organization/architecture course - I missed the lecture in which this material was covered and thus have no idea what's going on. Thanks in advance for anyone who can help with this problem!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assume a quad-core computer system can process database queries at a steady state rate of requests per second. Also assume that each transaction takes, on average, a fixed amount of time to process. The following table shows pairs of transaction latency and processing rate. For each of the pairs in the table, answer the following questions:
(a) On average, how many requests are being processed at any given instant?
Average Transaction latency |
Maximum transaction processing rate |
Avg # requests per core |
1 ms |
5,000 / sec |
|
2 ms |
5,000 / sec |
|
1 ms |
10,000 / sec |
|
2 ms |
10,000 / sec |
|
(b) If move to an 8-core system, ideally, what will happen to the system throughput (i.e., how many queries/second will the computer process)?
(c) Discuss why we rarely obtain this kind of speedup by simply increasing then umber of cores.