subject
Engineering, 03.12.2019 19:31 Deascry

We will be using a cache simulator for this homework - we will go over the simulator in lab 12 on monday. for this homework we’re going to look at sort. cc, which is provided in the files on blackboard (or i261/cache). the program uses either exchange sort or quicksort to sort a list of 10,000 random numbers. the simple version of quicksort assumes that there are no repeated numbers in the list. the list is therefore initialized with the numbers 0 to , and is then scrambled by repeatedly swapping items. read through the source code and check that you understand what the program is doing. now instrument the sorting functions (add calls to inst r and inst w) to identify all references to list. you can also look at histogram. cc to see how the addresses for the data values were sent to the simulator. starting with exchange sort, run the code through the cache simulator (without the graphical interface) and experiment with different direct mapped caches: try cache sizes in the range 4 kbytes to 64 kbytes and block sizes in the range one to eight words. in each case, record the cache access statistics and attempt to understand the observed miss rates. note that exchange sorting a list of 10,000 items takes some time: you? ll probably want to interrupt each simulation (by pressing ctrl-c) after, say, 100,000 accesses, and record the statistics up to that point. next, edit sort. cc to enable quicksort in place of exchange sort, recompile and repeat the above experiments. submit a report showing the instrumented sort. cc code and detailing the results of your experiments (tables, graphs) for each cache size, block size, and sorting algorithm. you should be able to discuss the miss rates that you were seeing and comment on any trends that you are able to discern.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit.explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
question
Engineering, 04.07.2019 18:10
Awall of 0.5m thickness is to be constructed from a material which has average thermal conductivity of 1.4 w/mk. the wall is to be insulated with a material having an average thermal conductivity of 0.35 w/mk so that heat loss per square meter shall not exceed 1450 w. assume inner wall surface temperature of 1200°c and outer surface temperature of the insulation to be 15°c. calculate the thickness of insulation required.
Answers: 3
question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
question
Engineering, 04.07.2019 19:10
The proportional limit is always greater than the yield strength for a material. a)-trune b)- false
Answers: 3
You know the right answer?
We will be using a cache simulator for this homework - we will go over the simulator in lab 12 on mo...
Questions
question
Mathematics, 06.11.2020 20:50
question
Mathematics, 06.11.2020 20:50
question
Business, 06.11.2020 20:50
question
Mathematics, 06.11.2020 20:50
question
Mathematics, 06.11.2020 20:50
question
Mathematics, 06.11.2020 20:50