1.8 Flashcards

1
Q

What’s the main difference between a core and a thread?

A

A core is an actual hardware component whereas a thread is a virtual component that manages the tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False?
From the mid-1980s to early-2000s, processor performance improved each year at an average of 52%.

A

True
Growth in processor performance was attributed to architectural and organizational improvements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or False?
Growth in processor performance slowed in 2002.

A

True
Since 2002, processor performance growth has slowed from 52% to 3.5% per year.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True or False?
Power was a factor in the slowing of processor performance growth.

A

True
As power continued to grow, cooling became a significant problem. Limitations to instruction-level parallelism and memory latency have also slowed processor performance growth.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or False?
Manufacturers continue to design single processor systems and increase processor performance through new technology-driven improvements.

A

False
Manufacturers have turned to multicore designs to improve system performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False?
Parallel programming becomes more difficult as the number of processor cores increases.

A

True
Scheduling and communication overhead increases with the number of sub-tasks, making parallel programming more difficult to accomplish and diminishing improvements obtained from parallelism.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How should programmers write code to maximize the benefits of parallel programming?

A

Divide a program into subtasks so all processors run about the same amount of time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly