1.6 Performance

1.6 performance

Assessing the performance  of computers can be quite challenging. The scale and intricacy of modern software systems, together with the wide range of performance improvement techniques employed by hardware designers,have made performance assement much more difficult.

  When trying to choose among different computers, performance is an important attribute. Accurately measuring and comparing different computers is critical to purchasers  and therefore to designers. The people selling computers know this as well. Often, salespeople would like you to see their computer in the best possible light, whether or not this light accurately reflects the needs of the purchaser‘s application. Hence, understanding how best to measure performance and the limitations of performance measurements  is important in selecting a computer.

  The rest of this section describes different ways in which performance can be determined; then, we describe the metrics for measuring performance from the viewpoint of both a computer user and a designer. We also look at how these metrics are related and present the classical processor performance equation, which we will use throughout the text.

Defining performance

When we say one computer has better performance than another, what do we mean? Although this question might seem simple, an analogy with passenger airplanes shows how subtle the question of performance can be. Figure 1.14 lists some typical passenger airplanes, together with their cruising speed, range, and capacity. If we wanted to know which of the planes in this table had the best performance, we would first need to define performance. For example, considering different measures of performance,we see that a plane with the highest cruising speed was Concorde (retired from service in 2003), the plane with the longest range is the DC-8, and the plane with the largest capacity is the 747.

  Let‘s suppose we define performance in terms of speed. This still leaves two possible definitions. You could define the fastest plane as the one with the highest cruising speed, talking a single passenger from one point to another in the least time.  If you were interested in transporting 450 passengers from one point to another, however, the 747 would clearly be the fastest, as the last column of the figure show. Similarly,we can define computer performance in several different ways.

  If you were running a program on two different  desktop computers, you‘d say that the faster one is the desktop computer that gets the job done first. If you were running a datacenter that had several servers running jobs subnitted by many users, you‘d say that the faster computer was the one that completed the most jobs during a day. As  an individual computer user, you are interested in reducing respone time-- the time between the start and completion of a task---also referred to as execution time. Datacenter managers are often interested in increasing throughput or bandwidth--- the total amount of work done in a given time. Hence, in most cases, we will need different performance metrics as well as different sets of applications to benchmark personal mobile devices, which are more focused on response time, versus servers, which are more focused on throughput.

Measuring Performance

Time is the measure of computer performance: the computer that performs the same amount of work in the least time is the fastest. Program execution time

时间: 2024-10-18 09:47:01

1.6 Performance的相关文章

Performance Monitor4:监控SQL Server的IO性能

SQL Server的IO性能受到物理Disk的IO延迟和SQL Server内部执行的IO操作的影响.在监控Disk性能时,最主要的度量值(metric)是IO延迟,IO延迟是指从Application创建IO请求,到Disk完成IO请求的时间延迟.如果物理Disk不能及时完成IO请求,跟不上请求负载的速度,那么SQL Server就容易出现性能问题.SQL Server内部在执行一些特定的操作时,会和Disk做读写交互,这也会影响物理硬盘响应SQL Server的IO请求的性能,使查询进程处

Performance Monitor3:监控SQL Server的内存压力

SQL Server 使用的资源受到操作系统的调度,同时,SQL Server在内部实现了一套调度算法,用于管理从操作系统获取的资源,主要是对内存和CPU资源的调度.一个好的数据库系统,必定在内存中缓存足够多的信息,以减少从物理硬盘中读取数据的次数:如果内存是系统瓶颈,那么SQL Server一定会运行的非常慢.监控SQL Server的内存压力,需要从Widnows级别上,对内存使用的整体使用情况进行监控:从SQL Server级别上,监控SQL Server对内存资源的使用情况. 一,从Wi

Performance Monitor Usage5:View Report

1,当Data Collector Set 停止运行后,在Reports Catalog->User Defined->DataCollectorSet_PhysicalDisk 下,会有Data Collection文件,点击View->Performance Monitor,就能查看DataCollectorSet_PhysicalDisk 统计的Performance Counter 数据. 2,这实际上是一个log file,点击View Log Data 能够看到Data So

Improving performance – A full stack problem

Improving performance – A full stack problem March 6, 2015 by ronald 4 Comments Improving the performance of a web system involves knowledge of how the entire technology stack operates and interacts. There are many simple and common tips that can pro

linux Performance tools

废话不说首先看图,这是摘自以为大神的ppt,原文在这里 http://www.brendangregg.com/Slides/SCaLE_Linux_Performance2013.pdf 准备把上面列举出来的图片挨个写blog 分享一下,哦也 linux Performance tools,码迷,mamicode.com

Microsoft.SQL.Server2012.Performance.Tuning.Cookbook学习笔记(一)

一.Creating a trace or workload 注意点: In the Trace Properties dialog box, there is a checkbox option in the General tab with the caption Server processes trace data, to specify whethertrace data should be processed on the server. If not checked, trace

Fulltext Index Study4:management and performance

Only one full-text index is allowed per table. For a full-text index to be created on a table, the table must have a single, unique nonnull column. You can build a full-text index on columns of type char, varchar, nchar, nvarchar, text, ntext, image,

Performance Monitor Usage6:Side Effect

开启Performance Monitor 会不会对Server 性能有影响? 在一个Production Server上,运行一段时间之后,在Task Management 中长款Performance Monitor消耗的资源 引用<SQL Server 2012 实施与管理实战指南>来解释我的疑惑: 默认的Performance Monitor 是用来Real-Time 检测系统的,在现实的问题分析中,更多的是需要在问题发生之前,开启Performance Counter的数据收集,一段

超级简单实用的.NET性能调试工具-----ANTS Performance Profiler

艺术字做到后期,性能成了一个比较大的瓶颈,优化性能的过程中接触了一些.NET性能调试工具,最喜欢的是ANTS Performance Profiler,操作简单,功能也跟我期望的差不多. ANTS Performance Profiler是出自大名鼎鼎的Red Gate,很多人使用过的.NET Reflector就是出自此公司,该公司还出品其他产品,具体请戳http://www.red-gate.com/products/.ANTS Performance Profiler支持.NET平台所有语

[转]Disk Space Usage and SQL Server Performance

Disk Space Usage and SQL Server Performance By Gregory A. Larsen When you think of SQL Server performance components, you think of the usage of CPU, memory, and the I/O it takes to process a query. However, there is another component you should consi