Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A certain program P requires 5 s . of CPU time, but must also do I / O of k bytes. I / O is

A certain program P requires 5 s. of CPU time, but must also do I/O of k bytes. I/O is of course slower, and an I/O transfer of b bytes requires b+10 ms.(the 10 corresponds to a fixed startup time). You may split I/O into any number of transfers - for example, k transfers of 1 byte each, k/2 transfers of 2 bytes each,..., 1 transfer of k bytes. The customer requires that you take at most 8 s.(total) but the architecture team would prefer smaller transfers to avoid hogging the I/O bus. Determine the best transfer size to satisfy all constraints. You may assume that k ranges over values for which your results make sense and also do not need to use floor and ceiling functions (so your answer is an approximation).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago