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

  Show the design of a modulo 7 asynchronous counter

Using positive edge triggered flip flops, show the design of a modulo 7 asynchronous counter that counts: 7,6...1,7, etc. You may assume that your flip flops have asynchronous Set and Reset inputs available. (Hint: Connect Q to the clock input of the..

  What is the general algorithm for solving this problem

what is the general algorithm/approach for solving this problem? as a test case, move_robot 10 forward 3 = 13

  Describe basic computer system and typical components

Describing the basic computer system and the typical components that perform input, output, processing, storage, and control functions.

  Identify a purpose and audience for your presentation

Create a presentation to outline your proposal for the PC specifications to meet the case study requirements. Identify a purpose and audience for your presentation (i.e., are you informing a friend, presenting to the CIO, educating your colleague..

  Database management systems

Database Management Systems

  Implementing active directory

Implementing Active Directory

  Implement one class called parkingmeter

implement one class called parkingmeter, that is a simple model of a coin operated parking meter

  Centralized database management systems and distribute

Compare and contrast benefits and challenges that exist between centralized database management systems and distributed database management systems. Identify potential business environments where each can be properly used.

  Clients often lack appreciation for the complexities

It is mentioned that "Clients often lack appreciation for the complexities inherent in software engineering, particularly regarding the impact of changing requirements." Imagine you are in this situation, what would you do to handle this situ..

  Massively multiplayer online role-playing games

In a virtual world (VW) of massively multiplayer online role-playing games (MMORPGs), collaboration and communication are provided through the Internet between MMORPG-ready devices such as the Microsoft Xbox, and Sony PlayStation, and by using the..

  What is the smallest negative number

given a tiny computer that has a word size of 6 bits, what is the smallest negative number that this computer can represent if it uses two's complement form

  Introduction to wireless communications

After reviewing the concepts, pictorially model the TCP/IP protocol against the 7-layer OSI model. In your depiction, include the common protocol sections that fit in the various levels.

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