Wednesday, November 5, 2014

Difference between Response time & Throughput

Difference between Response time & Throughput

Response time: This is the time difference between submission of a request until the response begins to be received. The response time should be as low as possible so that a large number of interactive users receive an acceptable response time.

Throughput:The number of processes that are completed per unit time is called the throughput.

It is desirable to maximize CPU utilization and throughput and to minimize turnaround time and response time.

An example to further clarify the difference between response time and throughput

Take an example of disk performance, a common measure of disk performance is the response time. This measures the elapsed time from when a command is issued to the disk drive to when data transfer is completed and the disk drive signals completion of the command. Response time is basically a measure of how fast a drive is in servicing a request.

Another measurement of drive performance is the throughput or its capacity to handle work. Throughput is commonly measured in one of the two ways: the number of I/Os per second or the amount of data transferred per second.

Cache and Memory Hierarchy Design: A Performance-directed Approach By Steven A. Przybylski and Operating Systems By Sathe