0% found this document useful (0 votes)
19 views5 pages

Web Performance Modeling Workbook

This document contains information about performance models for web systems from the book "Capacity Planning for Web Performance". It includes models for the client side with and without a proxy cache, as well as a server side model. The models contain parameters and service demands for different components in the web system. The document also includes help information for using the models in the Excel workbook.

Uploaded by

cp3y2000-scribd
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views5 pages

Web Performance Modeling Workbook

This document contains information about performance models for web systems from the book "Capacity Planning for Web Performance". It includes models for the client side with and without a proxy cache, as well as a server side model. The models contain parameters and service demands for different components in the web system. The document also includes help information for using the models in the Excel workbook.

Uploaded by

cp3y2000-scribd
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd

Main

WebModels - Performance Models of Web Systems


this workbook comes with the book
"Capacity Planning for Web Performance: metrics, models, and methods"
by D. A. Menascé and V. A. F. Almeida
Prentice Hall, Upper Saddle River, NJ,1998



Client Side - No Proxy Cache

Client Side - Proxy Cache

Web Server Side

Help

Page 1
Client Side Model - No Proxy Case
This wokbook comes with the book "Capacity Planning for Web Performance",
by D. A. Menascé and V. A. F. Almeida, Prentice Hall, 1998.

Parameters: Service Demands (sec):


Lan Bandwidth (Mbps): 10 Client 3.33333
Max. LAN PDU (bytes): 1518 LAN #MACRO?
LAN Frame Overhead (bytes): 18 Router #MACRO?
Router Latency (microseconds/packet): 50 Outgoing Link 0.04185
Internet Link Bandwidth (Kbps) 56 Internet #MACRO?
Internet Round Trip Time (msec): 100 Incoming Link #MACRO?
Internet Data Transfer Rate (Kbytes/sec): 20
Browser Rate (HTTPops/sec): 0.3
Number of Clients: 150
Percent of Active Clients: 0.1
Average Size of HTTP requests (bytes): 100
Number of Classes of Documents: 4
Average Document Size (Kbytes): ###
Document Sizes per Class (Kbytes): 0.8 5.5 80 800
Percent of Documents per Class: 0.35 0.5 0.14 0.01
Client Side Model - Proxy Case
This wokbook comes with the book "Capacity Planning for Web Performance",
by D. A. Menascé and V. A. F. Almeida, Prentice Hall, 1998.

Parameters: Service Demands (sec):


Lan Bandwidth (Mbps): 10 Client 3.33333
Max. LAN PDU (bytes): 1518 LAN #MACRO?
LAN Frame Overhead (bytes): 18 Router #MACRO?
Router Latency (microseconds/packet): 50 Outgoing Link 0.02093
Internet Link Bandwidth (Kbps) 56 Internet #MACRO?
Internet Round Trip Time (msec): 100 Incoming Link #MACRO?
Internet Data Transfer Rate (Kbytes/sec): 20 Proxy CPU 0.00038
Browser Rate (HTTPops/sec): 0.3 Proxy Disk #MACRO?
Number of Clients: 150
Percent of Active Clients: 0.1
Average Size of HTTP requests (bytes): 100
Number of Classes of Documents: 4
Average Document Size (Kbytes): ###
Proxy Cache Hit Ratio (0..1) 0.5
Proxy CPU Time in case of Hit (sec) 0.00025
Proxy CPU Time in case of Miss (sec) 0.00050
Average Disk Service Time/Kbyte (msec) 6
Document Sizes per Class (Kbytes): 0.8 5.5 80 800
Percent of Documents per Class: 0.35 0.5 0.14 0.01
Server Side Model
This wokbook comes with the book "Capacity Planning for Web Performance",
by D. A. Menascé and V. A. F. Almeida, Prentice Hall, 1998.

Parameters:
Lan Bandwidth (Mbps): 10
Max. LAN PDU (bytes): 1518
LAN Frame Overhead (bytes): 18
Router Latency (microseconds/packet): 50
Internet Link Bandwidth (Kbps) 1500
Average Size of HTTP requests (bytes): 100
Number of Classes of Documents: 5
Average Document Size (Kbytes): #MACRO?
Total Arrival Rate of HTTP requests (req/sec): 8
CPU time per HHTP request (sec): 0.00645 0.00816 0.01955 0.14262 0.35
Average Disk Service Time/Kbyte (msec) 6
Number of Web Servers 2
Number of Disks at File Server 2 (use 0 if no file server is used)
CPU time at the File Server Request per Kbyte (sec): 0.00100
Row for Document Sizes 21
Document Sizes per Class (Kbytes): 5 10 38.5 350 1
Percent of Documents per Class: 0.25 0.3 0.19 0.01 0.25
Class Arrival Rates: 2.00 2.40 1.52 0.08 2.00

Classes:
Service Demands (sec): 1 2 3 4 5
LAN 0.0086 0.0170 0.0649 0.5882 0.00186
Router 0.0006 0.0007 0.0017 0.0124 0.00040
Outgoing Link 0.0269 0.0535 0.2055 1.8679 0.00554
Incoming Link 0.0016 0.0016 0.0016 0.0016 0.00156
Web Server CPU (per web server) 0.0032 0.0041 0.0098 0.0713 0.17500
Web Server Disk (per web server) 0.0000 0.0000 0.0000 0.0000 0.00000
File Server CPU 0.0050 0.0100 0.0385 0.3500 0.00100
File Server Disk (per disk) 0.0150 0.0300 0.1155 1.0500 0.00300
Help

Help for [Link]

