Spikes and missing data

52 views
Skip to first unread message

Jamie Tabone

unread,
Mar 3, 2015, 11:04:45 AM3/3/15
to gat...@googlegroups.com

Hi, 

I have the following graph generated after making a load test with a high level number of users (going from 1 to 800 sessions per second). The problem is that at some points when I hover over the graph, there is no visible response time data. Is this a problem with Gatling, or maybe I have to set some specific config setting?




Thank you.

Jamie Tabone

Stéphane LANDELLE

unread,
Mar 3, 2015, 11:10:08 AM3/3/15
to gat...@googlegroups.com
Really looks like Java GC pauses. Have you checked your server?

Stéphane Landelle
Lead developer


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jamie Tabone

unread,
Mar 3, 2015, 12:16:58 PM3/3/15
to gat...@googlegroups.com, Chris Porter
Do you mean the server which is generating the load? And if yes, what should I monitor?

Thank you.

Jamie

slan...@gatling.io

unread,
Mar 3, 2015, 12:42:08 PM3/3/15
to gat...@googlegroups.com
First suspect should be your SUT, not Gatling. If Java based, get yourself a profiler.


Jamie Tabone

unread,
Mar 3, 2015, 12:50:33 PM3/3/15
to gat...@googlegroups.com
No it is not Java based. In fact that test is part of a benchmark study on Erlang based web application using Cowboy (Erlang web server). 

I don't know how I can tackle the source of the problem. 

Stéphane LANDELLE

unread,
Mar 3, 2015, 12:57:01 PM3/3/15
to gat...@googlegroups.com
So you're running 120k concurrent users??? What are you doing exactly?

You can also check Gatling's GC activity with something like VisualVM or Yourkit. If you indeed have too much full GC, you should consider changing the GC option, e.g using G1 GC instead. Gatling's current JVM options target JDK7 and G1 is better with JDK8. With G1, you trade 10% throughput for pauseless GC.

Stéphane Landelle
Lead developer


Jamie Tabone

unread,
Mar 3, 2015, 1:14:57 PM3/3/15
to gat...@googlegroups.com
I actually have something as follows:

constantUsersPerSec(1) over (60),
constantUsersPerSec(30) over (60),
constantUsersPerSec(60) over (60),
constantUsersPerSec(90) over (60),
constantUsersPerSec(120) over (60),
.
.
.
constantUsersPerSec(840) over (60),
constantUsersPerSec(870) over (60),

Now, I am looking at the resource usage of the server and I am seeing that the CPU usage goes from 162% (I have 2 cores) and then stays for 10 seconds 0% and go back to 170%. I think that the problem is that I went for a huge load and the server is overloaded for those seconds and no requests are being closed served in those particular seconds so Gatling would have no data to display, right?

Thank you.

Jamie 
Reply all
Reply to author
Forward
0 new messages