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

  Rss feed for research

Plagiarizing is serious. Not giving credit in our work where we find our information is considered stealing. Read about a journalist that lost his job for plagiarizing from a blog. Websites are especially difficult to cite correctly.

  Consider a scenario where the contingency planning

consider a scenario where the contingency planning management team cpmt of your organization has designated you as the

  Violating terms of the agreement between the companies

In 2004, Toys"R"Us sued Amazon.com for violating terms of the agreement between the companies; specifically, Toys"R"Us objected to Amazon.com's permitting Amazon Marketplace retailers to sell toys. (Note: When the lawsuit was filed, Amazon Marketplac..

  How many times will the job be interrupted

how many times will the job be interrupted and on which queue will it finish its execution?

  Give a polynomial-time algorithm for the following problem

Give a polynomial-time algorithm for the following problem. We are given a binary tree T = (V, E) with an even number of nodes, and a nonnegative weight on each edge.

  Explain what type of architecture the new payroll applicatio

Explain what type of architecture the new payroll application should use and why.Identify what types of technology will be involved in the architecture and explain the purpose of each technology.

  What belief system or systems do the staff adhere to

What belief system or systems do the staff adhere to. What are some beliefs that can be improved on or changed to create a better work experience, while maintaining quality in services delivered

  Which domain local groups might you create

Habibi's has a small network of 20 client workstations and a Windows Server 2008. Seven of those workstations are inside the restaurant and are used by the table servers to place customer orders. Three of the workstations are used by the owner and th..

  Calculate the difference between two numbers

Create a template function that can be used to calculate the difference between two numbers. Make it able to use two integers, two floats, and an integer and a float.

  Write a mips program where we store 5 integers in the array

Write a mips program where we store 5 integers in the array. For example.

  What do the terms syntactic sugar and syntactic salt mean

What do the terms "syntactic sugar" and "syntactic salt" mean? From your knowledge of the C# programming language, list at least five syntactic sugar and salt features.

  Explain how you can extend the sci capability

Explain how you can extend the SCI capability to RF and Bluetooth communication - Imagine an RFID device connected to SCI0 that sends a 16 character code to the DB-12 board when an item is swiped

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