A workload is the collection and mix of jobs to be processed. A document service is choosing between implementations A and B using these measured processing times:
For this planning calculation, treat each measured time as a fixed per-job cost that includes all processing overhead. Jobs execute one at a time, with no overlap, and there are no additional delays.
First consider a batch containing 1,500 standard jobs and 500 large jobs. Find the estimated total execution time for A and for B, each in seconds to one decimal place.
Then consider a separate batch that still contains exactly 2,000 jobs, but whose mix can change. Find the minimum whole number of large jobs needed for B to have a strictly shorter estimated total execution time than A. Every remaining job is standard. Give this count as an exact integer.
Unlock full course notes by signing up
Separate speedup from time saved
Two implementations process the same image batch under matched conditions. Their median batch times are 84 ms84\ \text{ms}84 ms for A and 56 ms56\ \text{ms}56 ms for B. Using A as the reference, calculate B's speedup factor to two decimal places and its percentage time reduction to one decimal place. Use the supplied medians for both comparisons.
Plan a warmed timing experiment
A team will compare the processing time of two implementations after startup effects have settled. Arrange these experimental stages in order, beginning with study design and ending with reporting the evidence.
Compare searches that stop at different positions
Two implementations search the following eight-entry array for a target identifier:
[14, 27, 35, 48, 63, 72, 86, 91]
Forward searches from the first entry toward the last. Reverse searches from the last entry toward the first. Each implementation performs one equality test per inspected entry and stops immediately when it finds the target. If the target is absent, it inspects all eight entries.
Include startup in the decision
Measurements for one fixed request workload give the following costs:
Assume a fresh process pays startup once, every request then takes the stated request time, requests run sequentially, and these costs add exactly. Which statements are supported? Select all that apply.