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

  Operating system maps user-level threads to kernel

Suppose an operating system maps user-level threads to the kernel using the many-to-many model and the mapping is done through LWPs.

  Requirement for routers to support ipv4 and 6 protocol stack

The answer describes the requirement for routers to support both IPv4 and IPv6 protocol stacks and describes the several types of connections a dual stack router can support, and why such connections are necessary.

  Question about data communications

A 4480 octet datagram is to be transmitted and requires to be fragmented because it will pass through an Ethernet with a maximum payload of 1500 octets.

  Compute average memory access time

Compute Average Memory Access Time under a variety of memory system configurations and workload assumptions

  Describe benefits of providing synchronization tool

Slim reader-writer locks favor neither readers nor writers, nor are waiting threads ordered in FIFO queue. Describe benefits of providing such a synchronization tool.

  4-way set associative cache unit with a 6-bit offset

Given a 4-way set associative cache unit with a 6-bit offset and a 12-bit index for a 32-bit address space with a LRU write-back policy, determine the nominal and actual size of the cache unit.

  Discuss drawbacks and benefits of specialization

IT administrators in small corporations must often execute various functions at same time like network administrator, database administrator, user consultant and others.

  Creating er diagram

Construct a table for consumer. The manager tells me that this table needs to track the following data: all consumers' social security number, first and last name, address, city,

  Developing a web portal for modeling agency

The designer starts with a high level description of functions that are to be implemented and builds lower level explanations of how each module will be organized and related to other modules.

  Show possible interleavings of the execution

A concurrent program with 2-procedure, p and q, defined as follows, A,B,C,D, and E are arbitrary atomic statements. Suppose that the main program does a parbegin of the two procedure.

  Printf statement to debug an application

There are various ways to debug a program, perhaps most elementary is using a printf() statement to show important pieces of data regarding the program execution point,

  Relative merits of optimistic versus conservative concurrenc

Q/ Describe the  Q/ Describe the relative merits of optimistic versus conservative concurrency control under different rates of contention among updates. under different rates of contention among updates.

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