Splunk AppDynamics

AppDynamics and batch processing (Springbatch) / performance degradation

Stijn_Schepers
Engager

Hi Community,

Has any-one experienced a serious performance degradation while monitoring batch processing with AppDynamics? The application we are monitoring is a java app (spring batch) runnning in WebSphere. The batches are being processed with multiple parrallel threads (>10). We see that with AppD monitoring the duration of the batch slows down with a factor 2. We are using appd 4.4.1 and are running in production mode (not in Development Level Monitoring).

This must be a config issue? Anyone had similar issues and how to solve it?

Thanks,
Stijn

Labels (1)
0 Karma

Peter_Holditch
Builder

Stjin,

That is definitely not expected!

How is the heap sizing?  If the JVM was operating close to heap capacity before you introduced the agent, maybe the additional agent memory footprint is now causing frequent Garbage collection?

If that's not the case, then we need to figure out what is consuming the time.  Can post some agent logs, either here or in a support ticket?

Warm regards,
Peter

0 Karma

Stijn_Schepers
Engager

Thanks. First time I've noticed a real difference but I have been mostly involved with online transactional processing (not batch driven processing). We do see a significant overhead of CPU utilisation from AppDynamics (between 5-10%). This drives CPU Busy Time to 100% resulting in batches running way slower. But CPU Busy could be also a symptom of something else. Opening a support ticket and will feed back the result to the community. Hopeful this is just an easy to solve config problem .

Thanks

Stijn

0 Karma

Stijn_Schepers
Engager

We have done more analysis and we can see that the overhead of AppD for this application is 10% CPU Time. The JAVA App runs in WebShere on a Virtual Machine on an ESX server. Quite classical setup. 

0 Karma

Stijn_Schepers
Engager

It seems that our selection of Service Endpoints had a dramatic impact on the performance of the application. So be careful when setting these in your instrumentation.... !

0 Karma

Peter_Holditch
Builder

This is a very surprising finding to me.

What was your SEP configuration before and after?

0 Karma

Stijn_Schepers
Engager

We had springbatch included. By disabling the spingbatch option, the duration of a springbatch run was faster and the cpu utilisation decreased. We had 10% overhead with this option which is not acceptable. Suprised as well as the documentation talks about a very slighy difference in CPU utilisation by defining end-points.

0 Karma

Stijn_Schepers
Engager

Configuration attached

0 Karma
Get Updates on the Splunk Community!

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...

New This Month in Splunk Observability Cloud - Synthetic Monitoring updates, UI ...

This month, we’re delivering several platform, infrastructure, application and digital experience monitoring ...