SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 6 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 05 Jan 2018 My Price 7.00

Consider a disk with average seek time of 10 ms,

Consider a disk with average seek time of 10 ms, average rotational latency of 5 ms, and a transfertime of 1 ms for a 4KB block. The cost of reading/writing a block is the sum of these values (i.e. 16 ms).We are asked to sort a large relation consisting of 10,000,000 blocks of 4KB each. For this, we use a computer on which the main memory available for buffering is 320 blocks (a bit small memory).

 

We begin as usual by creating sorted runs of 320 blocks each in phase 1. Then, we do 319-way merges  .Determine the number of phases needed, and evaluate the cost of the Multi Phase Multiway MergeSort.We start by creating sorted sublists. We fill in the main memory (MM) with 320 blocks, sort them inMM and write the sorted sublist to disk (phase one).Next we need to do merge. However, the number of sorted sublists is too big to allow a merge withonly one pass. Since we need an output buffer, we can only merge 319 sorted sublists at a time.Therefore, we end up again with sorted sublists, but fewer this time. These sublists need to be mergedin turn. Find the number of sublists at each phase. Find the total number of I/Os

Answers

(5)
Status NEW Posted 05 Jan 2018 10:01 AM My Price 7.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)