Single machine with total capacity

Assignment Help Operating System
Reference no: EM13163605

Consider the following scheduling problem: There are 10 tasks, each of which require a certain amount of processing time and have a value, as illustrated in the table below:  

Task: 1 2 3 4 5 6 7 8 9 10 Value: 2 3 4 5 6 7 6 5 4 3 Processing Time: 1 2 3 4 5 6 7 6 5 4

(a) Suppose that there is a single machine with total capacity of 23 units of time, and that one gets partial credit for partially processing a task, so that processing a task of value Vi for time t when the requirements are Ti units provides value t(Vi/Ti).   What is the optimal set of tasks to schedule, and the value achieved by this optimal schedule?
(b) Suppose that there are 3 machines: Machines 1 has capacity 10, Machine 2 has capacity 11, and Machine 3 has capacity 13. Suppose also that there is no partial credit, so that you only receive value for a task if it is processed fully. Find an optimal set of tasks to schedule on each machine, and the total value scheduled across all of the machines. (Hint: Think really hard before you resort to computation)

Reference no: EM13163605

Questions Cloud

Define a certain reaction has an activation energy : A certain reaction has an activation energy of 60.0 kj/mol and a frequency factor of A= 3.10×1012 M^-1s^-1 . What is the rate constant k , of this reaction at 30.0 Deg celsius?
What is the ph and a chemist titrates : A chemist titrates 20.00 mL of 0.2000 M HBrO ( Ka= 2.3 x 10^-9) with .1000 M NaOH. What is the pH? A) Before any base is added? B) When [HBrO] = [ BrO-] C) at the equivalence point
Explain what is the oxidation state of copper : The minerals chalcocite (Cu2S) and malachite (Cu2CO3(OH)2) are two primary sources of copper. What is the oxidation state of copper in each of these minerals?
Explain which metal hydroxide will precipate first : Which metal hydroxide will precipate first? Why? Ksp Ni(OH)2 = 6.0x10-16 Ksp Ce(OH)3 = 6.0x10-22 Ksp Cu(OH)2 = 4.8x10-20
Single machine with total capacity : Suppose that there is a single machine with total capacity of 23 units of time, and that one gets partial credit for partially processing a task, so that processing a task of value Vi for time t
Explain what are the composition of the liquid : A mixture of heptane/decane at 1.8 bar, 120?C contains 80% by mol heptane. At what pressure should it be flashed to obtain a stream that is 90% rich in heptane? What are the composition of the liquid and the amounts of the two phases?
Explain prime and delta h prime make a greater contribution : Predict the following Bronsted acid-base reaction at 25 C: HF+CL- -> HCL + F- (a)Predict whether K will be greater or smaller than one? (b)Does delta S prime and delta H prime make a greater contribution to delta G prime?
Multiplexors whose control bit allows : Multiplexors whose control bit allows you to select between one of two modes right shift or left shift. Include logic to perform arithmetic shift left and arithmetic shift right . This means you must include logic to perform sign extension in ..
Determine delta h of solution smaller temperature change : experiment to determine delta H of solution, would you expect to get a larger, smaller or identical temperature change? why?

Reviews

Write a Review

Operating System Questions & Answers

  Comparing operating systems

There are several operating systems existing in the market that it is difficult to decide which one is the best. Search the Internet for data on the given operating systems.

  Create algorithm which prevents deadlock using one semaphore

Using exactly one semaphore, create an algorithm which prevents deadlock. Do not be concerned about starvation and inefficiency.

  Importance of maintaining security on a lan

Discuss what roles do firewalls and proxy servers play in network security? Determine the importance of maintaining security on a LAN?

  Computing total pay and net pay

Construct a Unix shell script to input number of hours worked and pay rate and compute the total pay, then the social security amount, then the net pay.

  Ethernet or token ring protocol

Saguaro Federal has mainframes for all of its banks and businesses. Should the corporations use the Ethernet or Token Ring protocol? Describe your choice. Discuss why is this choice appropriate?

  How unix administrator distribute the message

I was recently working on our mainframe UNIX system, and suddenly I received a message that the server required to be rebooted on my screen.

  Write down three parts of linux kernel version number

Write down the three parts of Linux kernel version number, and which is least probable to change? What are "BogoMIPS", and what is their significance?

  Virtual machine design

In a virtual machine design where guest operating systems are independent virtual machines supported by a host operating system, what factors are involved in choosing the host operating system?

  Disadvantages to living in an information age

Discuss some of the disadvantages to living in an Information Age? At present more and more people rely on computers to create, store, and manage critical information.

  How many page faults are generated array-initialization loop

Illustrate how many page faults are generated by following array-initialization loops, using LRU replacement, and assuming page frame 1 has process in it, and the other two are initially empty?

  Direct mapped cache- word, block, tag

Think about a byte addressable computer with twenty-four bit addresses, a cache capable of storing a total of 64KB of data, and blocks of 32 bytes.

  Creating a c language code

Prepare a c code or Modify code to ask user to input five gpas. then the program computes the average of the gpa and prints it to screen.

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