Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Threads Consider the algorithmic task of compressing a video file for a cartoon.

ID: 3603990 • Letter: T

Question

Threads

Consider the algorithmic task of compressing a video file for a cartoon. Initially, the video is a stream of separate images. The images are large, and in many places, differ only slightly from frame to frame. For instance, when an object is moving, the part of the image not involving the object does not change. Say we want to design a compression mechanism based on determining the difference from th previous frame to the next frame, and saving only the difference into a compressed result. Of the five issues in multicore programming, which is the most problematic for multithreading this system? (Don't worry about audio.)

Explanation / Answer

The five issues in multicore programming are :

Issue with the Cache coherency
Issue with the Snooping
Issue with the Programming Models
Issue with the False Sharing
Issue with the Processor affinity

The most problematic for multithreading this system are:
Issue with the Cache coherency
Cache memory Data movement between a core and memory also occurs in single-core processors, so minimizing
data movement benefits sequential programs as well.

The applications capable of really taxing a modern desktop system things like video rendering,
3D modeling, and high-end gaming engines have mostly been updated to better leverage modern
client architectures.

This includes not only multi-core x86 processors but also 3D graphics processors that can augment
general-purpose CPUs for certain tasks.

Similarly for the compressing a video file for a cartoon

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote