from here :
performance tuning performance tuning for jboss or wildfly
here summary :
The fine-tuned configurations that we recommend for optimizing the performance of the JBoss or Wildfly application server are:
- Recommended JVM Settings
- Open Files
- Maximum User Processes
- Connection Backlog
- Set TCP_KEEPALIVE_INTERVAL
- Set TCP_KEEPALIVE_PROBES
- Allocate Huge Pages for Java Virtual Machine (JVM) Heap
- Increase Linux kernel Entropy
- Test Entropy