1. From the Main Screen select any of the following three worksheets:
Client Side - No Proxy: computes the service demands for
the client side when there is no proxy cache.
Client Side - Proxy Cache: computes the service demands for
the client side when there is a proxy cache.
Server Side: computes the service demands for the Web server.
This worksheet requires that you click on the COMPUTE
DEMANDS button for the service demand matrix to be computed.
2. The service demands generated by this wokbook can be cut and pasted
into either [Link] and [Link], as appropriate, to solve
the performance model. You may want to keep this workbook and
any one of the other open simultaneously.
3. Make sure you pay attention to the units (sec, Mbps, bytes) for each
of the variables.

Tips:
a. Do not change the location of any of the cells. This may render your
workbook unusable or generate incorrect results.
b. Always work on a copy of the original workbook provided with the book.
You may open the original workbook and save it under
another name using the Save As option from the File menu.

Page 5

Common questions

Powered by AI

The presence of a proxy cache on the client side significantly improves performance by reducing the load on the network and the web server. With a 0.5 proxy cache hit ratio, the proxy cache handles a substantial amount of requests directly, which reduces the number of requests that need to be sent to the web server. It also decreases the internet bandwidth usage and improves response time by serving cached content locally with minimal delay, such as 0.00025 seconds of proxy CPU time in case of a hit .

The effectiveness of the proxy cache's CPU and disk service times is crucial in determining the efficiency of cache operations in scenarios of hits and misses. For hits, the CPU service time is 0.00025 seconds, whereas it is 0.00050 seconds for misses, implying that hits are processed almost twice as fast . The average disk service time per Kbyte is 6 milliseconds, impacting how quickly missed objects can be retrieved from the disk. The proxy's hit ratio of 0.5 indicates it successfully serves half of the requests, significantly reducing network and server load . These metrics show that optimizing both CPU and disk service times can enhance overall system efficiency, especially in different cache scenarios.

Document class distribution heavily influences system resource demands by dictating the average and peak loads processed by the network, CPU, and disk. Different classes, defined by varying document sizes, require different processing and transfer times. In the client-side proxy model, the distribution across four classes means different classes account for different proportions of traffic and processing time, with smaller files making up a larger volume of requests (0.8 Kbytes 35%, 5.5 Kbytes 50%). Larger documents like those in class 3 and 4 require significantly more resources per request. This impacts the total service demand experienced by web and file servers, determining how they allocate and prioritize resources to manage these diverse demands efficiently .

Web server CPU time allocation directly influences the throughput and latency of HTTP request processing. The source specifies CPU times ranging from 0.00645 to 0.35 seconds per HTTP request depending on the document class , highlighting how different request types can require varying amounts of processing power. A web server must efficiently allocate CPU time to handle incoming requests effectively; inadequate CPU allocation can lead to increased wait times and decreased system throughput . Thus, understanding and optimizing CPU time allocation is crucial for maintaining high performance levels under varying load conditions.

Router latency and link bandwidth allocations play critical roles in determining the efficiency of data transmission within web systems. Router latency, such as the 50 microseconds per packet specified, introduces a fixed delay every time data passes through, directly influencing the overall transmission time . Simultaneously, link bandwidth dictates the maximum rate at which data can be handled and transferred across networks; for instance, a 56 Kbps bandwidth limits throughput, slowing down the transmission rate for sizable data traffic . Together, these factors must be optimized to ensure transmission paths operate at maximum efficiency, balancing delay minimization and capacity maximization to facilitate fast and reliable data flows.

Web server and file server performance are interdependent when handling diverse document sizes due to shared responsibilities in request processing and data retrieval. Web servers process incoming HTTP requests, where CPU allocation varies by document class size, while file servers manage storage and retrieval tasks with service times based on document sizes. For instance, CPU times per HTTP request vary between 0.00645 to 0.35 seconds on the web server, while the file server processes requests per Kbyte at a rate of 0.001 seconds , necessitating efficient synchronization between these servers. Coordination between them is essential to manage load balancing, ensuring efficient handling of large documents without bottlenecking the system.

Network latency affects client-side applications by determining the speed and efficiency with which data is transmitted. Without proxy caching, each data request must travel the full path to the web server, experiencing significant delays due to network round trips, exacerbated by factors such as Internet round trip times of 100 milliseconds . With proxy caching, a significant amount of this latency is mitigated as frequently accessed data is stored closer to the client, drastically reducing the delay experienced in fulfilling requests. This highlights the substantial advantage proxy caching provides in improving data retrieval times by minimizing dependency on network latency and the remote server response times.

The book recommends configuring models by following specific steps to ensure the accuracy of performance assessments. These include using provided worksheets to compute service demands for different system configurations (client-side with and without proxy cache, and server-side) and cutting and pasting these demands into performance models such as OpenQN.XLS or ClosedQN.XLS. It emphasizes maintaining correct units for variables (e.g., sec, Mbps, bytes) and avoiding changes to cell locations within the workbook to prevent errors . Additionally, users should work on copies of the original workbook to preserve the integrity of the model .

Document size variance impacts web server performance by altering the CPU and disk service demands. Larger documents require more time for both CPU processing and data transfer over networks, resulting in increased latency. For instance, the server-side model lists CPU times for different document classes ranging dramatically from 0.00645 to 0.35 seconds per request . This variance necessitates careful capacity planning to ensure sufficient resources are allocated for larger documents to prevent bottlenecks, and highlights the importance of understanding the distribution of document sizes within the system .

LAN bandwidth plays a critical role in determining how quickly data can be transferred across a network, directly affecting web performance. The performance model specifies a LAN bandwidth of 10 Mbps, which influences the service demand on the LAN, such as in the form of latency and throughput . Faster LAN bandwidth can decrease the time data packets spend in transit, thereby improving the system's responsiveness and reducing overall latency for data retrieval and requests processing .

You might also like