Skip to main content Accessibility help
×
Hostname: page-component-84b7d79bbc-2l2gl Total loading time: 0 Render date: 2024-07-27T20:27:33.992Z Has data issue: false hasContentIssue false

10 - Simulation and random-number generation

Published online by Cambridge University Press:  15 December 2009

David J. Lilja
Affiliation:
University of Minnesota
Get access

Summary

‘Do not plan a bridge's capacity by counting the number of people who swim across the river today.’

Unknown

Oftentimes we wish to predict some aspect of the performance of a computer system before it is actually built. Since the real machine does not yet exist, we obviously cannot measure its performance directly. Instead, the best we can do is to simulate the important aspects of the system. We then try to extrapolate from these simulations information about how the system will behave once it is actually built. Simulation may also be appropriate when we want to investigate some aspect of a system's performance that we cannot easily measure directly or indirectly.

When the system does not yet exist, there are many assumptions that must be made about the, perhaps not completely defined, system before it can be simulated. Simplifying assumptions are also necessary when simulating an existing system since it would most likely be impossible to simulate every small detail. If these assumptions are not realistic, the simulation results will not accurately predict how the system will ultimately perform.

Simulation has the advantage of being much less expensive than actually building a machine. Additionally, it is much more flexible than measuring the performance of a real machine. In a simulated system, we can quickly change important parameters that would be difficult or impossible to change in a real system, such as the size or associativity of the cache, for instance, to determine how the system's performance will be affected.

Type
Chapter
Information
Measuring Computer Performance
A Practitioner's Guide
, pp. 181 - 216
Publisher: Cambridge University Press
Print publication year: 2000

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×