Scheduling.

Assignment Help Operating System
Reference no: EM13163691

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: EM13163691

Questions Cloud

Starting from rest,a 10 cm diameter : Starting from rest,a 10 cm diameter compact disk takes 3.0 s to reach its operating angular velocity of 2200 rpm. assume that the angular acceleration is constant.
Devise a linear-time algorithm to count the parallel edges : Devise a linear-time algorithm to count the parallel edges in a graph. Write the algorithm in pseudocode.
Propose a sub-network design : Propose a sub-network design that will meet the needs of Acme Corporation.
Business problems arise in a multitude : Business problems arise in a multitude of ways inside an organization; sometimes, they stem from the need or desire to do something completely new, sometimes they stem from the need or desire to improve an existing operation.
Scheduling. : 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.
Types of systems that benefit from dhcp : Consider the types of systems that benefit from DHCP reservations and/or from having manually-configured (static) IP addresses, including servers, networked printers, and other networked devices (e.g., network-connected HVAC controllers, IP camera..
Develop a reservation system program for specific flights. : develop a reservation system program for specific flights. A customer should be able to select from one of four categories of seats on flights from RDU to any of at least three other destinations. Based on the user input of seat type and destination,..
Compare the athlete''s time of each event : The class should have static data members of 60 minutes. This is the maximum time of any one event. Compare the Athlete's time of each event to the static data member. If the athlete's time exceeds the 60 minutes, output a message that they are di..
Compute the average grades : Write a program that allows a teacher to compute the average grades for EACH student in his or her class (NOT a single average for the entire class)

Reviews

Write a Review

Operating System Questions & Answers

  Discuss main reasons for it project failures

Discuss the main reasons for IT project failures? Are they because of problems with project management life cycle, product development life cycle,

  Multiple choice - system analysis and design

The primary benefits of the Waterfall Development methodology is needs are completely specified and held relatively constant prior to programming.

  Advantages and disadvantages of major operating system

Consider the advantages and disadvantages of each major operating system that Amy might use on the Web server. In a one-page memorandum to Amy.

  Requirements model for aims project

Need help in finalizing the requirements model for Airlines Information Management System (AIMS) project. The requirements model require to include use case diagrams for the entire AIM system.

  Vulnerabilities in voip

Discuss at least ten Vulnerabilities in VoIP. Briefly explain each of the listed vulnerability, along with a possible recommendation for a countermeasure.

  Question about network design

Sterling Corporation wishes you to create a network infrastructure for them. They have 5-divisions with many hundred users at each division across the US.

  Difference between data and information

Describe the difference between data and information and provide an example of each. Also define an operating system.

  Explain how to implement barriers using semaphores

Show how to implement barriers using semaphores. Your solution should avoid busy-waiting. Be explicit about any initializations that you need to assume.

  Find the sizes of the tag, block and word fields

Assume that a computer using direct mapped cache has 2^24 words of main memory and a cache of sixty-four blocks, where each cache block contains sixteen words.

  Creating pseudocode

Create pseudocode for the Citron Car rental policy, Standard transmission is available only for A, B, and C. Automatic transmission is available for all cars.

  Question about software and staff training

As was stated before, the corporation X is going to expand its data system. To do this, it is going to choose and buy new hardware and software and retrain workers.

  Delete all sub-directories within

Delete all sub-directories within "temp" directory if not empty. In Python program change the current working directory to [temp].

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