Performance Calculation formula

上一篇 / 下一篇  2011-09-30 09:39:36 / 个人分类:性能测试


Performance Calculation

1.1Response Time

  
  

Summary

  
  

Definition

  
  

Query Response   Time                    

  
  

Any query required finish during 3 seconds.

  
  

Transfer time

  
  

From the customer request to the forward transactions to server time   is less than average 300 milliseconds

  
  

Display time

  
  

Request from the user   since the beginning of every page generated by the system will be fully   displayed in 10 seconds.

  
  

Data error response time

  
  

Any query required finish during 2 seconds. Because alert error   message by UI frame. verify.

  
  

Statistics response time

  
  

Monitoring response time and system load   cause by generating license code, and alert warning.

  
  

Delaycamouflage

  
  

When Display time more than three seconds, system require a friendly   alert like scroll bar.(EG : service offer filter on SOM system)

  
  

 

  
  

 

  
1.2Throughput
  

Summary

  
  

Definition

  
  

Business throughput

  
  

Request/secondspage number   value/secondsuser number/ day andbusiness process   quantity/hour.

  

F=VU * R / T (F is throughput value, VU is virtual user, R is request   number per VU, T is performance test time)

  
  

Network throughput

  
  

Byte /seconds

  
  

Interactive throughput

  
  

Transaction processing/seconds

  
  

 

  
  

 

  

 

Maximum data volume =log bit*180days +(others big data store) = average UI data byte * page number* operate number*180days+(N/A) = 500*50*10000*180 = 45GB

 

 

1.3    Reference Formula

1.3.1    Concurrency value

图片                               

1.3.2    Concurrency peak value:


图片

It is complying with poisson distribution theory.


图片

Transfer time on internetN1+N2+N3+N4

Web server process timeA1+A3

Data server process timeA2

Response time=N1+A1+N2+A2+N3+A3+N4

1.3.3    Throughput value

From business ways throughput value:

Request/secondspage number value/secondsuser number/ day and business process quantity /hour.

F=VU * R / T (F is throughput value, VU is virtual user, R is request number per VU, T is performance test time)

From net ways throughput value

Byte /seconds

From interactive way throughput value:

Transaction processing/seconds

1.3.4    Think Time

      In fact, user send request is not continuous. So when test system performance, we need set think time so that imitate true scene.

We apply R=T/Ts(R is request number by per user, T is time used value, Ts is think time value)

Step1 C value

C=n*L / T      F=R*C

Step 2 AVG throughput value

F=VU * R / T   R*C = VU * R / T

Step3 AVG request number/user

R=u*C*T/VU

Step4 Get Ts result

Ts=T/R

1.3.5    Time view

Software performance kinds angle of view 

User and develop view:

Page respond time is that user operated. (Page data appear time)

Administrator view:

Transaction process time


TAG:

陆小凤的个人空间 引用 删除 陆小凤   /   2011-09-30 09:42:25
自己空间也不可以引用么,shit
 

评分:0

我来说两句

日历

« 2024-05-20  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 1543
  • 日志数: 3
  • 建立时间: 2011-07-12
  • 更新时间: 2011-09-30

RSS订阅

Open Toolbar