Show that details of a computing system can impact

Assignment Help Computer Engineering
Reference no: EM133257883

case: The purpose of this question is to show that details of a computing system can impact what algorithms we prefer to use. Consider a computing system where memory accesses to the cache are 20 times faster than random access memory (RAM) access. Now consider the memory resources that two algorithms require for processing an input of size N.

> Algorithm 1 requires fc1(N) = 10N cache accesses and fR1(N) = sqrt(N) RAM accesses.
> Algorithm 2 requires fc2(N) = 3N cache accesses and fR2(N) = N RAM accesses.

Algorithm 1 uses more cache accesses than Algorithm 2, but fewer RAM accesses.

Question 1: Because RAM is 20 times slower than cache, we can interpret RAM accesses as analogous to 20 cache accesses. Compute f1(N) = fc1(N)+20fR1(N) and f2(N) = fc2(N)+20fR2(N).

Question 2: For small values of N, f2(N) is faster (smaller); for large values of N, f1(N) is faster. Compute N* for which f1(N*) = f2(N*). You need not compute an actual number for N*; an expression such as N* + 100/sqrt(N*) = log2(N*) is fine.

Question 3: This question assumes that the cache is 20 times faster than RAM. What if it the cache is 10 times faster than RAM, 40 times faster? Discuss (there is no need for detailed calculations) whether the break-even point, N*, will become larger or smaller.

Reference no: EM133257883

Questions Cloud

Implement your function using a for-loop : BSMM 8740 University of Windsor Generate function that takes a positive integer and returns the sum of the cube of all integers from 1 up to that number
Compare and contrast the capabilities : CS 104 City School of Law, Quetta Compare and contrast the capabilities of each of the software found. use Cellebrite UFED for phone and printed circuit boards
The formula in getting the p-stat is tdist : The formula in getting the p-stat is TDIST (t-stat, degrees of freedom, tails).
What your position as a leader is on the Leadership Grid : For this leadership journal entry, determine and relate what your position as a leader is on the Leadership Grid (pp. 230-231)
Show that details of a computing system can impact : What if it the cache is 10 times faster than RAM, 40 times faster? Discuss (there is no need for detailed calculations) whether the break-even point, N
Defined a type synonym for fractional value : Defined a type synonym for fractional value - Write a function compute_lengths that takes a list of strings as input and returns a list in which each string
Identify the company and describe its industry : Identify the company and describe its Industry and its products or services. Describe the Change or changes that occurred
Discuss the statement and give your scientific opinion : Discuss the statement and give your scientific opinion with some of the details - It may include redundant information, such as length of the list
What should you place in the blank : CS 12S San Francisco State University What should you place in the blank within the following JavaScript code to assign an object with information

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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