Question

In: Computer Science

In operating system: How can a multicore processor take advantage of data parallelism?

In operating system:

How can a multicore processor take advantage of data parallelism?

Solutions

Expert Solution

Data parallelism is a programming technique in which large data set is split into smaller chunks so that we can operate on them paralelly.Once the data is processed,it is combined into a single data set.This characteristic of data parallelism is used in multicore processor to achieve better use of the the multiple cores as a process that would not be capable of utilizing multicore processing power can effiiciently use all the available processing power.

Ex-1 Consider a scenario in which a large data is being operated on by a single processor though there are 3 other CPU cores.These cores are sitting idle while the first processor has to bear the load of the whole data set

Ex-2 Now consider if we use data parallelism in order to fully use the processing power offered by a quad-core multiprocessor,we can divide the large data set into four subsets.Then each of these subsets can be individually assigned to the available four cores for processing.Once the processing is complete they can be rejoined to create a single data set.


Related Solutions

CHANGE THESE SENTENCES INTO PARALLELISM( note: if you d'not know about parallelism you can search parallelism...
CHANGE THESE SENTENCES INTO PARALLELISM( note: if you d'not know about parallelism you can search parallelism in grammer) 1.In business, it is better to under promise and over deliver than to over promise and deliver too little. 2.Reread what you have written slowly and with care before you hand it in. 3.Surely you can understand why they implemented this process and its importance. 4.The original Star Wars movie was visually stunning, exciting and broke new ground. 5.The three-step process applies...
Without a guarantee from the vendor, how can a company take advantage of the vendor financing...
Without a guarantee from the vendor, how can a company take advantage of the vendor financing without moving to the verdor's country.
What causes deadlock in an operating system? excessive resource swapping a new processor interrupts in the...
What causes deadlock in an operating system? excessive resource swapping a new processor interrupts in the middle of servicing an existing attempt too much resource sharing a process requests a resource that is held by another waiting process
A company can take advantage of ___, as the ____of the first group of workers will...
A company can take advantage of ___, as the ____of the first group of workers will increase, but at a certain point it will decline. At this point,____ will continue to increase, but marginal product will diminish with each additional worker. Eventually there will be too many workers and not enough ___ to keep them busy, inevitably slowing down production and reducing output. consumers, marginal, product, capital resources, total output, specialization
Can management take advantage or be abusive in buying share back?
Can management take advantage or be abusive in buying share back?
8. How do people take advantage of thermal expansion for practical purposes? How can thermal expansion...
8. How do people take advantage of thermal expansion for practical purposes? How can thermal expansion cause problems for people? 10. A sealed jar contains only air at room temperature and atmospheric pressure. To what temperature must the air be heated in order for its pressure to double? Give a number, and include units.
QUESTION 1 Briefly describe how social engineering can be used to take advantage of unwitting insider...
QUESTION 1 Briefly describe how social engineering can be used to take advantage of unwitting insider threats QUESTION 2 True or False - Insiders aren't threats unless they recently came from outside the organization True False QUESTION 3 Why is spear phishing particularly relevant to the problem of insider threats?                                 It is specifically crafted to bypass firewalls                                 It is specifically crafted to target computers running the Windows operating system                                 It is specifically crafted to appear relevant to...
Explain the difference between concurrency and parallelism. Using these concepts, discuss how a multi-threaded application can...
Explain the difference between concurrency and parallelism. Using these concepts, discuss how a multi-threaded application can run faster than a single-threaded application on a single-processor machine and on a multi-processor machine.
Answer the following questions about cache coherency protocols in a dual-processor system. a) If each processor...
Answer the following questions about cache coherency protocols in a dual-processor system. a) If each processor has a separate cache, what is the main advantage of the 4-state MESI snoopy cache coherency protocol compared to a snoopy cache coherency protocol that uses only 3 states M, S and I (modified, shared and invalid)? b) Suppose that processor P1 (in a dual-processor system) writes to a memory block. A copy of this same memory block is already in a modified line...
Can comparative advantage be created? If yes, explain how countries can create comparative advantage. In your...
Can comparative advantage be created? If yes, explain how countries can create comparative advantage. In your answer you need to refer to the role of government, access to external markets, and historical accidents as the factors that have played a major role. What are the prominent examples of such cases? Give at least 3 global examples.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT