java ee - JBOSS wildfly 10 Performance Tuning using Jmeter -


this regarding use of jmeter tool test rest api , check throughput.

i pretty new using jmeter tool.

coming application, simple rest api converts xls file json formatted data based on few conditions. run on server(wildfly v10).

configuration in jmeter:
number of threads: 1000
ramp-up time: 10
loop count: 1

the throughput remains constant 10-12 hits per sec.

i did few configuration settings jboss wildfly server 10 in standalone.xml file different subsystems shown below:

1)  configuring undertow subsystem: modified default max http connections 10 100 till 1000 <http-listener name="default" **max-connections="1000"** socket-binding="http" redirect-socket="https" enable-http2="true" buffer-pipelined-data="true" />  2)  setting io subsystem: configured io-threads , max-threads 10 100 till 1000 <worker name="default" **io-threads="100" task-max-threads="100"** />  3)  configured standalone.conf file java vm options old: java_opts="-xms64m -xmx512m -xx:metaspacesize=96m -xx:maxmetaspacesize=256m -djava.net.preferipv4stack=true" new: **java_opts="-xms1024m -xmx1024m -xx:maxpermsize=256m** -xx:newratio=2 -xx:permsize=64m -djava.net.preferipv4stack=true"  4)  configuring infinispan subsystem: has <cache-container> configure thread pool execute in thread subsystems. governs allocation , execution of runnable tasks in replication queue.  5)  tried running application on remote system having **64 gb ram** , 3rd configuration mentioned above.  6)  configuring high value core threads in jca subsystem **<core-threads count="50"/>** in subsystem urn:jboss:domain:jca:4.0 

all these configuration didnt me increase throughput.

can please me in understanding has modified or configured increase throughput of server when tested through jmeter.

there many possible reasons, i'll list few common recommendations:

  1. your machine running jboss gets overloaded , cannot respond faster due banal lack of cpu or free ram or intensive swapping or whatever. make sure monitor application under test resources while test running, not allow correlate increasing load increasing utilisation of system resources, able tell if slow response times connected lack of hardware capacity. can use jmeter perfmon plugin integrate monitoring jmeter test, check out how monitor server health & performance during jmeter load test more details on plugin installation , usage
  2. jmeter load generator can suffer same same impact on throughput metric: if jmeter not able send requests fast enough application under test won't able reply faster in situations jmeter bottleneck make sure following jmeter best practices , jmeter has enough headroom operate hardware resources perspective. apply same monitoring jmeter load generator(s) , keep eye on cpu, ram, network, disk usage, when of metrics exceeds 90% threshold - maximum load can achieve single jmeter instance.
  3. re-run load test time having profiler tool telemetry (for example jprofiler or yourkit), allow see resource , time consuming methods identify part(s) of code need optimisation.

Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -