To calculate ThinkTime using Little's Law-

131 views
Skip to first unread message

Yathish Kumar

unread,
Oct 13, 2015, 11:12:58 AM10/13/15
to LR-Loa...@googlegroups.com

All,

 

I have following information,

1). Transaction Response Time

2). No. of users

 

By using the above information,

a). how can we derive ThinkTime and

b). how we can validate the defined Response time is acceptable.

 

EX -


Inline image 1 


I tried with Little’s law [ NofUsers=Arrival Rate * (RT + TT) ] but didn’t successful in calculating the think time.  Let me know if my approach is wrong. 

 

Inline image 2

 

Kindly help me on this.

 

Many Thanks,

Yathish

Sagar Aggarwal

unread,
Oct 14, 2015, 10:39:49 AM10/14/15
to LR-Loa...@googlegroups.com

Your approach looks faulty here to me.

Why do you need to calculate TT. It's upto you to decide what do you want to keep in the script. Normally we calculate pacing. Anyways, you need Vusers and TPS to calculate pacing.

RT, that you mention looks like a SLA to me. How did you get this RT information??

Regards,
Sagar Aggarwal
+917875624650

--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunne...@googlegroups.com.
To post to this group, send email to LR-Loa...@googlegroups.com.
Visit this group at http://groups.google.com/group/LR-LoadRunner.
To view this discussion on the web visit https://groups.google.com/d/msgid/LR-LoadRunner/CAJiB3QhMdp2%2BbXTr_xv%3DJF%2BijZC5gTtHKujJX5PuD%3Dq4VBGb1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Mital Majmundar

unread,
Oct 15, 2015, 7:19:11 AM10/15/15
to LR-Loa...@googlegroups.com

Just use the basic formula.
3600/(no of transactions per vuser)

You need to get the transactions to be achieved and then divide that for all vuser.

Also instead of gpong for think time calculation, just do the above and select the third option from run time setting and make think time a fixed global value after every transaction.

--

Yathish Kumar

unread,
Oct 16, 2015, 9:13:34 AM10/16/15
to LR-Loa...@googlegroups.com

Thanks for all your responses.

My question itself was wrong and with invalid # of input data’s.

 

I was trying to Modelling the system performance using Fundamental laws – Littles Law.

I was Developing the Analytical Models/capacity model  for the application wrt using Workload Models, Universal scalability law, Response time theory, Queuing theory etc..

Achieved around 50% using the below formulas,

 

•Uavg – Average System Utilization

•X – System Throughput

•St – Service Time

•M – Number of Servers

 

Let’s take a look at all of the equations -

•Uavg = [ X * St ] / M

•Rt = St / [ 1 –  Uavg * M]

•Rt = Qt +

•Qt = Rt – St

•Q = X * Qt

 

Once again thanks !!

 

Regards,

Yathish


Ruslan Kholyavkin

unread,
Oct 16, 2015, 9:02:35 PM10/16/15
to LR-Loa...@googlegroups.com
Hi Yathish
It very good that you try to modeling  workload based on multiple laws ,but in order for you to do it -  you are missing big part of the puzzle.
Inside one email respond it is  hard  give you answer to your question. I will encourage you to read a book " Solving Enterprise Application Performance Puzzle - Queuing Model to the Rescue"  it will give you much more details in order to accomplish what you try to accomplish. Basically you need to understand first your hardware and network topology . Run single user test figure out your best transaction time - assuming that  external device like database is not becoming  bottleneck itself . same  thing for internal for example does your application are multiple threaded or single threaded and so on ... I think I  can go on and on about precondition you should have before you can  apply laws .For you will be much better to read the book in mention and come up with our own way of doing it

Thanks,
Ruslan



Yathish Kumar

unread,
Oct 18, 2015, 12:13:33 PM10/18/15
to LR-Loa...@googlegroups.com

Thanks Ruslan for your reply. Sure will read that book n it will be more helpful.

Reply all
Reply to author
Forward
0 new messages