Improving computer perfomance

Содержание

Слайд 2

Moore’s Law

Number of transistors on a microchip doubles every 18 months.
Predictions based

Moore’s Law Number of transistors on a microchip doubles every 18 months.
on Moore’s Law
Processing power (speed) doubles every 18 months.
Storage capacity of RAM and hard disk increases exponentially.
Computer price is decreasing

Слайд 3

Bottlenecks

Bottlenecks

Слайд 4

Bottlenecks

Bottlenecks

Слайд 5

Bottlenecks (critical element)

Bottleneck is a step within a series of steps that

Bottlenecks (critical element) Bottleneck is a step within a series of steps
takes the longest time to complete.
Time required to perform a task consisting of several steps may be delayed by the bottleneck step.

Слайд 6

Bottlenecks (continued)

Typical bottlenecks:
Cache
RAM
I/O (Information transfer, bus, hard drive)
Video card (particularly

Bottlenecks (continued) Typical bottlenecks: Cache RAM I/O (Information transfer, bus, hard drive)
for 3-D gaming)

Слайд 7

Bottlenecks (continued)

To speed up performance of a system:
Use profiling tools to measure

Bottlenecks (continued) To speed up performance of a system: Use profiling tools
each section’s time taken to complete to determine the bottleneck steps
Improve upon the bottleneck steps
VTune
CodeAnalyst
AQtime

Слайд 8

Vtune Performance Analyzer

Vtune Performance Analyzer

Слайд 9

Throughput and Latency

Throughput (пропускная способность) - the rate at which data flows

Throughput and Latency Throughput (пропускная способность) - the rate at which data
through the system
For example, a computer might execute 500 million instructions per second

Слайд 10

Throughput and Latency

Latency (access time) - time required to complete an individual

Throughput and Latency Latency (access time) - time required to complete an
operation
For example, it might take five seconds to launch an application, or two minutes to reboot the entire system.

Слайд 11

Latency

Image is a 1 MB file
Throughput 10 megabits per second
Latency to display

Latency Image is a 1 MB file Throughput 10 megabits per second
the image will be at least 0.8 seconds.

Слайд 12

Throughput and Latency

Throughput and Latency

Слайд 13

Your turn

If you are selecting a provider for your Web server's network

Your turn If you are selecting a provider for your Web server's
connection, you will be more concerned with ….?
A) Throughput
B) Latency

Слайд 14

Your turn

If you are a user of the same web server, you

Your turn If you are a user of the same web server,
will certainly be concerned with…. ?
A) Throughput
B) Latency

Слайд 15

Data Compression

Storing data in a format that requires less space than usual
When

Data Compression Storing data in a format that requires less space than
data is compressed, the file size shrinks.
Amount of shrinkage is referred as compression ratio

Слайд 16

Data Compression

Codec (Compressor and Decompressor) - hardware or software used to compress

Data Compression Codec (Compressor and Decompressor) - hardware or software used to compress and decompress
and decompress

Слайд 17

Disk Compression

Shrinks the files and places it in a special volume on

Disk Compression Shrinks the files and places it in a special volume
the hard disk.
Disk volume is a disk or an area of a disk which has a unique name and is treated as a hard disk.
Use storage space more efficiently

Слайд 18

Disk Compression

Disk Compression

Слайд 19

Disk Compression (continued)

Advantages :
Gain storage space without any additional hardware.
Under optimal circumstances,

Disk Compression (continued) Advantages : Gain storage space without any additional hardware.
the hard disk capacity is doubled.
Disadvantages:
File error in the compressed volume means the loss of all the data in that volume

Слайд 20

File Compression

Shrinks one or more into single smaller file.
Compressed file cannot be

File Compression Shrinks one or more into single smaller file. Compressed file
used until it is uncompressed.
WinZIP and WinRAR
Compressing a file is called Zipping
Uncompressing a file is known as Unzipping

Слайд 21

Text File Compression

Adaptive Pattern Substitution:
Designed for compressing text files.
Scans the entire

Text File Compression Adaptive Pattern Substitution: Designed for compressing text files. Scans
text,
Looks for patterns of two or more bytes,
Substitutes a byte pattern and make a dictionary entry for it.
Effectiveness depends on the content of the document

Слайд 22

Text File Compression

Another type of compression scans and finds repeated words.
Occurrences

Text File Compression Another type of compression scans and finds repeated words.
of the word is substituted with number and it acts as a pointer to the original occurrence

Слайд 23

Text File Compression (continued)

Text File Compression (continued)

Слайд 24

Graphics File Compression

Run Length Encoding is a technique that looks for patterns

Graphics File Compression Run Length Encoding is a technique that looks for
(i.e.)blocks of same color.
Graphics file with .tif ,.gif, .pcx and .jpg contain bitmap images that have already been stored in compressed formats
Graphics software used to open and save files contains codes required to compress and decompress them.

Слайд 25

Graphics File Compression (continued)

Compressed file Formats use
Lossy Compression
Lossless Compression

Graphics File Compression (continued) Compressed file Formats use Lossy Compression Lossless Compression

Слайд 26

Lossy compression

Throws away some of the original data for the graphic
JPEG(Joint

Lossy compression Throws away some of the original data for the graphic JPEG(Joint Photographic Experts Group)
Photographic Experts Group)

Слайд 27

Lossless compression

Lossless Compression provides a way to reconstitute all of the original

Lossless compression Lossless Compression provides a way to reconstitute all of the
data in a graphics file.

Слайд 28

Photoshop File (PSD.PDD)

A Photoshop file
File is both a vector image and also

Photoshop File (PSD.PDD) A Photoshop file File is both a vector image
a raster
Keep layers, layer masks and also the color like RGB
Max - 300,000 by 300,000 pixels per image

Слайд 29

BMP (BMP.RLE.DIB)

A raster type of file
Made up of pixels
Only uses RGB colors
Cannot

BMP (BMP.RLE.DIB) A raster type of file Made up of pixels Only
be used on WebPages
Have a large file size

Слайд 30

JPEG (JPG.JPEG.JPE)

Raster file
Can be used for WebPages
A small file that can be

JPEG (JPG.JPEG.JPE) Raster file Can be used for WebPages A small file
uploaded on WebPages and it will be good quality
Support lots of color like RGB and CMYK.

Слайд 31

Video File Compression

Used to display video on the PC by
Reducing number of

Video File Compression Used to display video on the PC by Reducing
frames displayed per second.
Number of frames per second affects the smoothness of the video.
High quality video displays 30 frames/sec and low quality 10-15/sec

Слайд 32

Video File Compression (continued)

- Reducing the size of the video widow.
Displaying an

Video File Compression (continued) - Reducing the size of the video widow.
image 1/4 of the screen requires only 1/4 of the data required to display on a screen.
Technique is termed Intra frame Compression
Coding only the changes that take place one frame to next
Difference between frames are evaluated and the data changed are stored.
Technique is termed motion compensation

Слайд 33

Motion compensation

Motion compensation
Имя файла: Improving-computer-perfomance-.pptx
Количество просмотров: 134
Количество скачиваний: 0