Threads to improve the performance of a sort algorithm

Assignment Help Basic Computer Science
Reference no: EM13887630

In previous assignments, you used threads to improve the performance of a sort algorithm. Threads were initially applied in order to achieve processing concurrency in order to reduce the time required to sort data. This week's readings highlighted various ways that I/O performance can impact the overall performance of an application or a system. The readings also identified specific principles that can be applied to improve the efficiency of I/O.

For this Assignment, you will consider the I/O performed in the threaded sort Assignment from Week 2 and how the I/O contributes to the performance of the threaded sort. Applying the principles identified in this week's reading, along with the concurrency control mechanisms from Week 3, you will revise the threaded sort application in an effort to improve the I/O performance in order to affect an overall performance improvement.

To prepare:

  • Evaluate the manner by which the threaded sort application performs I/O to retrieve the data to be sorted.
  • Propose a strategy to improve the performance by applying one or more of the principles to improve the efficiency of I/O that were identified in this week's reading.

By Day 7, implement your strategy by modifying your solution to the threaded sort Assignment from Week 2.

In addition, write a 2- to 3-page paper that evaluates how I/O performance impacts overall program performance. Make sure to include the following:

  • A description of your I/O strategy
  • An explanation on how you expected your strategy to improve performance
  • A summary of the actual change in performance observed when running the updated threaded sort

Submit a zip archive of your NetBeans project, implementing your strategy, to the Assignment Part 1 - Week 5submission link and your 2- to 3-page paper to the Assignment Turnitin Part 2 - Week 5 submission link.

Note: While both Part 1 and Part 2 submissions are required, you will only see your grade for this Assignment in the My Grades area for the Week 5 Assignment Part 1.

Reference no: EM13887630

Questions Cloud

Grade percentage and letter grade : 1. Show the calculate answer for the following problem. Show the answers for both arrays. Given the following array, INT[ ] myNumbers(7, 5)
Calculate length of air column that produces third resonance : A vibrating tuning fork is held above column of air. Reservoir is raised and lowered to change water level and length of column of air. Shortest length of air that produces resonance is .25.
Determining the strong-field zeeman splitting : Consider the (eight)  n  = 2  states, 12 / m1 ms}. Find the energy of each state, under strong-field Zeeman splitting.
How much time does it take to change your displacement : As you walk to class with a constant speed of 1.55m/s , you are moving in a direction that is 19.1?north of east. How much time does it take to change your displacement by 25.0m east?
Threads to improve the performance of a sort algorithm : In previous assignments, you used threads to improve the performance of a sort algorithm. Threads were initially applied in order to achieve processing concurrency in order to reduce the time required to sort data.
Prepare an income statement beginning with income : Prepare an income statement, beginning with income from continuing operations. Indicate the statement presentation of any item not included in (a) above.
Determine their itemized deduction for interest paid : Mr. and Mrs. Udall live in a home that Mrs. Udall inherited from her parents. This year, the Udalls took out a first mortgage on the home. Determine their itemized deduction for interest paid on the mortgage in each of the following cases: a. The int..
Compute the current and acid-test ratios at december : Compute the following ratios at December 31, 2014. Current, Acid-test, Receivables turnover and Inventory turnover.
Compute the income tax and medicare contribution tax : Ms. Imo, who is single, purchased her first home in 1991 for $85,000, and sold it in May 2000 for $178,500. She purchased her second home in July 2000 for $385,000 and sold it this year for $700,000. a. Compute Ms. Imo's taxable gain on the 2000 sale..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Prolog sudoku

Write a Prolog program to solve the 6 by 6 Sudoku puzzle distributed in class. Do not use a solution downloaded from the Internet or elsewhere. Write your own. It should be designed along these lines

  Explain the operation of the device from a physics perspec

Explain the operation of the device from a physics perspective and discuss the main features or specifications. Explain how the packaging, assembly, or housing makes the device appropriate for the unique environmental conditions. Be sure to provide a..

  Discuss the consumer choice of airlines

Discuss the consumer choice of airlines. Are Malaysian Airlines ticketsnormal (or luxury), or inferior goods

  What is the difference between println and printf

What is the difference between println and printf? Show an example of the usage of each.

  Describe your chosen architecture pattern

Describe your chosen architecture pattern. Explain why you selected the architecture of this case study.Explain how your chosen pattern could be applied to this case study.

  Write in hexadecimal representation

what instructions do they represent - Suppose both signed and unsigned cases. Write them in hexadecimal representation.

  Focus on the function and how it is secured by the use

Explain two or three uses for Microsoft Certificate Services. Focus on the function and how it is secured by the use of a PKI.

  What criteria must be met for a binomial probability

Describe and discuss the difference between the various types of discrete probability distributions. What criteria must be met for a binomial probability distribution? Which of the characteristics would be the most difficult to satisfy? Why?

  Design combinational circuit that compute 4-bit leading zero

Design a combinational circuit that computes the 4-bit leading zero detecting function. A leading zero detecting function counts the number of zeros in the most significant bits before the first '1'.

  What technologies should be used to secure these areas

On what areas should the security policy focus (physical security, data security, auditing, passwords, and so forth), and what technologies should be used to secure these areas?

  Cell e2 that will calculate gross pay.

Part 1: Write a formula as if it were in Cell E2 that will calculate gross pay. Write the formula so that it may be copied to the other employees without modification.

  The company uses several factors to set discounts

The company uses several factors to set discounts, as follows: A student who has taken a safe driver course earns a 5% discount A student with a clean record (no tickets or accidents in the last three years) earns a 5% discount

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