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

  Mobile computing technology

Discuss similarities and differences of patient vital signs using mobile computing technology to in-patient visits to the doctor's office or hospital.

  Discuss and provide examples of mutual exclusion

Discuss and provide examples of the following concurrency issues associated with an OS: 1. Mutual exclusion 2. Deadlock 3. Starvation

  Differences and similarities between linux and unix?

What are some distinct differences and similarities between Linux and Unix? Why do you think it is important to know about both of these operating systems

  Security and data protection systems

Determine what fault tolerance, security, and information protection systems and procedures do you recommend be instituted on and for the corporation's network from the hypothetical condition below?

  Determine the average seek time of traversed disk

Traversed Disk receives request to access random sector on random track. Suppose head starts at track 0. Determine the average seek time?

  What are some ways to integrate linux servers

What are some ways you could integrate Linux servers into a Windows network to share information? What would be the advantages and disadvantages?

  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.

  Threads

Explain a complication that concurrent processing adds to 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.

  Deadlock avoidance

i. Deadlock avoidance ii. Deadlock prevention and  iii. Deadlock detection

  Multilevel feedback queues and fcfs

What (if any) relation holds between the following pairs of sets of algorithms (a) Priority and SJF (b) Multilevel feedback queues and FCFS

  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.

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