Consider a web server with one cpu that serves web requests

Assignment Help Operating System
Reference no: EM13162472

Consider a web server with one CPU that serves web requests; each web request requires 3 (time) units of CPU processing and 9 (time) units to read data from disk.   

 

The server is designed with a fixed number of threads k, and each web request is handled entirely by one of those threads. Given the processing requirements and architecture mentioned above, what value should be chosen for k? Now suppose we had 4 CPUS (cores); how would your answer change?

 

Finally, suppose the web request required 9 (time) units of CPU and 3 of disk access. How would your answers to the 2 previous questions change?

 

 

Reference no: EM13162472

Questions Cloud

Numbers as 4-bit words in 2''s complement form : Q. Assume the following numbers are represented as 4-bit words in 2's complement form. Perform the following operations and identify, in each case, whether or not an overflow occurs
Write methods in java : 1. int countVowels (String s) That for a given string s, return number of vowels in s.
C++ class that has a dynamic array of a string : show  an example of a C++ Class that has a dynamic array of a string that takes in names by user input??
Explain how to determine if hcl is hydrochloric acid : How to determine if HCl is Hydrochloric acid or Hydrogen chloride. Professor said acids should be in the presence of "something"
Consider a web server with one cpu that serves web requests : Consider a web server with one CPU that serves web requests; each web request requires 3 (time) units of CPU processing and 9 (time) units to read data from disk.
Complete the payroll program with following driver object : complete the payroll program with the following driver objects.
Because of increasing evidence of damage to the ozone layer : Because of increasing evidence of damage to the ozone layer, chlorofluorocarbon (CFC) production was banned in 1996. However, there are about 100 million auto air conditioners
State positive or negative number : However, both qsolution and it can be either positive or negative numbers. Based on this a) If the solution cools down, is T a positive or negative number? Explain.
Answer the question on examples : Q1. Suppose a jogger wants to use her ten fingers to count laps as she circles a track. Each finger can be in two different states to represent a binary digital. How many laps can she conveniently count? Briefly justify your answer.

Reviews

Write a Review

Operating System Questions & Answers

  Network security related question

Assume we want to use Kerberos for securing electronic mail. The obvious way of accomplishing this is for Alice, when sending a message to Bob,

  Compute time to read whole disk if read head is-first sector

If entire disk was full of data stored consecutively, how much time would it take to read whole disk if read/write head is already positioned on first sector of first track of first cylinder of the disk?

  Question about security policy

ABC Corporation is a small but growing manufacturing corporation with revenues of approximately $25 million. Until now, the corporation has had a single headquarters and production facility in a Midwestern city,

  Fragmented mean in reference to hard drives

What does fragmented mean in reference to hard drives, and what, if anything, should be done to prevent it. Describe the general path data takes in an application from user input to the computer hardware.

  Characteristics of atm networks

Determine the characteristics of ATM networks, as well as their advantages and limitations. Discuss the ideas of connection oriented and connectionless protocols.

  Draw curves for throughput-delay and power

Assume two hosts A and B are connected via router R. A-R link has infinite bandwidth; A-R link has infinite bandwidth; draw curves for throughput, delay, and power, each as function of load.

  Explain an ip address

Explain an IP address. Explain Class A, B, and C networks. Are a MAC address and an IP address the similar thing?

  Comprehensive network installation plan

Determine the main steps that should be included in a comprehensive network installation plan. In your opinion, what are the 2most important steps in ensuring success of the network?

  Determine values of it industry certifications

Discuss briefly how IT certification works. What business arenas are IT certifications needed, security, or what technical problem is IT certification designed to solve?

  Clock drift results in error

Think about a frame being sent using synchronous transmission. Suppose that samples are taken at the middle of the bit period and that the clocks are synchronized at the starting of each frame.

  Network security principles

Explain a recent high profile computer security issue that you have heard of. Based on basic network security principles, how might the issue have been avoided?

  Operating system as it is running on computer system

The following four requests could come in to the operating system as it is running on computer system: Clock in computer has just "ticked", and we require to update seconds counter.

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