How many threads will you create to perform the input

Assignment Help Basic Computer Science
Reference no: EM13771836

Given: A system with two dual-core processors has four processors available for scheduling. A CPU-intensive application is running on this system. All input is performed at program start-up, when a single file must be opened. Similarly, all output is performed just before the program terminates, when the program results must be written to a single file. Between startup and termination, the program is entirely CPU bound. Your task is to improve the performance of this application by multithreading it. The application runs on a system that uses the one-to-one threading model (each user thread maps to a kernel thread).
(d1) How many threads will you create to perform the input and output?
Explain.
(d2) How many threads will you create for the CPU-intensive portion of the application? Explain. 

Reference no: EM13771836

Questions Cloud

Functions in the design and administration process : Who are the key constituents (stakeholders) that will be involved in the design of this particular program?
Have no hesitation buying over the internet : List some items you would have no hesitation buying over the Internet, some items you might want to think about a bit before buying and some items you would never consider buying over the Internet. Justify you reasons in each case.
Provide examples of legislation and their application that : 1. In a table, for each of the issues or policy areas listed below, list relevant federal and state legislation that applies to the issue or policy area. For each Act listed, provide an outline of the purpose or intent of the act, and provide three e..
Laws prohibiting the use of electronic disabling devices : Assuming your state has no laws prohibiting the use of electronic disabling devices, discuss why or why not, the contract clause permitting the use of a an electronic disabling device, might later be ruled by a court as permitting an illegal repos..
How many threads will you create to perform the input : Given: A system with two dual-core processors has four processors available for scheduling. A CPU-intensive application is running on this system. All input is performed at program start-up, when a single file must be opened. Similarly, all output is..
How would you use different types of software we discussed : How would you use the different types of SOFTWARE we discussed? Are some tools better for some uses than others? Be specific and give an example or two.
Issues related to texass new voting laws : Discuss whether or not you believe Attorney General Eric Holder should have challenge the voting laws in the state of Texasenacted after the Supreme Court struck down a key provision of the Voting Rights Act. Analyze at least 2 keys issues relate..
Gamut of mobile devices and bluetooth accessories : Invented by telecom vendor Ericsson in 1994, Bluetooth is a popular wireless technology standard for exchanging data over short distances. Bluetooth uses a packet-based protocol with a master-slave structure; one master may communicate with up to sev..
Calculate the profit on the stock and the futures : Calculate the profit on the stock and the futures from March 1 to the settle day in June

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd