阿摩線上測驗 登入

申論題資訊

試卷:109年 - 109 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105754
科目:中山◆資工◆計算機結構
年份:109年
排序:0

題組內容

3.A old program needs to be parallelized. Then, it can run faster on modern multicore
processors. In order to execute the program with parallel and serial portions more efficiently, a
custom heterogeneous processor needs to be designed.
61dfa31535295.jpgThe processor has one large core which executes code more quickly but takes greater die area on-
chip, the multiple small cores which execute code more slowly but consume less area, all sharing
one processor die.

61dfa31cbc071.jpgWhen program in its parallel portion, all of its threads execute only on small cores.

61dfa330c63b4.jpgWhen program in its serial portion, the one active thread executes on the large core.

61dfa341c1812.jpgPerformance (execution speed) of a core is proportional to the square root of its area.
61dfa3528140b.jpg Assume 16 units of die area available. A small core takes 1 unit of die area. The large core can
take any number of units of die area n2, where n is the positive number. Area not used by the large
core will be filled with smaller cores.

61dfa35d08e11.jpgThe serial portion is only 10% of total work, and the parallel portion is the remaining 90%.

申論題內容

3.2 What would the same program's speedup be if all 16 units of die area were used to build a homogeneous system with 16 small cores, the serial portion ran on one of the small cores, and the parallel portion ran on all 16 small cores?