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

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

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