Create for the cpu-intensive portion of the application

Assignment Help Operating System
Reference no: EM13321397

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 CPUbound.

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).

• How many threads will you create to perform the input and output? Explain.

• How many threads will you create for the CPU-intensive portion of the application? Explain.

Reference no: EM13321397

Questions Cloud

Determine the power dissipated by the circuit : What is the rms current in a series RC circuit if = 3.2 kOhm, C = 0.8 microfarads (uF) , and the rms applied voltage is 130V at 79Hz? What is the power dissipated by the circuit
Define the chemical reaction for kh2po4/k2hpo4 : Write the chemical reaction for: KH2PO4/K2HPO4 buffer solution + NaOH (aq) and Write the chemical reaction for: KH2PO4/K2HPO4 buffer solution + HCl (aq)
Determine the final temperature when valve is opened : An adiabatic piston-cylinder device equipped with a spring maintains the pressure inside at at 300kPa when the volume is 0, and 3000kPa when the volume is 5 m3.
Part of the core of on-line learning : The Discussion Board (DB) is part of the core of online learning. Classroom discussion in an online environment requires the active participation of students and the instructor to create robust interaction and dialogue.
Create for the cpu-intensive portion of the application : How many threads will you create to perform the input and output and how many threads will you create for the CPU-intensive portion of the application?
What happens to the multiplier if the aggregate supply curve : Use an aggregate supply-and-demand diagram to show that multiplier effects are smaller when the aggregate supply curve is steeper. Which case gives rise to more inflation—the steep aggregate supply curve or the flat one?
What should be the surface area-m2 of each tank : If a 1.0 m3/s flow water treatment plant uses 10 sedimentation basins with an overflow rate of 15 m3/day.m2, a-what should be the surface area (m2) of each tank?( i got this part right the answer is 567 m2)
What is the longest wavelength photon emitted : The Pfund series results from emission/absorption of photons due to transitions of electrons in a hydrogen to/from the n = 5 energy level from/to higher energy levels
What do you notice about the relationship between the real : Suppose a worker receives a wage of $20 per hour. Compute the real wage (money wage deflated by the price index) corresponding to each of the following possible price levels: 85, 95, 100, 110, 120.

Reviews

Write a Review

Operating System Questions & Answers

  Maintaining network configuration

In a Windows 2003 server network discuss various devices such as: repeaters, routers and gateways. Detemrine the functions for those devices? At which layer of the OSI model do those devices operate?

  Question about spam

Discuss your personal experience with Spam and how is spam affecting the Internet as a whole also find the best way to prevent it

  Explain significane of the operating system

What is the significane of the operating system (OS)? What reasons would the computer user have to change from one OS to another?

  Solving problem by ipv6

Discuss and explain some of the problems NATs develop for IPsec security. Solve this problems through using IPv6?

  Web system deployed on campus has a failure rate

A web system deployed on campus has a failure rate of 10-3 failures per hour. What is the likeihood that the system will continue operating without failure throughout the duration of one week (Monday to Friday)?

  Describe function of operating system

Determine the functions that an operating system provides to make a computer run. Describe why that is an important feature and what an OS requires to be aware of to provide that service.

  Create your own shell

The premise of Project 2 is to create your own shell. Your shell will be launchable from a terminal window and act similar to the existing shell.

  Operating systems to be configured

company wants to upgrade the computers they have by adding another internal hard drive and preparing it for use. How do you explain how to do this and the options that the company has?

  Write down the reference string if page size is given

Consider following sequence of memory references from 460-byte program: 10, 11, 104, 170, 73, 309, 185, 245, 246, 434, 458, 364. Write down the reference string, assuming page size of 100 bytes.

  Compare and contrast guided versus wireless media

Imagine that you have been asked to prepare a paper that compares and contrasts guided vs. wireless media for inclusion in your corporation’s knowledge database.

  Question about affiliate programs

Many companies are using affiliate programs to drive traffic to their Web sites. explain what an affiliate program is and how it works.

  How does interrupt disabling provide mutual exclusion

In Peterson's Algorithm, if both processes want to enter the critical section, can one process repeatedly use the critical section if both have reached the while loops? Explain.

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