perfMon Metrics Collector explanation needed

542 views
Skip to first unread message

boi...@gmail.com

unread,
Jan 22, 2014, 8:43:55 AM1/22/14
to jmeter-...@googlegroups.com
Hello,

I am quite new to jmeter. As part of my MSc thesis i have set up an ubuntu server with tomcat. I Use jmeter from my pc and using perfMon Metrics Collector i try to measure CPU and Ram usage. I attach the results i take. Here is a sample:

timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,bytes,grpThreads,allThreads,Latency
1390397410095,4029,195.251.226.231 Memory,,,,,true,0,0,0,0
1390397410096,28,195.251.226.231 CPU,,,,,true,0,0,0,0
1390397411096,4029,195.251.226.231 Memory,,,,,true,0,0,0,0
1390397411096,0,195.251.226.231 CPU,,,,,true,0,0,0,0

I cannot understand how to read the results. I know that cpu usage is % and RAM in MB but where in theee lines are the actual results nad how can i translate them to actual CPU and RAM usage? At first i thought that for cpu %usage is the second value but if you see the attached file it also has measurements like 245 etc.

Thanks in advance for your time 
results.txt

Andrey Pohilko

unread,
Jan 23, 2014, 10:15:55 AM1/23/14
to jmeter-...@googlegroups.com, boi...@gmail.com
Hi,

You should read some previous messages, it may help you: https://groups.google.com/forum/#!searchin/jmeter-plugins/multiplied$20by$201000

среда, 22 января 2014 г., 17:43:55 UTC+4 пользователь boi...@gmail.com написал:

boi...@gmail.com

unread,
Jan 24, 2014, 8:27:29 AM1/24/14
to jmeter-...@googlegroups.com, boi...@gmail.com
Hi Andrey and thanks for your time. 

I figured it out eventually, and sory for bothering before. Can you please tell me if you know:
I need this data set :Users, Cpu, Ram. As far as I know number of users is not saved in SCV, so I do the test like this. I start 100 threads hold the load for 1 sec and do the measurement. Then 110 and so on. For 100 threads it writes the results I attach (100.txt). I did this a couple of times and i gathered for cpu some results bit they do not make sense to me. How can cpu usage for bigger number of users be smaller than less number of users? Am I doing something wrong?


users.xlsx
100.txt

Andrey Pohilko

unread,
Jan 26, 2014, 4:34:50 AM1/26/14
to jmeter-...@googlegroups.com, boi...@gmail.com
Hi,

The better way to know your system under test is like this:
1. Add Active Threads Over Time listener
2. Add PerfMon listener and set CPU and RAM to be collected
3. Add Composite Graph listener
4. Set up threads to increase slightly over time. Let the test last for 20 minutes.
5.Start the test
6. Go to Composite graph and add Active Threads, CPU and RAM

Then you'll see how those parameters are related. For example, the CPU may first increase, then become steady, and then decrease. This is well-known effect when on overloaded system CPU usage may decrease.

пятница, 24 января 2014 г., 17:27:29 UTC+4 пользователь boi...@gmail.com написал:

boi...@gmail.com

unread,
Jan 28, 2014, 6:22:39 AM1/28/14
to jmeter-...@googlegroups.com, boi...@gmail.com
You sir are a life savior. 
Thank you very much
Reply all
Reply to author
Forward
0 new messages